{"$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":"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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"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":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"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":"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":"check-dependency-security.simple_marker_overlap (cyclomatic 137): check-dependency-security.simple_marker_overlap has cyclomatic complexity 137 (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":"scripts/check-dependency-security.py"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bd3f3cd7d0a567f2c4d0e72620238df4a21880dc6cdf27576838d525d411a8"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponsesWebSocketAccumulator.add_event (cyclomatic 89): ResponsesWebSocketAccumulator.add_event has cyclomatic complexity 89 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_websocket/_accumulator.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"320abe04342822c2451c5030dda06772d1744d1bc8db74a6fcb18ed9675d335e"}},{"ruleId":"D1","level":"warning","message":{"text":"responses_tool_runner._validate_server_item (cyclomatic 83): responses_tool_runner._validate_server_item has cyclomatic complexity 83 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fca2071ec5600111276af8a3d2f2eb548009efb634a23925d78623e67c62c0"}},{"ruleId":"D1","level":"warning","message":{"text":"_Run.__init__ (cyclomatic 80): _Run.__init__ has cyclomatic complexity 80 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f08343fbd951b0ec44597b6814c907720a8f54d785c5cf300548e884586dde"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponsesToolRunner.iterate (cyclomatic 74): ResponsesToolRunner.iterate has cyclomatic complexity 74 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":1912}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee95370ca8835c4de8b0d06ff10ae765f3f0b78e2ad40f638c82f6ed11120c70"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncResponsesToolRunner.iterate (cyclomatic 71): AsyncResponsesToolRunner.iterate has cyclomatic complexity 71 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":2390}}}],"partialFingerprints":{"codehealthFindingId/v1":"035aa69ce67f424725508d25802a0f0441816b9b13dff842f5f8eeb5ca9d3696"}},{"ruleId":"D1","level":"warning","message":{"text":"responses_tool_runner._history_calls (cyclomatic 64): responses_tool_runner._history_calls has cyclomatic complexity 64 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"839db46b98c4099a64d30f09577ca714f7f63083071672b6996a9913e2ae3838"}},{"ruleId":"D1","level":"warning","message":{"text":"check-dependency-security.preserves_requirement_source_markers (cyclomatic 55): check-dependency-security.preserves_requirement_source_markers has cyclomatic complexity 55 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"453ef6f5cae80648aad48ec26f4dbc1fbb4286667bce5dd0738b559da3f1b92f"}},{"ruleId":"D1","level":"warning","message":{"text":"_client_auth.synccopy (cyclomatic 55): _client_auth.synccopy has cyclomatic complexity 55 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (_client_auth.asynccopy) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_client_auth.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"20297f2f4f4d5e99e337c92e1fcc3a73646876604bba13df06cf7601b531447a"}},{"ruleId":"D1","level":"warning","message":{"text":"_client_auth.asynccopy (cyclomatic 55): _client_auth.asynccopy has cyclomatic complexity 55 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (_client_auth.synccopy) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_client_auth.py"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9c09dca0b9a1bce651dd0a22048ef2fe88eeaca4b17ea3a22c837eec451abc"}},{"ruleId":"D1","level":"warning","message":{"text":"_Run.validate (cyclomatic 51): _Run.validate has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff1341cb7748f825a2c94915f0bdae1b0c3b4a5cbde987928966c759f317ef4"}},{"ruleId":"D1","level":"warning","message":{"text":"bedrock.bedrock (cyclomatic 44): bedrock.bedrock has cyclomatic complexity 44 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/providers/bedrock.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b33d273754e0a8b4f59e4ae78e2dc05c9678dde7aca484c8ed572a0d3154596"}},{"ruleId":"D1","level":"warning","message":{"text":"_client_auth.sync__init__ (cyclomatic 43): _client_auth.sync__init__ has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (_client_auth.async__init__) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_client_auth.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a187148a599717b0a55190dce1ae0e8298aa03648c471142774f045dd5731602"}},{"ruleId":"D1","level":"warning","message":{"text":"_client_auth.async__init__ (cyclomatic 43): _client_auth.async__init__ has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (_client_auth.sync__init__) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_client_auth.py"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"a061222e0e8067741f4051cfb32ff68d0d137b713d6d88a89bc02fb8d4048014"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponseStreamState.accumulate_event (cyclomatic 41): ResponseStreamState.accumulate_event has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/responses/_responses.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a1ca57d5ad669dbfd75953dc5094a9afa02f45d4c7244fcc722fd02cfb3504"}},{"ruleId":"D1","level":"warning","message":{"text":"check-dependency-security.published_reachability (cyclomatic 40): check-dependency-security.published_reachability 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":"scripts/check-dependency-security.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5602245eb9d1af4b7b5180b1b0c44b8d09e9a6e9381873674c73650191fe92"}},{"ruleId":"D1","level":"warning","message":{"text":"check-dependency-security.marker_options (cyclomatic 39): check-dependency-security.marker_options has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed63e9778d2d935c2032305a67e3b1a9cc6ebafdf75546aa486fb01303d6823"}},{"ruleId":"D1","level":"warning","message":{"text":"browser._read_result (cyclomatic 39): browser._read_result has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81f3a78f5a9bc0929251d262418ecb0793b309d260b6c21ff35700f15a6e789"}},{"ruleId":"D1","level":"warning","message":{"text":"AssistantEventHandler._emit_sse_event (cyclomatic 39): AssistantEventHandler._emit_sse_event has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (AsyncAssistantEventHandler._emit_sse_event) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/_assistants.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80ef9f654908fd92bca37eb5c3d7075f4a2b3769180cc6dbb326c8f68b3afc5"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncAssistantEventHandler._emit_sse_event (cyclomatic 39): AsyncAssistantEventHandler._emit_sse_event has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (AssistantEventHandler._emit_sse_event) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/_assistants.py"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0fe344d2292f06464f115e47eb9cc216beb5b0e232bca23414712a30299e5a"}},{"ruleId":"D1","level":"warning","message":{"text":"_models.construct_type (cyclomatic 37): _models.construct_type has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_models.py"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c50c723c15368535c4e71a5c313dd4101ca159db0dce697e9a587c2b2a028c"}},{"ruleId":"D1","level":"warning","message":{"text":"BrowserToolset._dispatch (cyclomatic 37): BrowserToolset._dispatch has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (AsyncBrowserToolset._dispatch) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"096d9d082fbcbdcaaccf01c726dc22621ea72606edeefb3a0bc5fd95c3561cdc"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncBrowserToolset._dispatch (cyclomatic 37): AsyncBrowserToolset._dispatch has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (BrowserToolset._dispatch) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":1718}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcc7ae7bc2435171e6f21748cd45dbebc2d41d0f41c9c68ccca5b84f634021b"}},{"ruleId":"D1","level":"warning","message":{"text":"check-dependency-security.preserves_published_security_bound (cyclomatic 35): check-dependency-security.preserves_published_security_bound has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87237d82857600a599647974217aeaaa18e0b1285511dc65a2e48bdbb4078bc"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponsesWebSocketAccumulator._add_rich_event (cyclomatic 33): ResponsesWebSocketAccumulator._add_rich_event has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_websocket/_accumulator.py"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5ddc93f71d3d4f111eafa1a8c3b22e0c5c9e80aa913217aa543caa46144504"}},{"ruleId":"D1","level":"warning","message":{"text":"BedrockOpenAI.copy (cyclomatic 32): BedrockOpenAI.copy has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (AsyncBedrockOpenAI.copy) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/bedrock.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"e734396bc5de7ab697325f2dba2a2be665430deebfa7a5a6d321356dd99fa068"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncBedrockOpenAI.copy (cyclomatic 32): AsyncBedrockOpenAI.copy has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (BedrockOpenAI.copy) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/bedrock.py"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b0d8698d3b32642339b5fc0a25588c6cd67159ae861969572b2746ec827cd7"}},{"ruleId":"D1","level":"warning","message":{"text":"browser._arguments (cyclomatic 32): browser._arguments has cyclomatic complexity 32 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b846e833e020f5ea206ad82dd94c094f36d1f72c8bc026bf93d364a80fea0589"}},{"ruleId":"D1","level":"warning","message":{"text":"responses_tool_runner._supplied_result (cyclomatic 32): responses_tool_runner._supplied_result has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da5bdd9d322c2054a462d4ac50304f7b2c6f133334dd785130f7ec6bd6dcc8d"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseAPIResponse._parse (cyclomatic 31): BaseAPIResponse._parse has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_response.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad9118b43741aed6c1b64e63607ac1d031827aeb7fcdcb80105b21edf7ce52a"}},{"ruleId":"D1","level":"warning","message":{"text":"_BrowserBase.__init__ (cyclomatic 31): _BrowserBase.__init__ has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"839c8dbfdc0f111ac17b5e9b7dbcd3404e693b84b9058fa58c67c5573c8ae167"}},{"ruleId":"D1","level":"warning","message":{"text":"check-dependency-security.uncovered_marker_fragments (cyclomatic 30): check-dependency-security.uncovered_marker_fragments has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68c30033eee4225795dea6d6beb57781078c55c93c79c18183139c7b75206b0"}},{"ruleId":"D1","level":"warning","message":{"text":"LegacyAPIResponse._parse (cyclomatic 30): LegacyAPIResponse._parse has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_legacy_response.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e110721cf3fce8dc0fc88be83bc0f0e24405d5874f40f809a2c7a967d47087a"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatCompletionStreamState._accumulate_chunk (cyclomatic 30): ChatCompletionStreamState._accumulate_chunk has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/chat/_completions.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb9453bd97bcde05a8014031be917e64caa241578bb222b22266b49f9ea4dc6"}},{"ruleId":"D1","level":"warning","message":{"text":"bedrock._copy_configuration (cyclomatic 29): bedrock._copy_configuration has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/bedrock.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6529bca105ca9de4a250c1d443a9bb4d41624fc4053f4681e41c4b58240ca0"}},{"ruleId":"D1","level":"warning","message":{"text":"browser._observed_state (cyclomatic 29): browser._observed_state has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"225003309a00e639ab0016777a38f42be3c6f4777720bc6de70b76c955e73dcf"}},{"ruleId":"D1","level":"warning","message":{"text":"check-dependency-security.marker_version_bounds (cyclomatic 27): check-dependency-security.marker_version_bounds has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1840a7355aa3040eeca75e214fb614d86b698d59611776e119f0382c2b0e94c"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponsesWebSocketAccumulator.detailed_snapshot (cyclomatic 27): ResponsesWebSocketAccumulator.detailed_snapshot has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_websocket/_accumulator.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fcbb6ed407070b6c73e407023e1a8666df924284b8d488769727f347b5a8a4"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseClient._build_request (cyclomatic 26): BaseClient._build_request has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"a193afe02a5324b4a3bd8d50de03ef311d795db396b6b2372ace216c94a3edb7"}},{"ruleId":"D1","level":"warning","message":{"text":"WebSocketConnectionBase._reconnect (cyclomatic 25): WebSocketConnectionBase._reconnect has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_websocket_connection.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09cd8009d35b6efe0cb2374b920a9c54aed5b5d73fccd649abe8e0f50a7c3a3"}},{"ruleId":"D1","level":"warning","message":{"text":"browser._state (cyclomatic 25): browser._state has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a93c9165bd70130692fcb9b39a30e11d11f4f521af1954ae197aeb95fc15d2"}},{"ruleId":"D1","level":"warning","message":{"text":"ComputerToolset._dispatch (cyclomatic 25): ComputerToolset._dispatch has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (AsyncComputerToolset._dispatch) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/computer.py"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"50af5e7c019de353dcb9e96c8425fb903295a4bb073c40016f37bb616e8ee116"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncComputerToolset._dispatch (cyclomatic 25): AsyncComputerToolset._dispatch has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ComputerToolset._dispatch) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/computer.py"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6414332084a379d4a8a2860abe74a4a3dcff5373459c2c5e3336ff46cf3f0a3"}},{"ruleId":"D1","level":"warning","message":{"text":"check-dependency-security.replacement_contexts (cyclomatic 24): check-dependency-security.replacement_contexts has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"6550aefc208cca96d8327629f60c42a6f1b2d00be9f499f81f5d21fd0019a7ef"}},{"ruleId":"D1","level":"warning","message":{"text":"_transform._transform_recursive (cyclomatic 24): _transform._transform_recursive has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (_transform._async_transform_recursive) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_utils/_transform.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e37606db851699130e122608a09ecf633636ceefc5ee80db6e42b3c9031d5e"}},{"ruleId":"D1","level":"warning","message":{"text":"_transform._async_transform_recursive (cyclomatic 24): _transform._async_transform_recursive has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (_transform._transform_recursive) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_utils/_transform.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"468f7a42741163df81cfe8736752c2a4e9ff1c4fcc987bb634111f061efcabcf"}},{"ruleId":"D1","level":"warning","message":{"text":"computer._calls (cyclomatic 24): computer._calls has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/computer.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2651adbe2b984f87da34032c080d61dd1e1c593d5aa8b01fedaa629bc42e616"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponsesWebSocketAccumulator._add_item (cyclomatic 24): ResponsesWebSocketAccumulator._add_item has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_websocket/_accumulator.py"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bce247b579f52a99afcac7d81a3ffc714f8782a9d528d4ce76256fd8881543"}},{"ruleId":"D1","level":"warning","message":{"text":"_deltas.accumulate_delta (cyclomatic 24): _deltas.accumulate_delta has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/_deltas.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5498c9b8d42634622f236eb3bb46b22b19da3bb6be24bfceb9b1d96d8aece3a3"}},{"ruleId":"D1","level":"warning","message":{"text":"check-dependency-security.preserves_supported_security_branches (cyclomatic 23): check-dependency-security.preserves_supported_security_branches has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"be10fd503f64c973a83483b53b4db6df0d14f83e3240cab1b135cae8b11c2799"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentTurnResultCollector.accept (cyclomatic 23): AgentTurnResultCollector.accept has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/beta/agents/_result.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"098870f2d2e7e0361bb6705a6c5bf89f2e9618120d0dff345e41c938ceefd35b"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionsToolRunner.run (cyclomatic 23): DecisionsToolRunner.run has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/decisions_tool_runner.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"328ee66f944ba88cbf7770c1859739719eb5d865ce018c3477ea5dc91bd9a11e"}},{"ruleId":"D1","level":"warning","message":{"text":"computer._actions (cyclomatic 22): computer._actions has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/computer.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"9178529efacecfad56f5a609e239323c25d34fd771e3b68394b986eeb00a4396"}},{"ruleId":"D1","level":"warning","message":{"text":"check-dependency-security.reconcile_resolution_domains (cyclomatic 21): check-dependency-security.reconcile_resolution_domains has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa7937c3abbbebdce9d0dd68f3d77afc76729433c1e99a6f9a76c0b5e9caae3"}},{"ruleId":"D1","level":"warning","message":{"text":"check-dependency-security.published_bounds (cyclomatic 21): check-dependency-security.published_bounds has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a48fa73299449254e8426c5f64009e285820817b3437a58d473b0ab4d6f56b9"}},{"ruleId":"D1","level":"warning","message":{"text":"_models._build_discriminated_union_meta (cyclomatic 21): _models._build_discriminated_union_meta has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_models.py"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8597888732d4bef109903ae152f212cd6cfc41011e476f4d99fe2a2167da562"}},{"ruleId":"D1","level":"warning","message":{"text":"_tools.function_tool (cyclomatic 21): _tools.function_tool has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/beta/agents/_tools.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eaf39fcd0a3e17b258813752d08db58f3e65d3ba0397489212bb2c6e52a04f5"}},{"ruleId":"D1","level":"warning","message":{"text":"browser._browser_image (cyclomatic 21): browser._browser_image has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9c6bd17b9306ad252d5f713ad8b08567096a878cc705596766a8e30d41a193"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncDecisionsToolRunner.run (cyclomatic 21): AsyncDecisionsToolRunner.run has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/decisions_tool_runner.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea4eff54638fab55710f18dc116c8f8e5a8a19f2ad3f70d938ccdae8cd89219"}},{"ruleId":"D1","level":"warning","message":{"text":"check-dependency-security.minimums (cyclomatic 20): check-dependency-security.minimums has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"40326808a48e98312e047cbdf49a6a0ef8538caa8e31a4c8b300c49168ef2b7a"}},{"ruleId":"D1","level":"warning","message":{"text":"check-dependency-security.reviewed_additive_protected_contexts (cyclomatic 20): check-dependency-security.reviewed_additive_protected_contexts has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":2015}}}],"partialFingerprints":{"codehealthFindingId/v1":"f729828c9df092d73f9dc5828e41301db2442b390811e17bfa46b1850b3d2de1"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncAPIClient.request (cyclomatic 20): AsyncAPIClient.request has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (AsyncAPIClient.request) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":1744}}}],"partialFingerprints":{"codehealthFindingId/v1":"8214e557cb1141ce29ff2394725cbf7afa212cd237d3320eb17ad069f199745c"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncAPIClient.request (cyclomatic 20): AsyncAPIClient.request has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (AsyncAPIClient.request) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28d3d6b8da4fd4527d9d5eb22383bc5d7a28978eeb46bf1f4c07883ddea3781"}},{"ruleId":"D1","level":"warning","message":{"text":"_Router.dispatch (cyclomatic 20): _Router.dispatch has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_websocket/_session.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37ca96406020f4f9d654418392a313c5dd8d257a414676da2722b2f0a7064c6"}},{"ruleId":"D1","level":"warning","message":{"text":"check-dependency-security.excludes_affected_published_branch (cyclomatic 19): check-dependency-security.excludes_affected_published_branch has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1848}}}],"partialFingerprints":{"codehealthFindingId/v1":"503442042e967b712641191e2e8c9d8eb0959278eff2d7b2dca363c5a1636a41"}},{"ruleId":"D1","level":"warning","message":{"text":"SyncAPIClient.request (cyclomatic 19): SyncAPIClient.request has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"024af99b1f387d377571c4a3b65a7d03d8311af9a2e7ff04d6971a31a4bf05ca"}},{"ruleId":"D1","level":"warning","message":{"text":"bedrock._legacy_provider (cyclomatic 19): bedrock._legacy_provider has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/bedrock.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c8c3a2c7c99499b21c3328c034d7e7c1eb22378c2944ab3223fdfdc0a32a1b"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponseStreamState.handle_event (cyclomatic 19): ResponseStreamState.handle_event has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/responses/_responses.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2667ba7f0cdba169de3056d358b9d20d5f42cfa83ceb04b9d2438e27f25f31"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncStream.__stream__ (cyclomatic 18): AsyncStream.__stream__ has cyclomatic complexity 18 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_streaming.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f85c4651153f1fed2fbb7694d252e97bd642ea52f8e8f44a71fc7a29cc7c8c"}},{"ruleId":"D1","level":"warning","message":{"text":"_x509._retry_delay (cyclomatic 18): _x509._retry_delay has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/auth/_x509.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6680a275a97c2974e5430ae984e64ebfaf079bb8f580aebca220fdca6b3799a"}},{"ruleId":"D1","level":"warning","message":{"text":"_Run.select (cyclomatic 18): _Run.select has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/decisions_tool_runner.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b49b1682aa80a91ec99c60a078d119474b752d38cf5cc0f43a19409755f608"}},{"ruleId":"D1","level":"warning","message":{"text":"_Run.context_snapshot (cyclomatic 18): _Run.context_snapshot has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7cf064328abdab6562b9d1c88ac95a35c024ba3521d2006168b0c00b594466"}},{"ruleId":"D1","level":"warning","message":{"text":"responses_tool_runner._mcp_approval_policy (cyclomatic 18): responses_tool_runner._mcp_approval_policy has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa2896e9486f0906b5bb0d5d0428f1aa8669d9cc4cbfc5b886f960a3a46c99a"}},{"ruleId":"D1","level":"warning","message":{"text":"Stream.__stream__ (cyclomatic 17): Stream.__stream__ has cyclomatic complexity 17 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_streaming.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cad32fc021193bae1546df5176cc39bc3f3a7f79c3a8fb36bd0d3aa21b712f"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncWebSocketConnectionBase._attempt_reconnect (cyclomatic 17): AsyncWebSocketConnectionBase._attempt_reconnect has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_websocket_connection.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb54637e38b4ce63d889e9b02052107ed2a025399df532c59e4cfc9ed71cc27"}},{"ruleId":"D1","level":"warning","message":{"text":"_pydantic._ensure_strict_json_schema (cyclomatic 17): _pydantic._ensure_strict_json_schema has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_pydantic.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"119c5de694ab368704464339a7006ac528bd1fe6c7ddc57c3ac1edb8b9a3556e"}},{"ruleId":"D1","level":"warning","message":{"text":"computer._valid_native_message (cyclomatic 17): computer._valid_native_message has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/computer.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c540fef328e9b8a41f8b19ab6460fe1763acd9fa079689f274858e15c4b5b7"}},{"ruleId":"D1","level":"warning","message":{"text":"_Run.validate_mcp_selection (cyclomatic 17): _Run.validate_mcp_selection has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":1502}}}],"partialFingerprints":{"codehealthFindingId/v1":"7daa7c51b75f80d39e9eccf4123d36f2c75967dd35efd89defb1f5e1f966f51f"}},{"ruleId":"D1","level":"warning","message":{"text":"_Accumulator.add (cyclomatic 17): _Accumulator.add has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_websocket/_session.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8299ef727815df047573e2a134d4e25bf02d1c3074695b23758b5f79187713e3"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatCompletionStreamState._build_events (cyclomatic 17): ChatCompletionStreamState._build_events has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/chat/_completions.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ff2ea942a21d539d543ffdaafa2f39b8d68b1e959f0e906a3667e837417f89"}},{"ruleId":"D1","level":"warning","message":{"text":"check-dependency-security.preserves_dependency_security_bounds (cyclomatic 16): check-dependency-security.preserves_dependency_security_bounds 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":"scripts/check-dependency-security.py"},"region":{"startLine":1787}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d9c2d733328a9a438307d9f58760dc9cfed807464cc6120410e63dc55fe5d9"}},{"ruleId":"D1","level":"warning","message":{"text":"_multipart.encode_multipart (cyclomatic 16): _multipart.encode_multipart has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_multipart.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedee992246a44b1c1da9b12cb15e4521f265a590c1cea731f16ee4e5a6f301f"}},{"ruleId":"D1","level":"warning","message":{"text":"AzureOpenAI.__init__ (cyclomatic 16): AzureOpenAI.__init__ has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (AsyncAzureOpenAI.__init__) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/azure.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"030b85749fb15042bd0e565d497df37b6087bb798b9dcdad6dcfddbf4842dace"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncAzureOpenAI.__init__ (cyclomatic 16): AsyncAzureOpenAI.__init__ has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (AzureOpenAI.__init__) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/azure.py"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5346497616d674e21b470aed9a5e6dc241bfd5da375e659f23ca549f1e8b89"}},{"ruleId":"D1","level":"warning","message":{"text":"_tools._tool_output (cyclomatic 16): _tools._tool_output has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/beta/agents/_tools.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a932e8852b5de0434d904b50b0eef46ce590b3b2cd49941456f16a83b277c8a5"}},{"ruleId":"D1","level":"warning","message":{"text":"browser._state_origin (cyclomatic 16): browser._state_origin has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f4bc986ac30ddb09b75a798500183d670212ca6f45490ec700fd54711adfef"}},{"ruleId":"D1","level":"warning","message":{"text":"computer._prepare (cyclomatic 16): computer._prepare has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/computer.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"456855cd5ceabf399aa0a21ca823df42870f0b1c32ee792c286254a8157856f5"}},{"ruleId":"D1","level":"warning","message":{"text":"_Run.context_input (cyclomatic 16): _Run.context_input has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"417412506b1beba3d982c95be356aa07e82558a9342d1ae384d76211d75e2c62"}},{"ruleId":"D1","level":"warning","message":{"text":"vertex.vertex (cyclomatic 16): vertex.vertex has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/providers/vertex.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"151d065decc3875a4ed3343c63aea002a47f476e05d3be10f661e079ef405342"}},{"ruleId":"D2","level":"warning","message":{"text":"check-dependency-security.simple_marker_overlap (cognitive 406): check-dependency-security.simple_marker_overlap has cognitive complexity 406 (threshold 15). Drivers by points: if/else 83 (311 pts), loops 10 (34 pts), boolean chains 32, ternaries 6 (24 pts), error handling 1 (5 pts) (nesting depth added 274). 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":"scripts/check-dependency-security.py"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83707b19fc8bca271e757808e8e3863cf755cd1f9cae5b38f299fccca4ff303"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponsesToolRunner.iterate (cognitive 171): ResponsesToolRunner.iterate has cognitive complexity 171 (threshold 15). Drivers by points: if/else 34 (107 pts), ternaries 8 (23 pts), boolean chains 21, error handling 8 (12 pts), loops 4 (8 pts) (nesting depth added 96). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":1912}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d112ab97980e52e32bb313c1ae464afd2001a74119296a4ec806ec08c16dcd2"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncResponsesToolRunner.iterate (cognitive 160): AsyncResponsesToolRunner.iterate has cognitive complexity 160 (threshold 15). Drivers by points: if/else 31 (96 pts), ternaries 8 (23 pts), boolean chains 21, error handling 8 (12 pts), loops 4 (8 pts) (nesting depth added 88). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":2390}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e881c4f2812c0e648c6741e71707c442f966709e3711d72459a7b2bebb2a0be"}},{"ruleId":"D2","level":"warning","message":{"text":"responses_tool_runner._history_calls (cognitive 133): responses_tool_runner._history_calls has cognitive complexity 133 (threshold 15). Drivers by points: if/else 35 (103 pts), boolean chains 20, error handling 2 (5 pts), loops 2 (5 pts) (nesting depth added 74). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4272c1e425a44f14e233ddaaa3f1fbec1529c20c31fae7cd8e75d3f875e8489"}},{"ruleId":"D2","level":"warning","message":{"text":"responses_tool_runner._validate_server_item (cognitive 127): responses_tool_runner._validate_server_item has cognitive complexity 127 (threshold 15). Drivers by points: if/else 25 (64 pts), boolean chains 47, loops 4 (14 pts), ternaries 1 (2 pts) (nesting depth added 50). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c93f7e6007fdaf8f7345f545b73d93ac92faaaad3b1b33c9705a1e1b530619"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponsesWebSocketAccumulator.add_event (cognitive 124): ResponsesWebSocketAccumulator.add_event has cognitive complexity 124 (threshold 15). Drivers by points: if/else 46 (85 pts), boolean chains 28, loops 2 (6 pts), error handling 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_websocket/_accumulator.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f224cbf39450bfc42eebbce67e17291b8169a2769201f501168715549706e04b"}},{"ruleId":"D2","level":"warning","message":{"text":"check-dependency-security.published_reachability (cognitive 117): check-dependency-security.published_reachability has cognitive complexity 117 (threshold 15). Drivers by points: if/else 23 (85 pts), loops 8 (24 pts), boolean chains 8 (nesting depth added 78). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60553d28d032766466b2763df785dba65c43f16daca73eaad0c69a3abd98277"}},{"ruleId":"D2","level":"warning","message":{"text":"_Run.__init__ (cognitive 111): _Run.__init__ has cognitive complexity 111 (threshold 15). Drivers by points: if/else 37 (64 pts), boolean chains 32, ternaries 6 (10 pts), loops 3 (5 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b13bbdda61b7745d2aab73de656ac8f6fbe3cdc9da3d5c25f8e2a1a53aa50b"}},{"ruleId":"D2","level":"warning","message":{"text":"check-dependency-security.preserves_requirement_source_markers (cognitive 100): check-dependency-security.preserves_requirement_source_markers has cognitive complexity 100 (threshold 15). Drivers by points: if/else 26 (64 pts), loops 13 (21 pts), boolean chains 15 (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3137a1bf210876e31700c00c0350179e3e33be2ca90e020941624e12d0a7155"}},{"ruleId":"D2","level":"warning","message":{"text":"check-dependency-security.marker_options (cognitive 82): check-dependency-security.marker_options has cognitive complexity 82 (threshold 15). Drivers by points: if/else 29 (71 pts), boolean chains 8, ternaries 1 (2 pts), loops 1 (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95ec7956e0be8496671fa180c182c967a8d3930c03529395dc73124618eacb0"}},{"ruleId":"D2","level":"warning","message":{"text":"browser._read_result (cognitive 71): browser._read_result has cognitive complexity 71 (threshold 15). Drivers by points: if/else 22 (52 pts), boolean chains 11, loops 4 (7 pts), error handling 1 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a97ba90dfdf41043e699a35da9a5af9a275bf5c5e95a5e116d22e529a13db00"}},{"ruleId":"D2","level":"warning","message":{"text":"_Run.validate (cognitive 67): _Run.validate has cognitive complexity 67 (threshold 15). Drivers by points: if/else 26 (39 pts), boolean chains 19, error handling 3 (5 pts), ternaries 2 (4 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03ae0b9dffe723fead9ff8858576fbc25ff21b207e14685f803701b0cba8680"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatCompletionStreamState._accumulate_chunk (cognitive 65): ChatCompletionStreamState._accumulate_chunk has cognitive complexity 65 (threshold 15). Drivers by points: if/else 17 (51 pts), boolean chains 7, loops 3 (5 pts), error handling 1 (2 pts) (nesting depth added 37). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/chat/_completions.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"877e1f7f4d0330876bef65c5299e08654a7524a2f51a784cbe828eb631a1b7d1"}},{"ruleId":"D2","level":"warning","message":{"text":"AssistantEventHandler._emit_sse_event (cognitive 63): AssistantEventHandler._emit_sse_event has cognitive complexity 63 (threshold 15). Drivers by points: if/else 16 (49 pts), boolean chains 7, loops 3 (7 pts) (nesting depth added 37). 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. This shape REPEATS in the file: one other method here (AsyncAssistantEventHandler._emit_sse_event) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/_assistants.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba352027f3a801782c088df2235de5a6a1db2c766934a34debbb0245bbf0f7a"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncAssistantEventHandler._emit_sse_event (cognitive 63): AsyncAssistantEventHandler._emit_sse_event has cognitive complexity 63 (threshold 15). Drivers by points: if/else 16 (49 pts), boolean chains 7, loops 3 (7 pts) (nesting depth added 37). 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. This shape REPEATS in the file: one other method here (AssistantEventHandler._emit_sse_event) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/_assistants.py"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"729fecfe181dfec53f0a093b2ea9a1278b86d33361f76a689839529bdd4160cf"}},{"ruleId":"D2","level":"warning","message":{"text":"check-dependency-security.uncovered_marker_fragments (cognitive 61): check-dependency-security.uncovered_marker_fragments has cognitive complexity 61 (threshold 15). Drivers by points: if/else 13 (43 pts), loops 4 (10 pts), boolean chains 8 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"07910023bad0abbe8d3eccef08d5bab2ae1c42e5b620e23c0ed402206ceedd57"}},{"ruleId":"D2","level":"warning","message":{"text":"_models.construct_type (cognitive 61): _models.construct_type has cognitive complexity 61 (threshold 15). Drivers by points: if/else 20 (35 pts), error handling 4 (9 pts), boolean chains 8, ternaries 3 (7 pts), loops 1 (2 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_models.py"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"c506290b3dab99ec630476d8ca48760360117c760d2b3c50fdedd0b54097fa7b"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponsesWebSocketAccumulator.detailed_snapshot (cognitive 61): ResponsesWebSocketAccumulator.detailed_snapshot has cognitive complexity 61 (threshold 15). Drivers by points: if/else 15 (38 pts), loops 5 (10 pts), ternaries 2 (8 pts), boolean chains 5 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_websocket/_accumulator.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c65faedea3ce3983e945b7299d7ba5059c9a1220315c5ef4b9e50fb3597510"}},{"ruleId":"D2","level":"warning","message":{"text":"responses_tool_runner._supplied_result (cognitive 60): responses_tool_runner._supplied_result has cognitive complexity 60 (threshold 15). Drivers by points: if/else 19 (44 pts), boolean chains 9, ternaries 1 (4 pts), loops 2 (3 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f11dd137dbf9e6559fff324d2054d07b5317139f0bff5774baab8859b51b31"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponsesWebSocketAccumulator._add_rich_event (cognitive 60): ResponsesWebSocketAccumulator._add_rich_event has cognitive complexity 60 (threshold 15). Drivers by points: if/else 22 (36 pts), ternaries 7 (13 pts), loops 3 (6 pts), boolean chains 5 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_websocket/_accumulator.py"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f85acfd17049a8687751c736160358f275ada08709f5a5fa902d31c8ac53bbb"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseStreamState.accumulate_event (cognitive 59): ResponseStreamState.accumulate_event has cognitive complexity 59 (threshold 15). Drivers by points: if/else 19 (40 pts), boolean chains 11, loops 4 (8 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/responses/_responses.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa584c7dd34353e06b1f85ed1d921aa7ea69521ff529661d33e2a98e9d4b049a"}},{"ruleId":"D2","level":"warning","message":{"text":"_client_auth.synccopy (cognitive 57): _client_auth.synccopy has cognitive complexity 57 (threshold 15). Drivers by points: boolean chains 23, if/else 15 (19 pts), ternaries 13 (15 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (_client_auth.asynccopy) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_client_auth.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bdefe64dfdc807dbb92da64d47e4e94736b7362c2a0b9f09294174ac6f3a1f"}},{"ruleId":"D2","level":"warning","message":{"text":"_client_auth.asynccopy (cognitive 57): _client_auth.asynccopy has cognitive complexity 57 (threshold 15). Drivers by points: boolean chains 23, if/else 15 (19 pts), ternaries 13 (15 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (_client_auth.synccopy) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_client_auth.py"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"949e03b0f522a637da8fd495f8893ead9c4624a39dc165f18040ef04e1d0fcf7"}},{"ruleId":"D2","level":"warning","message":{"text":"_models._build_discriminated_union_meta (cognitive 55): _models._build_discriminated_union_meta has cognitive complexity 55 (threshold 15). Drivers by points: if/else 13 (39 pts), loops 4 (12 pts), boolean chains 2, error handling 2 (nesting depth added 34). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_models.py"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca47ca47c2ab420d899870bc1347af8f893411161638f4a65a8d6314d42e01e"}},{"ruleId":"D2","level":"warning","message":{"text":"check-dependency-security.reviewed_additive_protected_contexts (cognitive 54): check-dependency-security.reviewed_additive_protected_contexts has cognitive complexity 54 (threshold 15). Drivers by points: if/else 10 (39 pts), loops 4 (10 pts), boolean chains 5 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":2015}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51e5fb91967448fae0145223e3cfe8bfedaaf80e0d00b8b512ea9817902a270"}},{"ruleId":"D2","level":"warning","message":{"text":"check-dependency-security.preserves_published_security_bound (cognitive 53): check-dependency-security.preserves_published_security_bound has cognitive complexity 53 (threshold 15). Drivers by points: if/else 16 (33 pts), boolean chains 15, loops 3 (5 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b1a22ec9745ddf73e8301b6287b4b1820ec2c0d65090b0da54a7e43ae47d68"}},{"ruleId":"D2","level":"warning","message":{"text":"_client_auth.sync__init__ (cognitive 53): _client_auth.sync__init__ has cognitive complexity 53 (threshold 15). Drivers by points: if/else 26 (37 pts), boolean chains 7, ternaries 5 (7 pts), loops 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (_client_auth.async__init__) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_client_auth.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4dbbd19e968de67d2d3824c13be451a9eca9862b89a6eac16d8e5df615f60e"}},{"ruleId":"D2","level":"warning","message":{"text":"_client_auth.async__init__ (cognitive 53): _client_auth.async__init__ has cognitive complexity 53 (threshold 15). Drivers by points: if/else 26 (37 pts), boolean chains 7, ternaries 5 (7 pts), loops 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (_client_auth.sync__init__) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_client_auth.py"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"e516b8d4b429e31b672fe813dcfba2a7a2a3c9e8a791cbfb380f02b759c024fe"}},{"ruleId":"D2","level":"warning","message":{"text":"browser._observed_state (cognitive 52): browser._observed_state has cognitive complexity 52 (threshold 15). Drivers by points: if/else 18 (43 pts), boolean chains 8, loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74556d0cbba0f68ea28b69e700ea397c6119c26b4ace6807ba9f493467986d0"}},{"ruleId":"D2","level":"warning","message":{"text":"check-dependency-security.reconcile_resolution_domains (cognitive 51): check-dependency-security.reconcile_resolution_domains has cognitive complexity 51 (threshold 15). Drivers by points: if/else 15 (43 pts), loops 4 (7 pts), boolean chains 1 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"095b568250d9dc8ebcaf2b6b624d4fe61f65e0a77748eb8a642af7c355e10f5c"}},{"ruleId":"D2","level":"warning","message":{"text":"WebSocketConnectionBase._reconnect (cognitive 48): WebSocketConnectionBase._reconnect has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (34 pts), error handling 3 (6 pts), ternaries 1 (4 pts), boolean chains 3, loops 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_websocket_connection.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"047a8abeb39544aca1d9428ba0bd14883658c9e58309f1b25680514ddfc8f7cf"}},{"ruleId":"D2","level":"warning","message":{"text":"check-dependency-security.preserves_supported_security_branches (cognitive 47): check-dependency-security.preserves_supported_security_branches has cognitive complexity 47 (threshold 15). Drivers by points: if/else 10 (31 pts), boolean chains 8, loops 4 (8 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71dd497923017e5221fa3e1443c338736ca16ea583e8120215bea8cb38bbfeb"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowserToolset._dispatch (cognitive 47): BrowserToolset._dispatch has cognitive complexity 47 (threshold 15). Drivers by points: if/else 12 (14 pts), error handling 9 (13 pts), ternaries 7 (12 pts), boolean chains 8 (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. This shape REPEATS in the file: one other method here (AsyncBrowserToolset._dispatch) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba231db69379865d0b7cbd3afd818e7147d75d7c5dbfea7f56e243198ab5758"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncBrowserToolset._dispatch (cognitive 47): AsyncBrowserToolset._dispatch has cognitive complexity 47 (threshold 15). Drivers by points: if/else 12 (14 pts), error handling 9 (13 pts), ternaries 7 (12 pts), boolean chains 8 (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. This shape REPEATS in the file: one other method here (BrowserToolset._dispatch) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":1718}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27e8f5ed91b8ed7ca1b7e2cd91a6d973bfdeabbc05e7907f5cf305a1a309449"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionsToolRunner.run (cognitive 47): DecisionsToolRunner.run has cognitive complexity 47 (threshold 15). Drivers by points: if/else 12 (27 pts), ternaries 4 (10 pts), error handling 6 (9 pts), loops 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/decisions_tool_runner.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"1377edd0c233aace5195d102212b95507348de713113adcb5b6956a2ec7bae9f"}},{"ruleId":"D2","level":"warning","message":{"text":"check-dependency-security.preserves_dependency_security_bounds (cognitive 46): check-dependency-security.preserves_dependency_security_bounds has cognitive complexity 46 (threshold 15). Drivers by points: if/else 8 (29 pts), loops 4 (10 pts), ternaries 1 (5 pts), boolean chains 2 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1787}}}],"partialFingerprints":{"codehealthFindingId/v1":"12713e9c5212735de10bdf17d845019a23a4e09a8316e37b039005163f8dd1e9"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponsesWebSocketAccumulator._add_item (cognitive 46): ResponsesWebSocketAccumulator._add_item has cognitive complexity 46 (threshold 15). Drivers by points: if/else 15 (36 pts), loops 2 (6 pts), boolean chains 3, ternaries 1 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_websocket/_accumulator.py"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c9813063e051f2fd22b768c94e39c8f34cb094e30a4f10fdec1c8a9915a77d"}},{"ruleId":"D2","level":"warning","message":{"text":"bedrock.bedrock (cognitive 46): bedrock.bedrock has cognitive complexity 46 (threshold 15). Drivers by points: boolean chains 22, if/else 16 (18 pts), ternaries 5 (6 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/providers/bedrock.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7c4392e29082091c53eb265fd7ed27b568418be265e6bf9af7ea7a80ffcda9"}},{"ruleId":"D2","level":"warning","message":{"text":"ComputerToolset._dispatch (cognitive 45): ComputerToolset._dispatch has cognitive complexity 45 (threshold 15). Drivers by points: if/else 11 (24 pts), error handling 4 (8 pts), ternaries 3 (7 pts), boolean chains 5, loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AsyncComputerToolset._dispatch) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/computer.py"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"0277fe271f7641af893e319fa9b5975397c0001386ac582eeed77ff36084686c"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncComputerToolset._dispatch (cognitive 45): AsyncComputerToolset._dispatch has cognitive complexity 45 (threshold 15). Drivers by points: if/else 11 (24 pts), error handling 4 (8 pts), ternaries 3 (7 pts), boolean chains 5, loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ComputerToolset._dispatch) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/computer.py"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52dd59e85efa6d7b1eb52ce10798ae3e4a142fc6d05c9ec3d9de992a47352c4"}},{"ruleId":"D2","level":"warning","message":{"text":"_deltas.accumulate_delta (cognitive 45): _deltas.accumulate_delta has cognitive complexity 45 (threshold 15). Drivers by points: if/else 9 (25 pts), boolean chains 8, error handling 2 (8 pts), loops 2 (4 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/_deltas.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e2dff82ef038525ba04d6d99dcb49c84d41767d93d85be0120d0d6abc847aa"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncDecisionsToolRunner.run (cognitive 42): AsyncDecisionsToolRunner.run has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (22 pts), ternaries 4 (10 pts), error handling 6 (9 pts), loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/decisions_tool_runner.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"558a6db7fc5b822229c05c37b969d8eb72c41b4597d8cbf0436cbe6a289c612c"}},{"ruleId":"D2","level":"warning","message":{"text":"check-dependency-security.minimums (cognitive 41): check-dependency-security.minimums has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 4 (8 pts), boolean chains 4, ternaries 2 (4 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25b4196e7734401256771ad891edc5d7705e5464efcb699f1a9cbb1898dcb74"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseAPIResponse._parse (cognitive 40): BaseAPIResponse._parse has cognitive complexity 40 (threshold 15). Drivers by points: if/else 22 (30 pts), boolean chains 6, error handling 1 (3 pts), ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_response.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdc874a073b03656a4b99002ba4af502fb3c839952ba532def4784504c9c4cd"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncStream.__stream__ (cognitive 40): AsyncStream.__stream__ has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (30 pts), boolean chains 6, ternaries 1 (3 pts), loops 1 (nesting depth added 22). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_streaming.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7def74ee870c942ec3b48ab3e3f9f3aa664c883e4007fc21caf0b033d03959e"}},{"ruleId":"D2","level":"warning","message":{"text":"LegacyAPIResponse._parse (cognitive 39): LegacyAPIResponse._parse has cognitive complexity 39 (threshold 15). Drivers by points: if/else 21 (29 pts), boolean chains 6, error handling 1 (3 pts), ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_legacy_response.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6152cc6c7da1326499f875a94857867839c52f0c6bab46f8dedb69ba777e85"}},{"ruleId":"D2","level":"warning","message":{"text":"_x509._retry_delay (cognitive 39): _x509._retry_delay has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (21 pts), error handling 3 (10 pts), boolean chains 4, ternaries 1 (4 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/auth/_x509.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c0283e967bef13531942771fc99cc6d3e43d5e485f830be50dc46790ada437"}},{"ruleId":"D2","level":"warning","message":{"text":"check-dependency-security.preserves_additive_supported_releases (cognitive 38): check-dependency-security.preserves_additive_supported_releases has cognitive complexity 38 (threshold 15). Drivers by points: if/else 7 (27 pts), loops 4 (10 pts), boolean chains 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1984}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee8557b821cd70586b30d6dc95197cd566e439bf25e975fb74abc1997205b63"}},{"ruleId":"D2","level":"warning","message":{"text":"Stream.__stream__ (cognitive 37): Stream.__stream__ has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (27 pts), boolean chains 6, ternaries 1 (3 pts), loops 1 (nesting depth added 20). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_streaming.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa7f3bab703c235ada09fff0323f5880ea16b19ceafa27fce5499c1fc8d1d69"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncWebSocketConnectionBase._attempt_reconnect (cognitive 37): AsyncWebSocketConnectionBase._attempt_reconnect has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (25 pts), error handling 3 (6 pts), ternaries 1 (4 pts), boolean chains 1, loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_websocket_connection.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc167593541dfd5c918bd3c40cca1810f2b8e2c47b60f6cbaa7e9a71396a245"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseClient._build_request (cognitive 36): BaseClient._build_request has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 6, ternaries 3 (5 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":"src/openai/_base_client.py"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccde34457206775630cc483aa5a81f930b4daca1da88e0662f315e83a897ac83"}},{"ruleId":"D2","level":"warning","message":{"text":"_BrowserBase.__init__ (cognitive 36): _BrowserBase.__init__ has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 15, loops 2, ternaries 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a85e5ed2120a9848f68653f85926383144b8bec0856e3237a32099604828c35"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncAPIClient.request (cognitive 35): AsyncAPIClient.request has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (18 pts), error handling 4 (8 pts), boolean chains 5, ternaries 1 (3 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AsyncAPIClient.request) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":1744}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b53a57767395cab50bb7e4a89d4ec1333985372be44f372185223c4dca38f6"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncAPIClient.request (cognitive 35): AsyncAPIClient.request has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (18 pts), error handling 4 (8 pts), boolean chains 5, ternaries 1 (3 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AsyncAPIClient.request) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4b86cf8ae9a07805a3ee3b4d9d94191fdd2422921e4870515fbe6ce36e2270"}},{"ruleId":"D2","level":"warning","message":{"text":"computer._calls (cognitive 35): computer._calls has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 7, error handling 1 (3 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/computer.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"95403fff803022c66fee38a0d2daaa279cc96c4bc83b0e898a0455304d27d6f9"}},{"ruleId":"D2","level":"warning","message":{"text":"_Router.dispatch (cognitive 35): _Router.dispatch has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 2 (9 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_websocket/_session.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"3828d045f022aef664d93ea86fbe3eef5802979338beffeada159c14d8fe5820"}},{"ruleId":"D2","level":"warning","message":{"text":"SyncAPIClient.request (cognitive 34): SyncAPIClient.request has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (17 pts), error handling 4 (8 pts), boolean chains 5, ternaries 1 (3 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"58271441a2da73243fb8bce3acb91a21968dffd8d41c8d20761c2f347c7b4ae3"}},{"ruleId":"D2","level":"warning","message":{"text":"browser._state (cognitive 34): browser._state has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 8, ternaries 3 (4 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa51bb4093abfb6fa4b99b89898d20a490196ee3514df2b2f92450a1c370ce64"}},{"ruleId":"D2","level":"warning","message":{"text":"computer._valid_native_message (cognitive 33): computer._valid_native_message has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (22 pts), boolean chains 6, loops 2 (5 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/computer.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"93dcd8d2dfa67dae38de7f3e36b55c4ffb8da31a6b13e98d7517d8361e2190ee"}},{"ruleId":"D2","level":"warning","message":{"text":"browser._arguments (cognitive 32): browser._arguments has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 26, if/else 3 (4 pts), error handling 1, loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb79689aa6d00ad678e9c4cb4d0bafaebcccfd99f49edc9a2739a3f1d60746d6"}},{"ruleId":"D2","level":"warning","message":{"text":"check-dependency-security.secures_supported_published_branches (cognitive 31): check-dependency-security.secures_supported_published_branches has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (24 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1900}}}],"partialFingerprints":{"codehealthFindingId/v1":"941d1ede4302e3d9ebe5d18d5425a914bf37145fd1bee8e280b7100dfd75695c"}},{"ruleId":"D2","level":"warning","message":{"text":"_transform._transform_recursive (cognitive 31): _transform._transform_recursive has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 8, ternaries 2 (4 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (_transform._async_transform_recursive) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_utils/_transform.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c78c3976c0f8b11b99fb1a0ddf6183f4575dca943fdeb8ea486dcd750ea5aa5"}},{"ruleId":"D2","level":"warning","message":{"text":"_transform._async_transform_recursive (cognitive 31): _transform._async_transform_recursive has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 8, ternaries 2 (4 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (_transform._transform_recursive) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_utils/_transform.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee4ed0c3ca8d8f9ae02c7c500037903a56ca8fa33b490ffbc3882e5948c2c54"}},{"ruleId":"D2","level":"warning","message":{"text":"BedrockOpenAI.copy (cognitive 30): BedrockOpenAI.copy has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 9 (10 pts), boolean chains 7 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: one other method here (AsyncBedrockOpenAI.copy) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/bedrock.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2be35d812e9d68db8c4c5c204572a8a82809fc3969e3522b0f5f0621eb70b0b"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncBedrockOpenAI.copy (cognitive 30): AsyncBedrockOpenAI.copy has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 9 (10 pts), boolean chains 7 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: one other method here (BedrockOpenAI.copy) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/bedrock.py"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb938d87941168f93757ad5665885c0b67d196ad1309f41a3c02290037ff34e1"}},{"ruleId":"D2","level":"warning","message":{"text":"check-dependency-security.marker_version_bounds (cognitive 29): check-dependency-security.marker_version_bounds has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 12, if/else 10 (11 pts), ternaries 5 (6 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ff79ae4a57a81f6185dcbffea76ad1c5947abd1ca05f0b9c996dbea9a13800"}},{"ruleId":"D2","level":"warning","message":{"text":"check-dependency-security.replacement_contexts (cognitive 29): check-dependency-security.replacement_contexts has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 7, loops 2, ternaries 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":"scripts/check-dependency-security.py"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d88330d4d8c49110236a713b9496c914b5f3ef6c524b53d60e4ab303cf7a204"}},{"ruleId":"D2","level":"warning","message":{"text":"check-dependency-security.published_bounds (cognitive 29): check-dependency-security.published_bounds has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 8, ternaries 1 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd82f400448dcd9fc3468cd649eece5deb9773e281442127d01410a72151918"}},{"ruleId":"D2","level":"warning","message":{"text":"check-dependency-security.excludes_affected_published_branch (cognitive 29): check-dependency-security.excludes_affected_published_branch has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 3 (5 pts), boolean chains 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1848}}}],"partialFingerprints":{"codehealthFindingId/v1":"635f2a2e07bf4588a9f63c7fbbc80618f24e56eb7f40ca735faf35a36d0748cf"}},{"ruleId":"D2","level":"warning","message":{"text":"bedrock._copy_configuration (cognitive 29): bedrock._copy_configuration has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 15, if/else 10 (11 pts), ternaries 3 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/bedrock.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"157e51e09f2d686b1679bff185f0004978a165a9d2510c39e365546968fba242"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentTurnResultCollector.accept (cognitive 29): AgentTurnResultCollector.accept has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (8 pts), boolean chains 5, error handling 1 (3 pts), loops 1 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/beta/agents/_result.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6e6d7e389c720d9a7f558e4d61daf5f507bc3512c131a7f0c163306c6e2648"}},{"ruleId":"D2","level":"warning","message":{"text":"_tools.function_tool (cognitive 29): _tools.function_tool has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 5 (7 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/beta/agents/_tools.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"593e4b1007e51112cd5c39c3d2cc2cf5ce6e0be060db09c4d876c81b5fb0b963"}},{"ruleId":"D2","level":"warning","message":{"text":"computer._actions (cognitive 28): computer._actions has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 8, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/computer.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"122fa2f3f1e28a46cfe2696c3c2429523a1952ee30d602201be38a96446ce34a"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatCompletionStreamState._build_events (cognitive 28): ChatCompletionStreamState._build_events has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/chat/_completions.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6af94d500ad9b878e5693ed295c2eac3c0d7f433a0da485893af33989c503e"}},{"ruleId":"D2","level":"warning","message":{"text":"_utils._extract_items (cognitive 27): _utils._extract_items has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 2 (6 pts), error handling 2 (3 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_utils/_utils.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc15f65f65846a97196f7c4cfa8fad361b5da1de624c7c07d704116a53e9cdc"}},{"ruleId":"D2","level":"warning","message":{"text":"browser._browser_image (cognitive 26): browser._browser_image has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 9, ternaries 2 (5 pts), error handling 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f16744a2d5b43698474b42fca4be840c3b16bb7f4c07a1809c4c52f0403ba20"}},{"ruleId":"D2","level":"warning","message":{"text":"_response_resources._output_text_parser (cognitive 25): _response_resources._output_text_parser has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 4, loops 1 (2 pts), ternaries 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_response_resources.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24b5b0c4dbda71d7467d3b1b149628939f42e1e5eac4c6def45d8a4d34b2873"}},{"ruleId":"D2","level":"warning","message":{"text":"_uploads.async_upload_file_chunked (cognitive 25): _uploads.async_upload_file_chunked has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 2 (4 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":"src/openai/lib/_uploads.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a09b4af6e5a3451526ad16cedc7cff9e4f7726c5f1f72e61413db984573965"}},{"ruleId":"D2","level":"warning","message":{"text":"_files.directory_files (cognitive 25): _files.directory_files has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 4 (7 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/beta/agents/_files.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a727974f0fe3e1198995ddb76377ca98e0e611a28e5ed33fba3050f30139cec"}},{"ruleId":"D2","level":"warning","message":{"text":"_Run.context_snapshot (cognitive 25): _Run.context_snapshot has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4953305d09b4c2116d3060835e2d60d76360bfa13ca8123560ed0193e9fd12"}},{"ruleId":"D2","level":"warning","message":{"text":"check-dependency-security.requested_extra_reachability (cognitive 24): check-dependency-security.requested_extra_reachability has cognitive complexity 24 (threshold 15). Drivers by points: loops 5 (12 pts), if/else 3 (8 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 13). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbfb97bd1066adb99c6ae8d44601cc2d1d98c7bf1e92f8248dcbad1bea8c40b"}},{"ruleId":"D2","level":"warning","message":{"text":"Querystring._stringify_item (cognitive 23): Querystring._stringify_item has cognitive complexity 23 (threshold 15). Drivers by points: loops 4 (11 pts), if/else 6 (9 pts), ternaries 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_qs.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5349a919402f251e7c582e73b4e79873d229d1cde7cee6a18e9bfa1744af44c8"}},{"ruleId":"D2","level":"warning","message":{"text":"_responses.get_input_tool_by_name (cognitive 23): _responses.get_input_tool_by_name has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_parsing/_responses.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1983e1bc436a3f5e3a39813a28e3410d0d4cb10072b2cd97608839168b13769b"}},{"ruleId":"D2","level":"warning","message":{"text":"_response_resources.async_stream (cognitive 23): _response_resources.async_stream has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_response_resources.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8cf5859a8236fe117aba18f68b31b85bfb93ea99e262351bf0858822b72920"}},{"ruleId":"D2","level":"warning","message":{"text":"responses_tool_runner._mcp_approval_policy (cognitive 23): responses_tool_runner._mcp_approval_policy has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 5, loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad5cadf63c4cf6dc5756ed3f7a52bcfd9a82e625b7e17378f413f4c445e6715"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseModel.construct (cognitive 22): BaseModel.construct has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 2 (4 pts), boolean chains 2, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_models.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2830a32fd7ddff4392b05ac9fee3c996b8acedf6f68595863374b69b6af32b"}},{"ruleId":"D2","level":"warning","message":{"text":"_response_resources.stream (cognitive 22): _response_resources.stream has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_response_resources.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"efec84f8f29f3cc87c4befe3f432729e1f01665dfdb944cb7d752e66d3911202"}},{"ruleId":"D2","level":"warning","message":{"text":"_Run.context_input (cognitive 22): _Run.context_input has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 6, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"91888c009067d6f1aa2f5de7c45cc48742524731af74bf0b803bb4556649a0cd"}},{"ruleId":"D2","level":"warning","message":{"text":"check-dependency-security.covers_transitive_security_release (cognitive 21): check-dependency-security.covers_transitive_security_release has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 7, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1943}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e94a36b40cbe2e186216cb6f7acdc328c5b29ca00218c54380b2c42c7cc007"}},{"ruleId":"D2","level":"warning","message":{"text":"_multipart.encode_multipart (cognitive 21): _multipart.encode_multipart has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 5, loops 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_multipart.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7953b9e12ae69abd99612b8683f2cdd6da6bf3a3466a3014097f2481ab1fcf6"}},{"ruleId":"D2","level":"warning","message":{"text":"SendQueue.flush_sync (cognitive 21): SendQueue.flush_sync has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), error handling 1 (2 pts), loops 2, 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. This shape REPEATS in the file: one other method here (SendQueue.flush_async) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_send_queue.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba4ff7d978a2507e2c1e3005add338583e68b00d960de36bcc0bb7d1577cd0a"}},{"ruleId":"D2","level":"warning","message":{"text":"SendQueue.flush_async (cognitive 21): SendQueue.flush_async has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), error handling 1 (2 pts), loops 2, 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. This shape REPEATS in the file: one other method here (SendQueue.flush_sync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_send_queue.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d480bb09068156b90406e05fe0f62d15d267547932001208bca20a172dea4b"}},{"ruleId":"D2","level":"warning","message":{"text":"_x509._is_replayable_request (cognitive 21): _x509._is_replayable_request has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 2 (4 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/auth/_x509.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fa2746fc069d144639750652dd451cb288015c4b3774ad9052a0636a9a5c9b"}},{"ruleId":"D2","level":"warning","message":{"text":"_module_runtime.load_client (cognitive 21): _module_runtime.load_client has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_module_runtime.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"626cb89b5610ff78d9ce1acc23591f87d05cc5ec3957bf744519bb33f0cf27c7"}},{"ruleId":"D2","level":"warning","message":{"text":"_pydantic._ensure_strict_json_schema (cognitive 21): _pydantic._ensure_strict_json_schema has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (15 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_pydantic.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bc196b1875238d5b31eb67d6bead82410134ef79c08632cd5fbb9bfb359228"}},{"ruleId":"D2","level":"warning","message":{"text":"_files._deepcopy_with_paths (cognitive 20): _files._deepcopy_with_paths has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_files.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"34884ecc5ffdc91676bcd96ce3b20df366bb0e7f4b00326b0b2bcbd94b6d0e81"}},{"ruleId":"D2","level":"warning","message":{"text":"browser._state_origin (cognitive 20): browser._state_origin has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 4, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1032ac04f914f540ea7c05f8e231744a63dce302d2a94ddd458d58cc7e4980"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseStreamState.handle_event (cognitive 20): ResponseStreamState.handle_event has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (10 pts), boolean chains 5, if/else 4 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/responses/_responses.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f671b0f86b72f16ba2a451f25ba4f63b8a545d14f71a2b5cc416029b7caa52e"}},{"ruleId":"D2","level":"warning","message":{"text":"check-dependency-security.direct (cognitive 19): check-dependency-security.direct has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d5c6ba3a1d604bea2c5e7c1198d25283633aecd321df0fbe77314358426e1f"}},{"ruleId":"D2","level":"warning","message":{"text":"_client_auth.sync_send_with_auth_retry (cognitive 19): _client_auth.sync_send_with_auth_retry has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 1 (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. This shape REPEATS in the file: one other method here (_client_auth.async_send_with_auth_retry) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_client_auth.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"892e765e78583eb782607d5063488562b3954996d641a62aee0a420dc64cbad3"}},{"ruleId":"D2","level":"warning","message":{"text":"_client_auth.async_send_with_auth_retry (cognitive 19): _client_auth.async_send_with_auth_retry has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 1 (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. This shape REPEATS in the file: one other method here (_client_auth.sync_send_with_auth_retry) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_client_auth.py"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4504fc44c5054d3a7879be24801eb140e78182f0bfc91f954c21c0eb43977a"}},{"ruleId":"D2","level":"warning","message":{"text":"_completions.parse_chat_completion (cognitive 19): _completions.parse_chat_completion has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_parsing/_completions.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3dafadcc201e865e4dd4c7beeee2a3aad0c829e1c66a218f00d7db972c336a4"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureOpenAI.__init__ (cognitive 19): AzureOpenAI.__init__ has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (16 pts), ternaries 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (AsyncAzureOpenAI.__init__) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/azure.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"2155c3ca8e345bdf623309b0187c62afe4685f72085e6402c8bdb6bfb9d91042"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncAzureOpenAI.__init__ (cognitive 19): AsyncAzureOpenAI.__init__ has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (16 pts), ternaries 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (AzureOpenAI.__init__) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/azure.py"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21417e39cbc3279adf7ceebdc4769af42893effa0085d2dc6080085efbe08c2"}},{"ruleId":"D2","level":"warning","message":{"text":"_Run.select (cognitive 19): _Run.select has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, loops 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/decisions_tool_runner.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd5ee68e740dbaedd2b7f3ebba1d71cecd42d55aef5a9748876ebbad7800831"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponsesToolRunner._dispatch (cognitive 19): ResponsesToolRunner._dispatch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AsyncResponsesToolRunner._dispatch) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":2189}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef4cbaa9d9c04d8ed3d35f66e8bffbd29c3fb24caef3fe42bfd77e2b03b7763"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncResponsesToolRunner._dispatch (cognitive 19): AsyncResponsesToolRunner._dispatch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ResponsesToolRunner._dispatch) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":2666}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c19a76bd9597e9dfeea8591017a4b1967dbca00a1ad7ce6109ed019e88a17c4"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncRealtimeConnectionManager._connect_ws (cognitive 19): AsyncRealtimeConnectionManager._connect_ws has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 2 (4 pts), error handling 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (RealtimeConnectionManager._connect_ws) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/realtime/realtime.py"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31d7aab4e82b3a61d62d75b98f95d98be437f282976de1ed4575b38185f6688"}},{"ruleId":"D2","level":"warning","message":{"text":"RealtimeConnectionManager._connect_ws (cognitive 19): RealtimeConnectionManager._connect_ws has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 2 (4 pts), error handling 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AsyncRealtimeConnectionManager._connect_ws) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/realtime/realtime.py"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb02180f563c0d01132d3631f0dca5ef2cf5024ec7e40d7bba12707397e5116"}},{"ruleId":"D2","level":"warning","message":{"text":"check-dependency-security.allows_published_release (cognitive 18): check-dependency-security.allows_published_release has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, if/else 3 (7 pts), loops 1 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9eaac10f666b16182b1196e00ea2cb98b53e4e74a9f08f114066429341fecf7"}},{"ruleId":"D2","level":"warning","message":{"text":"_uploads.upload_file_chunked (cognitive 18): _uploads.upload_file_chunked has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_uploads.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"687e0a47ef2666deb788dea7644668af053b8ecb96a264f77536af31538937e3"}},{"ruleId":"D2","level":"warning","message":{"text":"bedrock._legacy_provider (cognitive 18): bedrock._legacy_provider has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/bedrock.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"46392e1db2aacc4839900d2e2806dc583c201e3131ea0981532b12380724ce82"}},{"ruleId":"D2","level":"warning","message":{"text":"_tools._tool_output (cognitive 18): _tools._tool_output has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/beta/agents/_tools.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb17c399ba811b5eeb6c447d8b8c5666e593e96f8393bff4c84da0e7650e1e8"}},{"ruleId":"D2","level":"warning","message":{"text":"vertex.vertex (cognitive 18): vertex.vertex has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (8 pts), ternaries 1 (2 pts) (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":"src/openai/providers/vertex.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ef4df1f0b11f16160d033e9b86d2e4f1b5bff3c5516d0b309481351081426e"}},{"ruleId":"D2","level":"warning","message":{"text":"WebSocketConnectionBase._iter_events (cognitive 17): WebSocketConnectionBase._iter_events has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (11 pts), ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AsyncWebSocketConnectionBase._iter_events) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_websocket_connection.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cfb32686bf37e815e8d13e278a6eb2095242210c860ec2b8ba297a96fc6848"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncWebSocketConnectionBase._iter_events (cognitive 17): AsyncWebSocketConnectionBase._iter_events has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (11 pts), ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (WebSocketConnectionBase._iter_events) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_websocket_connection.py"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"8946e3743c647843bc1e09a1507ece643fbd297509a726f9460afd4aaedf13b2"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptState.push (cognitive 17): TranscriptState.push has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 2, ternaries 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/live/_transcript_state.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1deebfef30cea681bca07b1162083f61cf3f28cd978e40dfebdf5695d75dad"}},{"ruleId":"D2","level":"warning","message":{"text":"_Run.validate_mcp_selection (cognitive 17): _Run.validate_mcp_selection has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 7, ternaries 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":1502}}}],"partialFingerprints":{"codehealthFindingId/v1":"af71242d3a9f56665767c4d08eed479312ff9660452871e9ef4e8a35bcffb0f8"}},{"ruleId":"D2","level":"warning","message":{"text":"_Accumulator.add (cognitive 17): _Accumulator.add has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_websocket/_session.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"663de95339e80b67acf288d206b752b4dcbb9bd3f64d949f443bf8713c655b52"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncResponsesConnection.dispatch_events (cognitive 17): AsyncResponsesConnection.dispatch_events has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":5009}}}],"partialFingerprints":{"codehealthFindingId/v1":"d605a181d7d8e0a081ba204449f58e0f8af2faa737ee49b80a648eb1fff3d12a"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncForksConnection.__aiter__ (cognitive 17): AsyncForksConnection.__aiter__ has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (11 pts), ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ForksConnection.__iter__) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3080d6659319796e868bee567aa8e805596dcca37051506b49cad2422422e17"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncForksConnection.dispatch_events (cognitive 17): AsyncForksConnection.dispatch_events has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"2126063399c03c13643237f15fc7b71028c40b9d9d2a32c47c22dfe954faa201"}},{"ruleId":"D2","level":"warning","message":{"text":"ForksConnection.__iter__ (cognitive 17): ForksConnection.__iter__ has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (11 pts), ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AsyncForksConnection.__aiter__) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c5ad8e449d8ea04eae993911717e37f15fa232e81ca17ebe04f5255c374dd0"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncLiveConnection.__aiter__ (cognitive 17): AsyncLiveConnection.__aiter__ has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (11 pts), ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (LiveConnection.__iter__) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/live.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c6bd2553ba50fab03e5f90396654b80ad18395ff5caf5d154de67199964475"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncLiveConnection.dispatch_events (cognitive 17): AsyncLiveConnection.dispatch_events has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/live.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b01119f7238aac4c744b41efba7e58ba36e24ce38eca11a6eb35c213cc41c8c"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveConnection.__iter__ (cognitive 17): LiveConnection.__iter__ has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (11 pts), ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AsyncLiveConnection.__aiter__) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/live.py"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cc5e17f674f6e9c7fc360dbce822d780eab8e979ac7d6b783e808ef14ce7b9"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSidebandConnection.__aiter__ (cognitive 17): AsyncSidebandConnection.__aiter__ has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (11 pts), ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (SidebandConnection.__iter__) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/sideband.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdf95e6265e9b496ceb3095ce7c902f58b44c571279e38d7e554f2a3cba5691"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSidebandConnection.dispatch_events (cognitive 17): AsyncSidebandConnection.dispatch_events has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/sideband.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bad3a2963689f1fb19c4e0371ee25a7334a096668090e17be9f7709dd06c24"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebandConnection.__iter__ (cognitive 17): SidebandConnection.__iter__ has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (11 pts), ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AsyncSidebandConnection.__aiter__) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/sideband.py"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d783126a10cf296b1ddde3dd087e1d0a69182c40600e6df890a884a6136a89"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncRealtimeConnection.__aiter__ (cognitive 17): AsyncRealtimeConnection.__aiter__ has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (11 pts), ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (RealtimeConnection.__iter__) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/realtime/realtime.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed10b02c257b68ff1449edecb03215bcba64d11ddeb73188ef00c20897b9cc96"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncRealtimeConnection.dispatch_events (cognitive 17): AsyncRealtimeConnection.dispatch_events has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/realtime/realtime.py"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a804b59e3319cb8f5b9b8d83ab18049b13fa5cfa913eb7a1187134f18c639e"}},{"ruleId":"D2","level":"warning","message":{"text":"RealtimeConnection.__iter__ (cognitive 17): RealtimeConnection.__iter__ has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (11 pts), ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AsyncRealtimeConnection.__aiter__) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/realtime/realtime.py"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4972d199174532cbf6465fee959aaee18bdf3a542917277c041eed4fd9ca64"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncTranslationsConnection.__aiter__ (cognitive 17): AsyncTranslationsConnection.__aiter__ has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (11 pts), ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (TranslationsConnection.__iter__) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/realtime/translations/translations.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78674e20fef4ec567126359477ffcbf9667415afae59969658a424da0bef184"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncTranslationsConnection.dispatch_events (cognitive 17): AsyncTranslationsConnection.dispatch_events has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/realtime/translations/translations.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a3e1a1c451f5e31ed3b2e0f3d529c3a448750c65c7e75c5d2273d77d771c08"}},{"ruleId":"D2","level":"warning","message":{"text":"TranslationsConnection.__iter__ (cognitive 17): TranslationsConnection.__iter__ has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (11 pts), ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AsyncTranslationsConnection.__aiter__) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/realtime/translations/translations.py"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bd9c6150b0021a220b9eafac8caad7fb670b5ca8351828ca3c24d704905c5e"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncResponsesConnection.dispatch_events (cognitive 17): AsyncResponsesConnection.dispatch_events has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/responses/responses.py"},"region":{"startLine":4198}}}],"partialFingerprints":{"codehealthFindingId/v1":"5713a7acf1d65f16101b39564e4d967a519ea161cad5bec1c5813f8e17e6762d"}},{"ruleId":"D2","level":"warning","message":{"text":"_base_client.get_platform (cognitive 16): _base_client.get_platform has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), error handling 2 (3 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":2253}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d23d71609118519df969e7e86721135e604a25fd000b1e3a77904344415be8"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureOpenAI._prepare_options (cognitive 16): AzureOpenAI._prepare_options has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (4 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AsyncAzureOpenAI._prepare_options) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/azure.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f5bec755270be5d7ac0c4aedf91b323ac707acd479a114e4aadc731a80b8d3"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncAzureOpenAI._prepare_options (cognitive 16): AsyncAzureOpenAI._prepare_options has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (4 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AzureOpenAI._prepare_options) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/azure.py"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"623ffc26814c086e8f52dd289d550a63a299e9c7ec4d4609e1a810d2cf41316e"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponsesWebSocketSession._read (cognitive 16): ResponsesWebSocketSession._read has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 3 (5 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_websocket/_session.py"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"38218b589f197af19c439021f6caf1e1c5fef360e8343396e6b2bc28859db896"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncResponsesWebSocketSession._read (cognitive 16): AsyncResponsesWebSocketSession._read has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), error handling 4 (6 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_websocket/_session.py"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"596cf022d567b4ae80abc80c789383d77b17ce1d262df81640cf7a005932090f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/responses_tool_runner.py: FileTooLong \u2014 2442 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1942 over it, 4.88\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"470bcf66be2500f9ac6508bd83f838ba947207794d5b38c53ec975abb013eb13"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/check-dependency-security.py: FileTooLong \u2014 2231 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1731 over it, 4.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b66619aded68bb6a71dd02fb008e6de76e49cf13a1eebb8e124e13331537e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: responses/responses.py: FileTooLong \u2014 2117 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1617 over it, 4.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/responses/responses.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ee9c0c17d57ae4d0a0d188e3534c0f29fc2b99dbd835cc306e474991e48458"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: openai/_base_client.py: FileTooLong \u2014 1776 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1276 over it, 3.55\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c2f6a81ecab670a7a631e292b07cb42d832694f3ab0af98e46b1a99a8b3ce2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: responses/responses.py: FileTooLong \u2014 1589 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1089 over it, 3.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c9f9f7873643d9f7f56c1499509244587a0566fc4b20d6cdfec71c7a8e39dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runs/runs.py: FileTooLong \u2014 1571 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1071 over it, 3.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/threads/runs/runs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee04563cdd4a8f7d142f5c73483a992403b5beb15cf94b484d52fd51f445c86d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/browser.py: FileTooLong \u2014 1502 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1002 over it, 3.00\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"278e67d086e0e751e7361591690658ef85a3250b28f22d5c572c4f7d73c04224"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: openai/_client.py: FileTooLong \u2014 1294 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 794 over it, 2.59\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_client.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ead548d130f0da60f5ebaa3afe9db05c58de6820b1a9a42d6356ee7826948b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: completions/completions.py: FileTooLong \u2014 1146 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 646 over it, 2.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/chat/completions/completions.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e91a860ea1b2318809ac1be666a1e8fcf68805f2afd3ddecd61fcd579bb8bb1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: organization/usage.py: FileTooLong \u2014 1095 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 595 over it, 2.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/usage.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e8ff4cbe893c44dd57271c95d984f5ebeec427f149fd7222e84f54d6fee27d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: live/live.py: FileTooLong \u2014 947 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 447 over it, 1.89\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/live.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d725d2c879004d2242833c3a3c44c9437e0e71577272486920c1ed62642afe8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: realtime/realtime.py: FileTooLong \u2014 944 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 444 over it, 1.89\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/realtime/realtime.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f7be483cad72fbdb0d743ccb1aba1112ec358a91dba70fd5981a2f093b8e55"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: threads/threads.py: FileTooLong \u2014 928 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 428 over it, 1.86\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/threads/threads.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"362985df2baac761ffa2a5125e8ba4a15c17e38f13fc62b0b2186e57ffdf35a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: live/sideband.py: FileTooLong \u2014 870 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 370 over it, 1.74\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/sideband.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c2d28f01cc2b167888409c4dd0a72e24bee2ccef119c99750f347358341e12"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/_client_auth.py: FileTooLong \u2014 855 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 355 over it, 1.71\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_client_auth.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccf07abf43821bf9721824bf62e439e8f9fb1277895f4acfd934ae2b7d7f4f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: live/forks.py: FileTooLong \u2014 855 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 355 over it, 1.71\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d4b159b690dcf0c6ee2fb2171cd589b3f047a80185ea44ed09d08e2935d96b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/computer.py: FileTooLong \u2014 845 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 345 over it, 1.69\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/computer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8988b78fb788ddf50b7f135cdd908335c2f20c4ddb2b9cabdd655ede41622f5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: resources/videos.py: FileTooLong \u2014 781 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 281 over it, 1.56\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/videos.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"974b76b56376217b4e986d76775783fd8c457ed09bab335a310e5ff580f2598a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/bedrock.py: FileTooLong \u2014 765 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 265 over it, 1.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/bedrock.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fbc799194b6b0f523572ddb57d00ebac958df1be2d5646cb5817a6b0dd12e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: resources/images.py: FileTooLong \u2014 728 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 228 over it, 1.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/images.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48a74cf106018cc70ba8edb35fb0f469615bbdb4cf7742ff136bce94217d32a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sessions/sessions.py: FileTooLong \u2014 719 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 219 over it, 1.44\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/sessions/sessions.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff431d83d2acab191ad697fdcf9c1e8fcdb6ee862b81d960908d1b647e9de2d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: webhooks/webhooks.py: FileTooLong \u2014 707 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 207 over it, 1.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/webhooks/webhooks.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc648e33523271837f61b98c742c4eb49d4f9d2baf6cd28da48aa3b8c19d161"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/azure.py: FileTooLong \u2014 705 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 205 over it, 1.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/azure.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab565524211f5f3df2f1070778a327a10ab38ed0d47c2c1156cb96f08c29cf2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: translations/translations.py: FileTooLong \u2014 699 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 199 over it, 1.40\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/realtime/translations/translations.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e83fc4a876e35ba7a64620bd3a263778061ea5b9875225242f1ef21bc5622d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: openai/_models.py: FileTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 130 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_models.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66fc81fb56613a4f0d8133147ea9e93e78934f22f8840ec930be3147332fe97"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: projects/projects.py: FileTooLong \u2014 627 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 127 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/projects.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1275e60e8446409c759950b49abb002392f1a9cb92f40e2582e65e6c55435f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: responses_websocket/_accumulator.py: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 115 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_websocket/_accumulator.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcc44f8e33ba2402a72c3896e02fe2d6654d7fc105d6b208a02ad74c65736d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/_assistants_runs.py: FileTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 104 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_assistants_runs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfce5691e1f9ce66f70db98e838f4b02958f2305de9a28cff70c39a69fbba2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/_response_resources.py: FileTooLong \u2014 596 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 96 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_response_resources.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8706ef218cec5686bff4103c9c299e0f8665014852ecfba9e135903a0c7a17f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: vector_stores/files.py: FileTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 86 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/vector_stores/files.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"502e4a79c2adfd91eabea778afb99caa5aab3b3644ebffb710e5e995b26ba4dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: automations/automations.py: FileTooLong \u2014 576 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 76 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/automations/automations.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85af42e35c55d0a78b39aaa45448585300eb77ffc8e31107a29db123e2598152"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: streaming/_assistants.py: FileTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 71 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/_assistants.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e347783fa4aad4f3c5e4f2c9b2528c0069be4789a419df1ac8595c1348ff0b5a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: auth/_x509.py: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 63 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/auth/_x509.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b22bd4ec58ef22f596966f73cbc88d1a535fa6599b5eb172649a7f6ca41b22f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: responses_websocket/_session.py: FileTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 44 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_websocket/_session.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b153662ac2edc5a44a0c755e10b3d40603f72a8320c498881fb5703ed6dcda9b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: realtime/realtime.py: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 32 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/realtime/realtime.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89fd529ff758ff808b103e9723a63290d3e2444b8c9861514a6a03b1caf26a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: openai/_websocket_connection.py: FileTooLong \u2014 520 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 20 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_websocket_connection.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc4d587c8575f5e5f2683c313e9e53bf611e95f791e08f96674bf6e09e5c473"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: audio/transcriptions.py: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 17 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/audio/transcriptions.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"029cab9a8f79b593f1db213257473da8c893950eb3f862eaaf510686498d6588"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: organization/external_keys.py: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 8 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/external_keys.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2261dd025d386126026a600fa7e3db0cbea79b8abe65315a0fbe73d87ad13e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: beta/assistants.py: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 7 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/assistants.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5bf405d679c713d6a85275067b55a4859cf987d0e221f58c77b7ae0d034656"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (10 members, 21 shared lines): src/openai/resources/live/forks.py:457-511 | src/openai/resources/live/forks.py:883-937 | src/openai/resources/live/live.py:675-729 | src/openai/resources/live/live.py:1093-1147 | src/openai/resources/live/sideband.py:466-523 | src/openai/resources/live/sideband.py:901-958 | src/openai/resources/realtime/realtime.py:663-739 | src/openai/resources/realtime/realtime.py:1122-1196 | src/openai/resources/realtime/translations/translations.py:545-600 | src/openai/resources/realtime/translations/translations.py:969-1024 \u2014 These 10 members are variants of one another: a block of 21 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab4ada84e5c5bff1f558b7e8d07075e7ee6b79c89f561448e33a0bdb93beb3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (145 shared lines): src/openai/lib/browser.py:1469-1628 | src/openai/lib/browser.py:1726-1893 \u2014 These two members are variants of one another: 145 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4392b870e729bfc6e3a8c98bfd6aad5685f460db2b9ff83ba32518720867303"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (119 shared lines): src/openai/_legacy_response.py:199-337 | src/openai/_response.py:130-272 \u2014 These two members are variants of one another: 119 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_legacy_response.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecbf998990648faa7f3f2b25bce3caa3b2879ae95ff4cada98995e5c257282fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (114 shared lines): src/openai/lib/computer.py:666-785 | src/openai/lib/computer.py:876-997 \u2014 These two members are variants of one another: 114 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/computer.py"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f758c4c1cffd6844046e55603487f48410a14e18e1f4b695675d508a9116f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (110 shared lines): src/openai/lib/responses_tool_runner.py:1932-2187 | src/openai/lib/responses_tool_runner.py:2412-2664 \u2014 These two members are variants of one another: 110 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57cad63147cfe0411e096afed1276fbf2430d1c141165f29b15effb93016109"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (74 shared lines): src/openai/lib/decisions_tool_runner.py:351-442 | src/openai/lib/decisions_tool_runner.py:470-557 \u2014 These two members are variants of one another: 74 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/decisions_tool_runner.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc005c852b65797fd9f4c8682047845404552e871e3c686a6ebc15c5a5e2e5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (48 shared lines): src/openai/lib/streaming/_assistants.py:281-423 | src/openai/lib/streaming/_assistants.py:713-855 \u2014 These two members are variants of one another: 48 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/_assistants.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"570b1e756f878fb55e286539dc4f8166c2ac44cdf528742c22d84e7a30f54bdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): src/openai/resources/beta/agents/sessions/subagents/items.py:59-110 | src/openai/resources/beta/agents/sessions/subagents/turns/items.py:60-114 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/sessions/subagents/items.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e2978cd9188e32f9db60f844394b19df612eef551d94395d6e02bf4b140f9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): src/openai/resources/beta/agents/sessions/subagents/items.py:148-199 | src/openai/resources/beta/agents/sessions/subagents/turns/items.py:153-207 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/sessions/subagents/items.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3da7b00ab9916f8f6a3f8ea466e8d389b5c6136f020d8277fc1ecda2cea24d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (29 members, 50\u002B identical tokens): src/openai/resources/admin/organization/admin_api_keys.py:103-129 | src/openai/resources/admin/organization/external_keys.py:282-306 | src/openai/resources/admin/organization/external_storage.py:102-130 | src/openai/resources/admin/organization/groups/groups.py:118-142 | src/openai/resources/admin/organization/invites.py:112-136 | src/openai/resources/admin/organization/projects/data_retention.py:53-77 | src/openai/resources/admin/organization/projects/hosted_tool_permissions.py:53-77 | src/openai/resources/admin/organization/projects/model_permissions.py:54-78 | src/openai/resources/admin/organization/projects/projects.py:269-293 | src/openai/resources/admin/organization/projects/spend_limit.py:54-78 | src/openai/resources/admin/organization/roles.py:107-131 | src/openai/resources/admin/organization/spend_alerts.py:110-134 | src/openai/resources/admin/organization/users/users.py:67-91 | src/openai/resources/audio/voice_consents.py:119-143 | src/openai/resources/batches.py:147-171 | src/openai/resources/chat/completions/completions.py:1680-1706 | src/openai/resources/containers/containers.py:132-156 | src/openai/resources/conversations/conversations.py:124-148 | src/openai/resources/evals/evals.py:144-168 | src/openai/resources/files.py:168-192 | src/openai/resources/files.py:343-367 | src/openai/resources/fine_tuning/jobs/jobs.py:196-222 | src/openai/resources/models.py:54-79 | src/openai/resources/safety/alerts.py:50-76 | src/openai/resources/safety/cases.py:50-76 | src/openai/resources/skills/skills.py:137-161 | src/openai/resources/videos.py:150-174 | src/openai/resources/videos.py:496-520 | src/openai/resources/webhooks/webhooks.py:162-188 \u2014 These 29 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 29 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 29 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/admin_api_keys.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c7f86b5a01cccc32edebf85601cb92ba57daf8615b1996e18309b24f852638"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (29 members, 50\u002B identical tokens): src/openai/resources/admin/organization/admin_api_keys.py:300-326 | src/openai/resources/admin/organization/external_keys.py:690-714 | src/openai/resources/admin/organization/external_storage.py:343-371 | src/openai/resources/admin/organization/groups/groups.py:356-380 | src/openai/resources/admin/organization/invites.py:316-340 | src/openai/resources/admin/organization/projects/data_retention.py:161-185 | src/openai/resources/admin/organization/projects/hosted_tool_permissions.py:173-197 | src/openai/resources/admin/organization/projects/model_permissions.py:199-223 | src/openai/resources/admin/organization/projects/projects.py:592-616 | src/openai/resources/admin/organization/projects/spend_limit.py:204-228 | src/openai/resources/admin/organization/roles.py:360-384 | src/openai/resources/admin/organization/spend_alerts.py:377-401 | src/openai/resources/admin/organization/users/users.py:280-304 | src/openai/resources/audio/voice_consents.py:371-395 | src/openai/resources/batches.py:389-413 | src/openai/resources/chat/completions/completions.py:3483-3509 | src/openai/resources/containers/containers.py:357-381 | src/openai/resources/conversations/conversations.py:325-349 | src/openai/resources/evals/evals.py:428-452 | src/openai/resources/files.py:509-533 | src/openai/resources/files.py:684-708 | src/openai/resources/fine_tuning/jobs/jobs.py:607-633 | src/openai/resources/models.py:181-206 | src/openai/resources/safety/alerts.py:110-136 | src/openai/resources/safety/cases.py:110-136 | src/openai/resources/skills/skills.py:380-404 | src/openai/resources/videos.py:735-759 | src/openai/resources/videos.py:1083-1107 | src/openai/resources/webhooks/webhooks.py:652-678 \u2014 These 29 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 29 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 29 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/admin_api_keys.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"4297bb7f743e450357023696c0ecc782f9938507ad0ca0fe636920e1fa38dfe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (26 members, 50\u002B identical tokens): src/openai/_client.py:306-343 | src/openai/_client.py:601-628 | src/openai/_client.py:833-870 | src/openai/_client.py:1128-1155 | src/openai/lib/_chat_completion_resources.py:325-380 | src/openai/lib/_chat_completion_resources.py:429-483 | src/openai/lib/_response_resources.py:359-480 | src/openai/lib/_response_resources.py:527-647 | src/openai/resources/beta/threads/runs/runs.py:124-152 | src/openai/resources/beta/threads/runs/runs.py:240-265 | src/openai/resources/beta/threads/runs/runs.py:381-407 | src/openai/resources/beta/threads/runs/runs.py:1667-1695 | src/openai/resources/beta/threads/runs/runs.py:1783-1807 | src/openai/resources/beta/threads/runs/runs.py:1925-1951 | src/openai/resources/beta/threads/threads.py:124-149 | src/openai/resources/beta/threads/threads.py:231-254 | src/openai/resources/beta/threads/threads.py:1204-1229 | src/openai/resources/beta/threads/threads.py:1314-1337 | src/openai/resources/chat/completions/completions.py:135-218 | src/openai/resources/chat/completions/completions.py:264-327 | src/openai/resources/chat/completions/completions.py:1938-2021 | src/openai/resources/chat/completions/completions.py:2067-2130 | src/openai/resources/responses/responses.py:260-302 | src/openai/resources/responses/responses.py:404-445 | src/openai/resources/responses/responses.py:2178-2220 | src/openai/resources/responses/responses.py:2322-2363 \u2014 These 26 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 26 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 26 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_client.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"924a26022234fdf3d0b6301f1202e8c9da447f7e67bfc9bd5c2380d0a9c39a1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (23 members, 50\u002B identical tokens): src/openai/resources/admin/organization/certificates.py:715-737 | src/openai/resources/admin/organization/groups/groups.py:519-535 | src/openai/resources/admin/organization/projects/roles.py:565-581 | src/openai/resources/admin/organization/projects/service_accounts/service_accounts.py:616-632 | src/openai/resources/admin/organization/projects/spend_alerts.py:606-622 | src/openai/resources/admin/organization/projects/users/users.py:572-588 | src/openai/resources/admin/organization/roles.py:533-549 | src/openai/resources/admin/organization/spend_alerts.py:560-576 | src/openai/resources/audio/voice_consents.py:531-547 | src/openai/resources/beta/agents/agents.py:817-833 | src/openai/resources/beta/agents/automations/automations.py:925-947 | src/openai/resources/beta/agents/environments/templates.py:723-739 | src/openai/resources/beta/agents/sessions/sessions.py:928-944 | src/openai/resources/beta/agents/vaults/credentials.py:640-656 | src/openai/resources/beta/agents/vaults/vaults.py:602-618 | src/openai/resources/beta/assistants.py:1159-1175 | src/openai/resources/beta/threads/messages.py:634-650 | src/openai/resources/chat/completions/completions.py:3668-3688 | src/openai/resources/evals/evals.py:607-623 | src/openai/resources/skills/skills.py:542-558 | src/openai/resources/vector_stores/files.py:896-915 | src/openai/resources/vector_stores/vector_stores.py:794-813 | src/openai/resources/webhooks/webhooks.py:1027-1049 \u2014 These 23 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 23 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 23 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/certificates.py"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"8873a58b8a881e75745c2c89df1a1f79f4fbd8579d6b757b52ed340bf2bc716c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (23 members, 50\u002B identical tokens): src/openai/resources/admin/organization/certificates.py:742-764 | src/openai/resources/admin/organization/groups/groups.py:548-564 | src/openai/resources/admin/organization/projects/roles.py:586-602 | src/openai/resources/admin/organization/projects/service_accounts/service_accounts.py:641-657 | src/openai/resources/admin/organization/projects/spend_alerts.py:627-643 | src/openai/resources/admin/organization/projects/users/users.py:597-613 | src/openai/resources/admin/organization/roles.py:554-570 | src/openai/resources/admin/organization/spend_alerts.py:581-597 | src/openai/resources/audio/voice_consents.py:552-568 | src/openai/resources/beta/agents/agents.py:854-870 | src/openai/resources/beta/agents/automations/automations.py:956-978 | src/openai/resources/beta/agents/environments/templates.py:744-760 | src/openai/resources/beta/agents/sessions/sessions.py:973-989 | src/openai/resources/beta/agents/vaults/credentials.py:661-677 | src/openai/resources/beta/agents/vaults/vaults.py:627-643 | src/openai/resources/beta/assistants.py:1180-1196 | src/openai/resources/beta/threads/messages.py:655-671 | src/openai/resources/chat/completions/completions.py:3700-3720 | src/openai/resources/evals/evals.py:633-649 | src/openai/resources/skills/skills.py:571-587 | src/openai/resources/vector_stores/files.py:920-939 | src/openai/resources/vector_stores/vector_stores.py:826-845 | src/openai/resources/webhooks/webhooks.py:1058-1080 \u2014 These 23 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 23 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 23 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/certificates.py"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12ab12ad1b5a7dad2f70de51d75604acc6af7a16cd0d87cd2714a06f35775b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (21 members, 50\u002B identical tokens): src/openai/resources/admin/organization/admin_api_keys.py:194-220 | src/openai/resources/admin/organization/certificates.py:260-286 | src/openai/resources/admin/organization/external_keys.py:369-393 | src/openai/resources/admin/organization/external_storage.py:193-225 | src/openai/resources/admin/organization/groups/groups.py:252-276 | src/openai/resources/admin/organization/invites.py:201-226 | src/openai/resources/admin/organization/projects/model_permissions.py:141-165 | src/openai/resources/admin/organization/projects/spend_limit.py:146-170 | src/openai/resources/admin/organization/roles.py:251-275 | src/openai/resources/admin/organization/spend_alerts.py:264-288 | src/openai/resources/admin/organization/users/users.py:218-242 | src/openai/resources/audio/voice_consents.py:250-274 | src/openai/resources/audio/voices.py:207-238 | src/openai/resources/chat/completions/completions.py:1834-1860 | src/openai/resources/conversations/conversations.py:206-231 | src/openai/resources/evals/evals.py:294-318 | src/openai/resources/files.py:267-291 | src/openai/resources/models.py:119-145 | src/openai/resources/skills/skills.py:268-292 | src/openai/resources/videos.py:242-266 | src/openai/resources/webhooks/webhooks.py:336-362 \u2014 These 21 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 21 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 21 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/admin_api_keys.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88ef476f61ccab48cd09da6ef5d6680d76bd60255e41b5365951274c3c5c6d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (21 members, 50\u002B identical tokens): src/openai/resources/admin/organization/admin_api_keys.py:391-417 | src/openai/resources/admin/organization/certificates.py:600-626 | src/openai/resources/admin/organization/external_keys.py:777-801 | src/openai/resources/admin/organization/external_storage.py:434-466 | src/openai/resources/admin/organization/groups/groups.py:490-514 | src/openai/resources/admin/organization/invites.py:405-430 | src/openai/resources/admin/organization/projects/model_permissions.py:286-310 | src/openai/resources/admin/organization/projects/spend_limit.py:296-320 | src/openai/resources/admin/organization/roles.py:504-528 | src/openai/resources/admin/organization/spend_alerts.py:531-555 | src/openai/resources/admin/organization/users/users.py:431-455 | src/openai/resources/audio/voice_consents.py:502-526 | src/openai/resources/audio/voices.py:423-454 | src/openai/resources/chat/completions/completions.py:3637-3663 | src/openai/resources/conversations/conversations.py:409-434 | src/openai/resources/evals/evals.py:578-602 | src/openai/resources/files.py:608-632 | src/openai/resources/models.py:246-272 | src/openai/resources/skills/skills.py:513-537 | src/openai/resources/videos.py:827-851 | src/openai/resources/webhooks/webhooks.py:826-852 \u2014 These 21 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 21 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 21 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/admin_api_keys.py"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"e228fda693fbeb0eafcd61e5b1f7a1b085beae9fc5f4b8fd71b1133137f095cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (20 members, 50\u002B identical tokens): src/openai/resources/audio/transcriptions.py:596-742 | src/openai/resources/audio/transcriptions.py:1286-1432 | src/openai/resources/audio/translations.py:152-227 | src/openai/resources/audio/translations.py:340-415 | src/openai/resources/audio/voice_consents.py:60-106 | src/openai/resources/audio/voice_consents.py:312-358 | src/openai/resources/audio/voices.py:165-194 | src/openai/resources/audio/voices.py:381-410 | src/openai/resources/files.py:76-155 | src/openai/resources/files.py:417-496 | src/openai/resources/images.py:68-137 | src/openai/resources/images.py:1244-1313 | src/openai/resources/videos.py:85-136 | src/openai/resources/videos.py:281-321 | src/openai/resources/videos.py:381-422 | src/openai/resources/videos.py:438-482 | src/openai/resources/videos.py:670-721 | src/openai/resources/videos.py:866-906 | src/openai/resources/videos.py:968-1009 | src/openai/resources/videos.py:1025-1069 \u2014 These 20 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 20 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 20 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/audio/transcriptions.py"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1cb000f94198a2f6a466529d8654ed1fab1522822812d7750d036b153c13ffb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): src/openai/resources/beta/responses/responses.py:4995-5007 | src/openai/resources/beta/responses/responses.py:5325-5337 | src/openai/resources/live/forks.py:271-283 | src/openai/resources/live/forks.py:703-715 | src/openai/resources/live/live.py:491-503 | src/openai/resources/live/live.py:916-928 | src/openai/resources/live/sideband.py:278-290 | src/openai/resources/live/sideband.py:719-731 | src/openai/resources/realtime/realtime.py:471-483 | src/openai/resources/realtime/realtime.py:936-948 | src/openai/resources/realtime/translations/translations.py:356-368 | src/openai/resources/realtime/translations/translations.py:786-798 | src/openai/resources/responses/responses.py:4184-4196 | src/openai/resources/responses/responses.py:4515-4527 \u2014 These 14 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 14 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":4995}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0be4b7f06e6cfd772b88174a41ab06d77025a888745ab359111f4a19b65c25a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): src/openai/resources/beta/responses/responses.py:5124-5133 | src/openai/resources/beta/responses/responses.py:5448-5457 | src/openai/resources/live/forks.py:402-411 | src/openai/resources/live/forks.py:828-837 | src/openai/resources/live/live.py:620-629 | src/openai/resources/live/live.py:1038-1047 | src/openai/resources/live/sideband.py:411-420 | src/openai/resources/live/sideband.py:846-855 | src/openai/resources/realtime/realtime.py:608-617 | src/openai/resources/realtime/realtime.py:1067-1076 | src/openai/resources/realtime/translations/translations.py:490-499 | src/openai/resources/realtime/translations/translations.py:914-923 | src/openai/resources/responses/responses.py:4313-4322 | src/openai/resources/responses/responses.py:4638-4647 \u2014 These 14 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 14 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":5124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be69719e22912af8ad2d906b51b8fe96039f19b39613d0c61ae4400a67fdb92"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): src/openai/resources/beta/responses/responses.py:5136-5166 | src/openai/resources/beta/responses/responses.py:5460-5490 | src/openai/resources/live/forks.py:414-452 | src/openai/resources/live/forks.py:840-878 | src/openai/resources/live/live.py:632-670 | src/openai/resources/live/live.py:1050-1088 | src/openai/resources/live/sideband.py:423-461 | src/openai/resources/live/sideband.py:858-896 | src/openai/resources/realtime/realtime.py:620-658 | src/openai/resources/realtime/realtime.py:1079-1117 | src/openai/resources/realtime/translations/translations.py:502-540 | src/openai/resources/realtime/translations/translations.py:926-964 | src/openai/resources/responses/responses.py:4325-4355 | src/openai/resources/responses/responses.py:4650-4680 \u2014 These 14 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 14 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":5136}}}],"partialFingerprints":{"codehealthFindingId/v1":"00eb932cbee79007ccb4dd6fe07acc5b2aa1a1511802978757d06a77455af572"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): src/openai/resources/beta/responses/responses.py:5185-5194 | src/openai/resources/beta/responses/responses.py:5509-5518 | src/openai/resources/live/forks.py:514-528 | src/openai/resources/live/forks.py:940-954 | src/openai/resources/live/live.py:732-741 | src/openai/resources/live/live.py:1150-1159 | src/openai/resources/live/sideband.py:526-540 | src/openai/resources/live/sideband.py:961-975 | src/openai/resources/realtime/realtime.py:742-751 | src/openai/resources/realtime/realtime.py:1199-1208 | src/openai/resources/realtime/translations/translations.py:603-612 | src/openai/resources/realtime/translations/translations.py:1027-1036 | src/openai/resources/responses/responses.py:4374-4383 | src/openai/resources/responses/responses.py:4699-4708 \u2014 These 14 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 14 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":5185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c31febcff8bb2f71476818ad91981844d6fdbc8f786708a13c1eebde8c94f72"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (13 members, 50\u002B identical tokens): src/openai/resources/beta/agents/agents.py:583-610 | src/openai/resources/beta/agents/environments/environments.py:314-341 | src/openai/resources/beta/agents/sessions/events.py:221-251 | src/openai/resources/beta/agents/sessions/sessions.py:714-741 | src/openai/resources/beta/agents/vaults/vaults.py:404-431 | src/openai/resources/beta/assistants.py:832-857 | src/openai/resources/beta/chatkit/threads.py:280-305 | src/openai/resources/beta/threads/threads.py:1414-1439 | src/openai/resources/files.py:645-670 | src/openai/resources/live/sessions.py:400-428 | src/openai/resources/skills/content.py:113-138 | src/openai/resources/vector_stores/vector_stores.py:533-558 | src/openai/resources/videos.py:921-953 \u2014 These 13 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 13 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 13 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/agents.py"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"308db865a3b810d1350abed25360844f640f36ca4256317108207553560f844e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): src/openai/resources/admin/organization/groups/roles.py:99-125 | src/openai/resources/admin/organization/groups/users.py:99-125 | src/openai/resources/admin/organization/projects/groups/groups.py:119-150 | src/openai/resources/admin/organization/projects/roles.py:111-137 | src/openai/resources/admin/organization/projects/spend_alerts.py:118-146 | src/openai/resources/admin/organization/projects/users/users.py:124-152 | src/openai/resources/admin/organization/users/roles.py:99-125 | src/openai/resources/containers/files/files.py:132-158 | src/openai/resources/evals/runs/runs.py:137-163 | src/openai/resources/skills/versions/versions.py:138-166 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/groups/roles.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5072d79edc17130b63438b343264e1452c3d2d8d37ac4adf63e78c4254d8d433"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): src/openai/resources/admin/organization/groups/roles.py:195-221 | src/openai/resources/admin/organization/groups/users.py:196-222 | src/openai/resources/admin/organization/projects/groups/groups.py:220-248 | src/openai/resources/admin/organization/projects/roles.py:265-291 | src/openai/resources/admin/organization/projects/spend_alerts.py:285-313 | src/openai/resources/admin/organization/projects/users/users.py:267-298 | src/openai/resources/admin/organization/users/roles.py:195-221 | src/openai/resources/conversations/items.py:240-268 | src/openai/resources/evals/runs/runs.py:238-264 | src/openai/resources/skills/versions/versions.py:235-263 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/groups/roles.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ae0721aa7a8057a92d3d05c7b250a0f5adb02caaab23c3c45a5ccadca0a24b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): src/openai/resources/admin/organization/groups/roles.py:297-323 | src/openai/resources/admin/organization/groups/users.py:298-324 | src/openai/resources/admin/organization/projects/groups/groups.py:338-371 | src/openai/resources/admin/organization/projects/roles.py:380-406 | src/openai/resources/admin/organization/projects/spend_alerts.py:406-434 | src/openai/resources/admin/organization/projects/users/users.py:393-421 | src/openai/resources/admin/organization/users/roles.py:297-323 | src/openai/resources/containers/files/files.py:360-386 | src/openai/resources/evals/runs/runs.py:407-433 | src/openai/resources/skills/versions/versions.py:360-388 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/groups/roles.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6224dcec6ba3ff86519a97baf1cd8cd22d8b4ad234243041db855e1e74088f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): src/openai/resources/admin/organization/groups/roles.py:393-419 | src/openai/resources/admin/organization/groups/users.py:395-421 | src/openai/resources/admin/organization/projects/groups/groups.py:441-469 | src/openai/resources/admin/organization/projects/roles.py:534-560 | src/openai/resources/admin/organization/projects/spend_alerts.py:573-601 | src/openai/resources/admin/organization/projects/users/users.py:536-567 | src/openai/resources/admin/organization/users/roles.py:393-419 | src/openai/resources/conversations/items.py:483-511 | src/openai/resources/evals/runs/runs.py:508-534 | src/openai/resources/skills/versions/versions.py:457-485 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/groups/roles.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9500a743152a5bb582168b88744ac8ac03589e37f733f6730369c14ecfcc9b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): src/openai/resources/beta/agents/agents.py:408-435 | src/openai/resources/beta/agents/automations/automations.py:369-395 | src/openai/resources/beta/agents/sessions/sessions.py:471-500 | src/openai/resources/beta/agents/vaults/vaults.py:287-314 | src/openai/resources/beta/assistants.py:568-593 | src/openai/resources/beta/chatkit/threads.py:159-184 | src/openai/resources/beta/threads/threads.py:430-455 | src/openai/resources/containers/containers.py:231-256 | src/openai/resources/responses/responses.py:1616-1641 | src/openai/resources/vector_stores/vector_stores.py:326-351 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/agents.py"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"475f0149174df158576649cef64f7c772db44ee778c77462e270e131e40a7fd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): src/openai/resources/beta/agents/agents.py:785-812 | src/openai/resources/beta/agents/automations/automations.py:811-837 | src/openai/resources/beta/agents/sessions/sessions.py:894-923 | src/openai/resources/beta/agents/vaults/vaults.py:570-597 | src/openai/resources/beta/assistants.py:1129-1154 | src/openai/resources/beta/chatkit/threads.py:382-407 | src/openai/resources/beta/threads/threads.py:1513-1538 | src/openai/resources/containers/containers.py:456-481 | src/openai/resources/responses/responses.py:3534-3559 | src/openai/resources/vector_stores/vector_stores.py:697-722 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/agents.py"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"dace8ec4c9f199ee173bef594271553fbbf2f577c3f57a435bc04cea0e0fcbb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): src/openai/resources/live/forks.py:181-196 | src/openai/resources/live/forks.py:611-626 | src/openai/resources/live/live.py:401-416 | src/openai/resources/live/live.py:824-839 | src/openai/resources/live/sideband.py:186-201 | src/openai/resources/live/sideband.py:625-640 | src/openai/resources/realtime/realtime.py:373-388 | src/openai/resources/realtime/realtime.py:838-853 | src/openai/resources/realtime/translations/translations.py:263-278 | src/openai/resources/realtime/translations/translations.py:691-706 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e20e6c4d10f2d4ed44c4d23ce8fece72a6ae28d888c4c75a8f35a5d2a467a10"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): src/openai/resources/live/forks.py:199-217 | src/openai/resources/live/forks.py:629-649 | src/openai/resources/live/live.py:419-437 | src/openai/resources/live/live.py:842-862 | src/openai/resources/live/sideband.py:204-222 | src/openai/resources/live/sideband.py:643-663 | src/openai/resources/realtime/realtime.py:391-409 | src/openai/resources/realtime/realtime.py:856-876 | src/openai/resources/realtime/translations/translations.py:281-299 | src/openai/resources/realtime/translations/translations.py:709-729 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1aec78b2134cf9286ef0aa5490e44a420115672f2941d4cde11875e658e58f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): src/openai/resources/admin/organization/external_keys.py:406-430 | src/openai/resources/admin/organization/external_storage.py:238-266 | src/openai/resources/admin/organization/projects/projects.py:419-445 | src/openai/resources/batches.py:237-264 | src/openai/resources/fine_tuning/jobs/jobs.py:293-317 | src/openai/resources/fine_tuning/jobs/jobs.py:381-405 | src/openai/resources/fine_tuning/jobs/jobs.py:418-442 | src/openai/resources/responses/responses.py:1654-1681 | src/openai/resources/uploads/uploads.py:222-249 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/external_keys.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d72f96d96a01aa8017802aeb8d62f22bd0258829f48793b94f0cf50b53de903"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): src/openai/resources/admin/organization/external_keys.py:814-838 | src/openai/resources/admin/organization/external_storage.py:479-507 | src/openai/resources/admin/organization/projects/projects.py:742-768 | src/openai/resources/batches.py:479-506 | src/openai/resources/fine_tuning/jobs/jobs.py:704-728 | src/openai/resources/fine_tuning/jobs/jobs.py:792-816 | src/openai/resources/fine_tuning/jobs/jobs.py:829-853 | src/openai/resources/responses/responses.py:3572-3599 | src/openai/resources/uploads/uploads.py:502-529 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/external_keys.py"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b4d56fd22539a75de3b02fd679a012c10f9ac2442b59d23bf781d8df6b5f35"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): src/openai/_base_client.py:1460-1474 | src/openai/_base_client.py:1486-1500 | src/openai/_base_client.py:1512-1526 | src/openai/_base_client.py:1537-1547 | src/openai/_base_client.py:2071-2085 | src/openai/_base_client.py:2097-2116 | src/openai/_base_client.py:2128-2142 | src/openai/_base_client.py:2153-2163 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded4ad318c24905eacbd7f6bfd55c8b978a8b6307703a163daf2fa02394e56ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/openai/_websocket_connection.py:225-244 | src/openai/resources/live/forks.py:582-608 | src/openai/resources/live/live.py:795-821 | src/openai/resources/live/sideband.py:596-622 | src/openai/resources/realtime/realtime.py:809-835 | src/openai/resources/realtime/translations/translations.py:662-688 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_websocket_connection.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"175e4204993c74aa7c8342207f5b603dc20faec86cb1a1f9bb31b87ee0fd9a92"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/openai/_websocket_connection.py:453-472 | src/openai/resources/live/forks.py:152-178 | src/openai/resources/live/live.py:372-398 | src/openai/resources/live/sideband.py:157-183 | src/openai/resources/realtime/realtime.py:344-370 | src/openai/resources/realtime/translations/translations.py:234-260 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_websocket_connection.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6f2bec20e0fba5e7b66bc0678e050319cbd0e1323c2def22a21c446b8c59f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/openai/resources/live/forks.py:133-149 | src/openai/resources/live/forks.py:563-579 | src/openai/resources/live/live.py:353-369 | src/openai/resources/live/live.py:776-792 | src/openai/resources/live/sideband.py:137-154 | src/openai/resources/live/sideband.py:576-593 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f91f169fb1dc4768ac73489ac2811126a4553a5a2d2b31b62f5cee64094583"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/openai/resources/live/forks.py:286-313 | src/openai/resources/live/forks.py:718-739 | src/openai/resources/live/live.py:506-533 | src/openai/resources/live/live.py:931-952 | src/openai/resources/live/sideband.py:293-320 | src/openai/resources/live/sideband.py:734-755 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e758aa337c4e974058b7654d79465bf5bf4ed41733181b82ae4a3859eba09f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/openai/resources/beta/agents/sessions/artifacts.py:186-217 | src/openai/resources/beta/agents/vaults/credentials.py:301-332 | src/openai/resources/beta/threads/messages.py:300-327 | src/openai/resources/containers/files/files.py:233-260 | src/openai/resources/vector_stores/files.py:302-335 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/sessions/artifacts.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"add6ffcf38519cf79015704d4968e1837bbc673a86e5c65c81d4aaf7fb848813"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/openai/resources/beta/agents/sessions/artifacts.py:420-451 | src/openai/resources/beta/agents/vaults/credentials.py:604-635 | src/openai/resources/beta/threads/messages.py:602-629 | src/openai/resources/containers/files/files.py:461-488 | src/openai/resources/vector_stores/files.py:730-763 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/sessions/artifacts.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f34f42273d428792b44fd3d965088dacb3ab5b6a0e40bffee1daa8be4a7f1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/openai/lib/_assistants_runs.py:69-108 | src/openai/lib/_assistants_runs.py:437-476 | src/openai/lib/_assistants_threads.py:61-88 | src/openai/lib/_assistants_threads.py:188-217 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_assistants_runs.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3903a2f64956dff8f4c7f95ffa36bd389df7d6775e09773b6c33a8022e6ea81b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/openai/resources/admin/organization/groups/roles.py:141-181 | src/openai/resources/admin/organization/projects/groups/roles.py:153-195 | src/openai/resources/admin/organization/projects/users/roles.py:153-195 | src/openai/resources/admin/organization/users/roles.py:141-181 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/groups/roles.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8214a5c8d1a91b4f93a48e401391a715c3e502984d4129e64832d2c638c701c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/openai/resources/admin/organization/groups/roles.py:339-379 | src/openai/resources/admin/organization/projects/groups/roles.py:373-415 | src/openai/resources/admin/organization/projects/users/roles.py:373-415 | src/openai/resources/admin/organization/users/roles.py:339-379 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/groups/roles.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdef5c4d11bde3c045a538686a4b95183377bf79c8e6fac0f02b0728843f257"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/openai/resources/admin/organization/projects/api_keys.py:360-425 | src/openai/resources/admin/organization/projects/rate_limits.py:278-331 | src/openai/resources/admin/organization/projects/service_accounts/api_keys.py:143-191 | src/openai/resources/admin/organization/projects/service_accounts/service_accounts.py:468-509 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/api_keys.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0245a9103b3a0191314c880d5caffb545749d0dc9e009bc53b6c6c6ae4d8d3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/openai/resources/beta/agents/automations/invocations.py:54-79 | src/openai/resources/beta/chatkit/sessions.py:123-150 | src/openai/resources/live/sessions.py:204-229 | src/openai/resources/realtime/calls.py:317-342 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/automations/invocations.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"15eb44719c78cb29c8cc6eb6aed93187f7e9811d1a1210271a3db4d0653c4654"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/openai/resources/beta/agents/automations/invocations.py:217-242 | src/openai/resources/beta/chatkit/sessions.py:246-273 | src/openai/resources/live/sessions.py:492-517 | src/openai/resources/realtime/calls.py:705-730 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/automations/invocations.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"15467bbf3cf8a16dc6be019d83753f66d37ba97f0b747dbe94153b6d3ed02259"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/openai/resources/content_provenance_checks.py:54-94 | src/openai/resources/content_provenance_checks.py:128-170 | src/openai/resources/uploads/parts.py:57-102 | src/openai/resources/uploads/parts.py:139-184 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/content_provenance_checks.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2613352d87c8000b796df8f0c9de8166ca5165769b3095e6ba1df49006cc5ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/openai/resources/realtime/realtime.py:486-513 | src/openai/resources/realtime/realtime.py:951-972 | src/openai/resources/realtime/translations/translations.py:371-398 | src/openai/resources/realtime/translations/translations.py:801-822 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/realtime/realtime.py"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"768359f91b875deff5dc7f788fea16e2b74354c9be8b2130fa21cd0a9b3ba724"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (121 lines \u00D7 2): src/openai/lib/_client_auth.py:122-242 | src/openai/lib/_client_auth.py:588-708 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060_sdk_client.OpenAI\u0060 in one and \u0060_sdk_client.AsyncOpenAI\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_client_auth.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24fc6f8d4f9420bb0687d43755f2561828a2a7b55f1547b76cb4aa434311a27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (93 lines \u00D7 2): src/openai/lib/azure.py:281-373 | src/openai/lib/azure.py:658-750 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/azure.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce13e1ab0f0310c72e2b4f6c34137a3d92050aee6d6afb20b78cf70b7788b8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (90 lines \u00D7 2): src/openai/lib/_client_auth.py:460-549 | src/openai/lib/_client_auth.py:933-1022 \u2014 both copies are in the same file, so extract the block 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":"src/openai/lib/_client_auth.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"492ec69e123c4b904c37d8f01c3c8b06456a6bfc04692c14564f4f1f339c2750"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (71 lines \u00D7 2): src/openai/lib/bedrock.py:565-635 | src/openai/lib/bedrock.py:803-873 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/bedrock.py"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"2511de30fa0b64428e3fc44f2ef1b17e05c36553c4b5b15e66fda3b2af3d3243"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201355 lines \u00D7 4): src/openai/resources/admin/organization/projects/api_keys.py:360-414 | src/openai/resources/admin/organization/projects/rate_limits.py:278-320 | src/openai/resources/admin/organization/projects/service_accounts/api_keys.py:143-180 | src/openai/resources/admin/organization/projects/service_accounts/service_accounts.py:468-498 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/projects/api_keys.py\u0060 and \u0060src/openai/resources/admin/organization/projects/service_accounts/service_accounts.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 183 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/projects/api_keys.py:360\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/admin/organization/projects/api_keys.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"865c9c02779904078fd31f26015c86288c64d758f70bdad8c74db0488c158c0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): src/openai/lib/azure.py:404-455 | src/openai/lib/azure.py:781-832 \u2014 both copies are in the same file, so extract the block 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":"src/openai/lib/azure.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ec975a473bd9aae43d43418b647ed8eca66198fd81564e5c3860f6a67e1760"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): src/openai/_legacy_response.py:212-259 | src/openai/_response.py:143-190 \u2014 before extracting anything, compare \u0060src/openai/_legacy_response.py\u0060 and \u0060src/openai/_response.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/_response.py:193\u0060 calls \u0060cast\u0060 and \u0060src/openai/_legacy_response.py:262\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_legacy_response.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"1810320e8f5147c00c369fb6810d16ce211bbb580ace8a393e242a82a377478b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46\u201347 lines \u00D7 2): src/openai/lib/browser.py:1500-1545 | src/openai/lib/browser.py:1758-1804 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/browser.py:1500\u0060 it begins part-way through the construct above it, so those exact 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":"src/openai/lib/browser.py"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfa0a3d4d68d76d042c3e6f41f03af2753f5c19d61cf091e66432f3d17cdfd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): src/openai/_streaming.py:72-116 | src/openai/_streaming.py:192-236 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"src/openai/_streaming.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e548bef815b6b8ca3c3614707b2959ae7a1a966e726aa548abfbc3d04a6e48a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201344 lines \u00D7 2): src/openai/lib/browser.py:1583-1625 | src/openai/lib/browser.py:1847-1890 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/browser.py:1847\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fa4d7fe1581d072356f8717e1bc2aefc5ebf8a3a80db28ebd61b27b4fa273c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201341 lines \u00D7 2): src/openai/lib/computer.py:700-739 | src/openai/lib/computer.py:913-953 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/computer.py:913\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/openai/lib/computer.py"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"12879dce008b328975ce6db619f963ed8c5425e76d50cb742d0168213707c4d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): src/openai/resources/admin/organization/projects/groups/roles.py:153-193 | src/openai/resources/admin/organization/projects/users/roles.py:153-193 \u2014 \u0060src/openai/resources/admin/organization/projects/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/projects/users/roles.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 14 separate duplicated blocks between them, totalling at least 350 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 \u0060src/openai/resources/admin/organization/projects/groups/roles.py:153\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060RoleListResponse\u0060 names \u0060......types.admin.organization.projects.groups.role_list_response\u0060 in one and \u0060......types.admin.organization.projects.users.role_list_response\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/groups/roles.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd332d6d5548036f3a059fe162495446b3aa3bac685ff81a66096140e0d2c3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): src/openai/resources/admin/organization/projects/groups/roles.py:373-413 | src/openai/resources/admin/organization/projects/users/roles.py:373-413 \u2014 \u0060src/openai/resources/admin/organization/projects/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/projects/users/roles.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 14 separate duplicated blocks between them, totalling at least 350 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 \u0060src/openai/resources/admin/organization/projects/groups/roles.py:373\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060RoleListResponse\u0060 names \u0060......types.admin.organization.projects.groups.role_list_response\u0060 in one and \u0060......types.admin.organization.projects.users.role_list_response\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/groups/roles.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3bd9bdc8163680caea312f10cf80b04f9c7cafb71e2d6cc7fdb7b6b752c198a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): src/openai/lib/_assistants_runs.py:139-178 | src/openai/lib/_assistants_runs.py:263-302 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/_assistants_runs.py:139\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/lib/_assistants_runs.py:303\u0060 calls \u0060maybe_transform\u0060 and \u0060src/openai/lib/_assistants_runs.py:179\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_assistants_runs.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1020f9dc91cca2458887a701fb12cefb84dfba94043ed8a215ff5e5a7233991a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201339 lines \u00D7 2): src/openai/lib/_assistants_runs.py:506-543 | src/openai/lib/_assistants_runs.py:628-666 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/_assistants_runs.py:506\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/lib/_assistants_runs.py:667\u0060 calls \u0060maybe_transform\u0060 and \u0060src/openai/lib/_assistants_runs.py:544\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_assistants_runs.py"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b255cebae87bf01e561db6947d9ac7c5d5a428687257440d352544241f92f27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): src/openai/resources/admin/organization/groups/roles.py:141-179 | src/openai/resources/admin/organization/users/roles.py:141-179 \u2014 \u0060src/openai/resources/admin/organization/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/users/roles.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 14 separate duplicated blocks between them, totalling at least 340 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 \u0060src/openai/resources/admin/organization/groups/roles.py:141\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060RoleListResponse\u0060 names \u0060.....types.admin.organization.groups.role_list_response\u0060 in one and \u0060.....types.admin.organization.users.role_list_response\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/groups/roles.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45c9e7e75523bdbad6f6204d669ec67df3c290e98c423745e6bbad18415043c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): src/openai/resources/admin/organization/groups/roles.py:339-377 | src/openai/resources/admin/organization/users/roles.py:339-377 \u2014 \u0060src/openai/resources/admin/organization/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/users/roles.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 14 separate duplicated blocks between them, totalling at least 340 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 \u0060src/openai/resources/admin/organization/groups/roles.py:339\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060RoleListResponse\u0060 names \u0060.....types.admin.organization.groups.role_list_response\u0060 in one and \u0060.....types.admin.organization.users.role_list_response\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/groups/roles.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada13e67cbfe9bd13e76cbfbc5a3e56016eebf6102edc245060ac402a8bf4b16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 2): src/openai/lib/responses_tool_runner.py:2278-2315 | src/openai/lib/responses_tool_runner.py:2750-2786 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/responses_tool_runner.py:2278\u0060 it begins part-way through the construct above it, so those exact 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":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":2278}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad98ddef078729a07ee176b5c5543ad79a49503ced343908153e60f40129f297"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): src/openai/_websocket_connection.py:315-351 | src/openai/_websocket_connection.py:542-578 \u2014 both copies are in the same file, so extract the block 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":"src/openai/_websocket_connection.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1abacf2cc935290148443b72f066ed8e042750e6e0cba70bfdc5ee6e5064ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): src/openai/lib/bedrock.py:448-484 | src/openai/lib/bedrock.py:684-720 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/bedrock.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c4a86cf511a4c2d2be2154afaf809b9b5e819c7cf8ee1ba9336221dfaa522f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201335 lines \u00D7 3): src/openai/resources/admin/organization/projects/api_keys.py:244-277 | src/openai/resources/admin/organization/projects/service_accounts/service_accounts.py:290-321 | src/openai/resources/fine_tuning/checkpoints/permissions.py:253-287 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/projects/api_keys.py\u0060 and \u0060src/openai/resources/admin/organization/projects/service_accounts/service_accounts.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 183 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/projects/api_keys.py:244\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/admin/organization/projects/api_keys.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fc5a35788791b0ba7521d61d110e4d924b4bcd302c94e4078a5851563a2bd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201335 lines \u00D7 3): src/openai/resources/admin/organization/projects/api_keys.py:502-535 | src/openai/resources/admin/organization/projects/service_accounts/service_accounts.py:578-609 | src/openai/resources/fine_tuning/checkpoints/permissions.py:514-548 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/projects/api_keys.py\u0060 and \u0060src/openai/resources/admin/organization/projects/service_accounts/service_accounts.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 183 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/projects/api_keys.py:502\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/admin/organization/projects/api_keys.py"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"53934acdda6fa86c55500838d40831957ce2a6096a5926ff69d573ebcf7b53ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): src/openai/lib/responses_tool_runner.py:1946-1979 | src/openai/lib/responses_tool_runner.py:2426-2459 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":1946}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31d17d8e99fc633ab011213efc7f273ba8c0e1a2698586e16d3b0eeff49d08c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): src/openai/resources/admin/organization/projects/groups/roles.py:210-243 | src/openai/resources/admin/organization/projects/users/roles.py:210-243 \u2014 \u0060src/openai/resources/admin/organization/projects/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/projects/users/roles.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 14 separate duplicated blocks between them, totalling at least 350 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060RoleDeleteResponse\u0060 names \u0060......types.admin.organization.projects.groups.role_delete_response\u0060 in one and \u0060......types.admin.organization.projects.users.role_delete_response\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/groups/roles.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d48f21b2c7544cf8fab455d319aeb3d8ab68623aa6b893d13afbf7dcfea00ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): src/openai/resources/admin/organization/projects/groups/roles.py:430-463 | src/openai/resources/admin/organization/projects/users/roles.py:430-463 \u2014 \u0060src/openai/resources/admin/organization/projects/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/projects/users/roles.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 14 separate duplicated blocks between them, totalling at least 350 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060RoleDeleteResponse\u0060 names \u0060......types.admin.organization.projects.groups.role_delete_response\u0060 in one and \u0060......types.admin.organization.projects.users.role_delete_response\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/groups/roles.py"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0cd5ae3ad832bcc77c949e572252f3aa5aa965695ad776c6ec4169b3e7aaaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): src/openai/resources/containers/files/files.py:72-105 | src/openai/resources/containers/files/files.py:300-333 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/containers/files/files.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5d9d8ef93c478bc80f2804e00fe0990a8341087260f58a6cefb115a3635008"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): src/openai/lib/_assistants_runs.py:275-307 | src/openai/lib/_assistants_runs.py:639-671 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_assistants_runs.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fa124e2f757a6bc8ac16c750f52c6ade24c942e84542df282b376ab66a8f94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): src/openai/resources/uploads/parts.py:57-89 | src/openai/resources/uploads/parts.py:139-171 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/uploads/parts.py:57\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/uploads/parts.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"211abdea1a26c5170d573c2286f7d0fd9fbacbfe3abe05539812ff98b7ddfc7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201332 lines \u00D7 5): src/openai/resources/beta/agents/sessions/artifacts.py:186-215 | src/openai/resources/beta/agents/vaults/credentials.py:301-330 | src/openai/resources/beta/threads/messages.py:300-325 | src/openai/resources/containers/files/files.py:233-258 | src/openai/resources/vector_stores/files.py:302-333 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/sessions/artifacts.py\u0060 and \u0060src/openai/resources/beta/agents/vaults/credentials.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/sessions/artifacts.py:186\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/beta/agents/sessions/artifacts.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c070797ba1898ef00a8bac4133b0c80363e3a0691f6215d172bc4b6edded0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201332 lines \u00D7 5): src/openai/resources/beta/agents/sessions/artifacts.py:420-449 | src/openai/resources/beta/agents/vaults/credentials.py:604-633 | src/openai/resources/beta/threads/messages.py:602-627 | src/openai/resources/containers/files/files.py:461-486 | src/openai/resources/vector_stores/files.py:730-761 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/sessions/artifacts.py\u0060 and \u0060src/openai/resources/beta/agents/vaults/credentials.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/sessions/artifacts.py:420\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/openai/resources/beta/agents/sessions/artifacts.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edd9119ffcf3e4d82725fd7a7c86789ffbc0ebd4f8470d2e25505636a817891"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3): src/openai/resources/admin/organization/projects/groups/roles.py:103-134 | src/openai/resources/admin/organization/projects/users/roles.py:103-134 | src/openai/resources/evals/runs/output_items.py:59-90 \u2014 \u0060src/openai/resources/admin/organization/projects/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/projects/users/roles.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 14 separate duplicated blocks between them, totalling at least 350 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 \u0060src/openai/resources/admin/organization/projects/groups/roles.py:103\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/admin/organization/projects/groups/roles.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0371dedc3fa790390c416caac7628c725625220985bf0d23a623f4e335576e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3): src/openai/resources/admin/organization/projects/groups/roles.py:323-354 | src/openai/resources/admin/organization/projects/users/roles.py:323-354 | src/openai/resources/evals/runs/output_items.py:194-225 \u2014 \u0060src/openai/resources/admin/organization/projects/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/projects/users/roles.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 14 separate duplicated blocks between them, totalling at least 350 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 \u0060src/openai/resources/admin/organization/projects/groups/roles.py:323\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/admin/organization/projects/groups/roles.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"434fb0cb311be8298ccbf46299bbc2cd4af66e77e876a5d1ddf9315eb75be8ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): src/openai/_legacy_response.py:306-337 | src/openai/_response.py:241-272 \u2014 before extracting anything, compare \u0060src/openai/_legacy_response.py\u0060 and \u0060src/openai/_response.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_legacy_response.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0359af7f6b7770cdd2c817e17be6716994aef7741a0e1a5a7d692d4df95d2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201331 lines \u00D7 21): src/openai/resources/admin/organization/admin_api_keys.py:194-218 | src/openai/resources/admin/organization/certificates.py:260-284 | src/openai/resources/admin/organization/external_keys.py:369-391 | src/openai/resources/admin/organization/external_storage.py:193-223 | src/openai/resources/admin/organization/groups/groups.py:252-274 | src/openai/resources/admin/organization/invites.py:201-224 | src/openai/resources/admin/organization/projects/model_permissions.py:141-163 | src/openai/resources/admin/organization/projects/spend_limit.py:146-168 | src/openai/resources/admin/organization/roles.py:251-273 | src/openai/resources/admin/organization/spend_alerts.py:264-286 | src/openai/resources/admin/organization/users/users.py:218-240 | src/openai/resources/audio/voice_consents.py:250-272 | src/openai/resources/audio/voices.py:207-236 | src/openai/resources/chat/completions/completions.py:1834-1858 | src/openai/resources/conversations/conversations.py:206-229 | src/openai/resources/evals/evals.py:294-316 | src/openai/resources/files.py:267-289 | src/openai/resources/models.py:119-143 | src/openai/resources/skills/skills.py:268-290 | src/openai/resources/videos.py:242-264 | src/openai/resources/webhooks/webhooks.py:336-360 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/admin_api_keys.py\u0060 and \u0060src/openai/resources/admin/organization/external_keys.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 116 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/admin_api_keys.py:194\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/admin/organization/admin_api_keys.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"e042d7ab9f445770da8c96802746d7752a34dce6711cf777b9f3d89122393d5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201331 lines \u00D7 21): src/openai/resources/admin/organization/admin_api_keys.py:391-415 | src/openai/resources/admin/organization/certificates.py:600-624 | src/openai/resources/admin/organization/external_keys.py:777-799 | src/openai/resources/admin/organization/external_storage.py:434-464 | src/openai/resources/admin/organization/groups/groups.py:490-512 | src/openai/resources/admin/organization/invites.py:405-428 | src/openai/resources/admin/organization/projects/model_permissions.py:286-308 | src/openai/resources/admin/organization/projects/spend_limit.py:296-318 | src/openai/resources/admin/organization/roles.py:504-526 | src/openai/resources/admin/organization/spend_alerts.py:531-553 | src/openai/resources/admin/organization/users/users.py:431-453 | src/openai/resources/audio/voice_consents.py:502-524 | src/openai/resources/audio/voices.py:423-452 | src/openai/resources/chat/completions/completions.py:3637-3661 | src/openai/resources/conversations/conversations.py:409-432 | src/openai/resources/evals/evals.py:578-600 | src/openai/resources/files.py:608-630 | src/openai/resources/models.py:246-270 | src/openai/resources/skills/skills.py:513-535 | src/openai/resources/videos.py:827-849 | src/openai/resources/webhooks/webhooks.py:826-850 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/admin_api_keys.py\u0060 and \u0060src/openai/resources/admin/organization/external_keys.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 116 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/admin_api_keys.py:391\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/admin/organization/admin_api_keys.py"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b201a5bbb0640a2cbb2144a24f83916543376c7824b716af0f288f44d13a77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/openai/_legacy_response.py:274-304 | src/openai/_response.py:209-239 \u2014 before extracting anything, compare \u0060src/openai/_legacy_response.py\u0060 and \u0060src/openai/_response.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_legacy_response.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71ae32616dbfae177112e30b07780a495929d43ed413f7e37e46132f9f05492"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/openai/lib/_assistants_runs.py:151-182 | src/openai/lib/_assistants_runs.py:517-547 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_assistants_runs.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8b633690bae91b7ab9f452d3e5c4672608c916836c1c83389717c5f289ae77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/openai/resources/beta/responses/responses.py:5136-5166 | src/openai/resources/responses/responses.py:4325-4355 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/responses/responses.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 342 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \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":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":5136}}}],"partialFingerprints":{"codehealthFindingId/v1":"44832a9787ad1662b12e8af88d9408e438cb5f098401250b5a94c883df735517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/openai/resources/beta/responses/responses.py:5460-5490 | src/openai/resources/responses/responses.py:4650-4680 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/responses/responses.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 342 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \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":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":5460}}}],"partialFingerprints":{"codehealthFindingId/v1":"187e1658ba4a4d5f1631e67644ac34b805d8e53b1047fb004925db582d143f13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/openai/resources/skills/versions/versions.py:81-111 | src/openai/resources/skills/versions/versions.py:303-333 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/skills/versions/versions.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4260029bcded7ea02cded1c4cff3c9891e70bcad170744bbe3515047892c655a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201330 lines \u00D7 10): src/openai/resources/admin/organization/groups/roles.py:195-219 | src/openai/resources/admin/organization/groups/users.py:196-220 | src/openai/resources/admin/organization/projects/groups/groups.py:220-246 | src/openai/resources/admin/organization/projects/roles.py:265-289 | src/openai/resources/admin/organization/projects/spend_alerts.py:285-311 | src/openai/resources/admin/organization/projects/users/users.py:267-296 | src/openai/resources/admin/organization/users/roles.py:195-219 | src/openai/resources/conversations/items.py:240-266 | src/openai/resources/evals/runs/runs.py:238-262 | src/openai/resources/skills/versions/versions.py:235-261 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/groups/users.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/groups/roles.py:195\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/admin/organization/groups/roles.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"e335e1aab91ca2e85ec22aaa7aae040195f15a657bc3bc663edf5235ef31bf6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201330 lines \u00D7 10): src/openai/resources/admin/organization/groups/roles.py:393-417 | src/openai/resources/admin/organization/groups/users.py:395-419 | src/openai/resources/admin/organization/projects/groups/groups.py:441-467 | src/openai/resources/admin/organization/projects/roles.py:534-558 | src/openai/resources/admin/organization/projects/spend_alerts.py:573-599 | src/openai/resources/admin/organization/projects/users/users.py:536-565 | src/openai/resources/admin/organization/users/roles.py:393-417 | src/openai/resources/conversations/items.py:483-509 | src/openai/resources/evals/runs/runs.py:508-532 | src/openai/resources/skills/versions/versions.py:457-483 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/groups/users.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/groups/roles.py:393\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/admin/organization/groups/roles.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8b1e9ae65786d61b9cdf6be84b27d8309da17f453327cf83258a64097c9c68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201330 lines \u00D7 6): src/openai/resources/beta/agents/sessions/subagents/turns/items.py:60-89 | src/openai/resources/beta/agents/sessions/subagents/turns/items.py:153-182 | src/openai/resources/beta/agents/sessions/subagents/turns/turns.py:68-88 | src/openai/resources/beta/agents/sessions/subagents/turns/turns.py:212-232 | src/openai/resources/beta/threads/runs/steps.py:63-89 | src/openai/resources/beta/threads/runs/steps.py:228-254 \u2014 there are 6 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/sessions/subagents/turns/items.py:60\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/openai/resources/beta/agents/sessions/subagents/turns/items.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e5e32990d823269b570ec43bfba1e64d7b8449c56761d93832c0c89301df7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/openai/resources/admin/organization/projects/roles.py:423-452 | src/openai/resources/admin/organization/projects/spend_alerts.py:452-486 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/projects/roles.py\u0060 and \u0060src/openai/resources/admin/organization/projects/spend_alerts.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/projects/roles.py:423\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/openai/resources/admin/organization/projects/roles.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a11f5b8575bb7eb371feb00ff2b2e16df9716a0f31b30e2227079b5eeef29f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): src/openai/resources/beta/agents/automations/automations.py:408-436 | src/openai/resources/beta/agents/automations/automations.py:449-478 \u2014 both copies are in the same file, so extract the block 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":"src/openai/resources/beta/agents/automations/automations.py"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca2b1dd92b59ad112f4e2b2d5781358c7720858ae8538d1c13731c061caf12d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): src/openai/resources/beta/agents/automations/automations.py:850-878 | src/openai/resources/beta/agents/automations/automations.py:891-920 \u2014 both copies are in the same file, so extract the block 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":"src/openai/resources/beta/agents/automations/automations.py"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ee1676a9aa41970bed1404f6a0ed9111a3af43ef570bf26f2ad8a2da10ca3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 9): src/openai/resources/audio/transcriptions.py:596-723 | src/openai/resources/audio/translations.py:152-215 | src/openai/resources/audio/voice_consents.py:60-94 | src/openai/resources/files.py:76-143 | src/openai/resources/images.py:68-125 | src/openai/resources/videos.py:85-124 | src/openai/resources/videos.py:281-309 | src/openai/resources/videos.py:381-410 | src/openai/resources/videos.py:438-470 \u2014 before extracting anything, compare \u0060src/openai/resources/audio/transcriptions.py\u0060 and \u0060src/openai/resources/audio/translations.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 312 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/audio/transcriptions.py:596\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/audio/transcriptions.py"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec8a32952949a27731947e84f96cfd25624df4835e9c99e657cac8f34eb164c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 9): src/openai/resources/audio/transcriptions.py:1286-1413 | src/openai/resources/audio/translations.py:340-403 | src/openai/resources/audio/voice_consents.py:312-346 | src/openai/resources/files.py:417-484 | src/openai/resources/images.py:1244-1301 | src/openai/resources/videos.py:670-709 | src/openai/resources/videos.py:866-894 | src/openai/resources/videos.py:968-997 | src/openai/resources/videos.py:1025-1057 \u2014 before extracting anything, compare \u0060src/openai/resources/audio/transcriptions.py\u0060 and \u0060src/openai/resources/audio/translations.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 312 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/audio/transcriptions.py:1286\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/audio/transcriptions.py"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bec0c68b69813e0c1c46e3603a31198e56fe865185f235af07104496d3008c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/openai/resources/admin/organization/projects/api_keys.py:56-84 | src/openai/resources/admin/organization/projects/service_accounts/service_accounts.py:134-162 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/projects/api_keys.py\u0060 and \u0060src/openai/resources/admin/organization/projects/service_accounts/service_accounts.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 183 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/projects/api_keys.py:56\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/openai/resources/admin/organization/projects/api_keys.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"10488bbf61d82cb6f37490a511061b48e2dae005393e09b9a40410b43d44e349"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/openai/resources/admin/organization/projects/api_keys.py:314-342 | src/openai/resources/admin/organization/projects/service_accounts/service_accounts.py:422-450 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/projects/api_keys.py\u0060 and \u0060src/openai/resources/admin/organization/projects/service_accounts/service_accounts.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 183 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/projects/api_keys.py:314\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/admin/organization/projects/api_keys.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c68e15749f2b09f5f2413cbfcf030f2505ecce7e35341131a19425da2fd492f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/openai/resources/images.py:648-676 | src/openai/resources/images.py:1824-1852 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/images.py"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee04120da5f63ddf1f334ab183e5727a0132e6b4261daff88d1587a6650a287c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201328 lines \u00D7 10): src/openai/resources/audio/transcriptions.py:699-726 | src/openai/resources/audio/translations.py:200-216 | src/openai/resources/audio/voice_consents.py:81-95 | src/openai/resources/audio/voices.py:165-183 | src/openai/resources/files.py:130-144 | src/openai/resources/images.py:109-126 | src/openai/resources/videos.py:109-125 | src/openai/resources/videos.py:297-310 | src/openai/resources/videos.py:398-411 | src/openai/resources/videos.py:457-471 \u2014 before extracting anything, compare \u0060src/openai/resources/audio/transcriptions.py\u0060 and \u0060src/openai/resources/audio/translations.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 312 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/audio/transcriptions.py:699\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/audio/transcriptions.py"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"78312cbfb51ef15b3d83c372dc6d0245f39c350233a0b5ceb135fa88e2a88066"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201328 lines \u00D7 10): src/openai/resources/audio/transcriptions.py:1389-1416 | src/openai/resources/audio/translations.py:388-404 | src/openai/resources/audio/voice_consents.py:333-347 | src/openai/resources/audio/voices.py:381-399 | src/openai/resources/files.py:471-485 | src/openai/resources/images.py:1285-1302 | src/openai/resources/videos.py:694-710 | src/openai/resources/videos.py:882-895 | src/openai/resources/videos.py:985-998 | src/openai/resources/videos.py:1044-1058 \u2014 before extracting anything, compare \u0060src/openai/resources/audio/transcriptions.py\u0060 and \u0060src/openai/resources/audio/translations.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 312 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/audio/transcriptions.py:1389\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/audio/transcriptions.py"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d119f779dc9fcdb709e2589f660c684b4f95cfe5c948ad37f6a8ce8b39ad504"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201328 lines \u00D7 10): src/openai/resources/beta/agents/agents.py:408-433 | src/openai/resources/beta/agents/automations/automations.py:369-393 | src/openai/resources/beta/agents/sessions/sessions.py:471-498 | src/openai/resources/beta/agents/vaults/vaults.py:287-312 | src/openai/resources/beta/assistants.py:568-591 | src/openai/resources/beta/chatkit/threads.py:159-182 | src/openai/resources/beta/threads/threads.py:430-453 | src/openai/resources/containers/containers.py:231-254 | src/openai/resources/responses/responses.py:1616-1639 | src/openai/resources/vector_stores/vector_stores.py:326-349 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 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 10 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/agents.py:408\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/beta/agents/agents.py"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a227d81339681d3d3d8ee54834c4931d6b5db21b1e3bb7deda694674f68720c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201328 lines \u00D7 10): src/openai/resources/beta/agents/agents.py:785-810 | src/openai/resources/beta/agents/automations/automations.py:811-835 | src/openai/resources/beta/agents/sessions/sessions.py:894-921 | src/openai/resources/beta/agents/vaults/vaults.py:570-595 | src/openai/resources/beta/assistants.py:1129-1152 | src/openai/resources/beta/chatkit/threads.py:382-405 | src/openai/resources/beta/threads/threads.py:1513-1536 | src/openai/resources/containers/containers.py:456-479 | src/openai/resources/responses/responses.py:3534-3557 | src/openai/resources/vector_stores/vector_stores.py:697-720 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 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 10 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/agents.py:785\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/beta/agents/agents.py"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afd65c8f90bea798968aa8257acfae592c4f0abdc838f6bd38bc1d9dd9a01f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3): src/openai/resources/live/forks.py:286-313 | src/openai/resources/live/live.py:506-533 | src/openai/resources/live/sideband.py:293-320 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"870df582306a96308b189045a61876e1c7399554d7cf1135f84b8462252d9ed0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/openai/_utils/_transform.py:182-209 | src/openai/_utils/_transform.py:350-377 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"src/openai/_utils/_transform.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07dcfabeb0e0faec3fb31bd023011774e32b9f1d082ebb106109da888fc4f90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/openai/resources/admin/organization/groups/roles.py:58-85 | src/openai/resources/admin/organization/users/roles.py:58-85 \u2014 \u0060src/openai/resources/admin/organization/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/users/roles.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 14 separate duplicated blocks between them, totalling at least 340 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060RoleCreateResponse\u0060 names \u0060.....types.admin.organization.groups.role_create_response\u0060 in one and \u0060.....types.admin.organization.users.role_create_response\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/groups/roles.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb2ba356fa3615983ac48bc6387fbad9a263d7b9145f466b7480cd2e74a85a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/openai/resources/admin/organization/groups/roles.py:256-283 | src/openai/resources/admin/organization/users/roles.py:256-283 \u2014 \u0060src/openai/resources/admin/organization/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/users/roles.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 14 separate duplicated blocks between them, totalling at least 340 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060RoleCreateResponse\u0060 names \u0060.....types.admin.organization.groups.role_create_response\u0060 in one and \u0060.....types.admin.organization.users.role_create_response\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/groups/roles.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2d975ba85ac417c570b0b90f5fa8b371c55e79f986c7cb33cbb922b18c1d50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/openai/resources/realtime/realtime.py:486-513 | src/openai/resources/realtime/translations/translations.py:371-398 \u2014 before extracting anything, compare \u0060src/openai/resources/realtime/realtime.py\u0060 and \u0060src/openai/resources/realtime/translations/translations.py\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 398 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060RealtimeErrorEvent\u0060 names \u0060....types.realtime.realtime_error_event\u0060 in one and \u0060...types.realtime.realtime_error_event\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/realtime/realtime.py"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"730c4ba7c70822a50896e05e8bb328380afc38c2b981ab0a941b120481fdfae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201327 lines \u00D7 29): src/openai/resources/admin/organization/admin_api_keys.py:103-127 | src/openai/resources/admin/organization/external_keys.py:282-304 | src/openai/resources/admin/organization/external_storage.py:102-128 | src/openai/resources/admin/organization/groups/groups.py:118-140 | src/openai/resources/admin/organization/invites.py:112-134 | src/openai/resources/admin/organization/projects/data_retention.py:53-75 | src/openai/resources/admin/organization/projects/hosted_tool_permissions.py:53-75 | src/openai/resources/admin/organization/projects/model_permissions.py:54-76 | src/openai/resources/admin/organization/projects/projects.py:269-291 | src/openai/resources/admin/organization/projects/spend_limit.py:54-76 | src/openai/resources/admin/organization/roles.py:107-129 | src/openai/resources/admin/organization/spend_alerts.py:110-132 | src/openai/resources/admin/organization/users/users.py:67-89 | src/openai/resources/audio/voice_consents.py:119-141 | src/openai/resources/batches.py:147-169 | src/openai/resources/chat/completions/completions.py:1680-1704 | src/openai/resources/containers/containers.py:132-154 | src/openai/resources/conversations/conversations.py:124-146 | src/openai/resources/evals/evals.py:144-166 | src/openai/resources/files.py:168-190 | src/openai/resources/files.py:343-365 | src/openai/resources/fine_tuning/jobs/jobs.py:196-220 | src/openai/resources/models.py:54-77 | src/openai/resources/safety/alerts.py:50-74 | src/openai/resources/safety/cases.py:50-74 | src/openai/resources/skills/skills.py:137-159 | src/openai/resources/videos.py:150-172 | src/openai/resources/videos.py:496-518 | src/openai/resources/webhooks/webhooks.py:162-186 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/admin_api_keys.py\u0060 and \u0060src/openai/resources/admin/organization/external_keys.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 116 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/admin_api_keys.py:103\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/resources/videos.py:176\u0060 calls \u0060deprecated\u0060 and \u0060src/openai/resources/admin/organization/admin_api_keys.py:131\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/admin_api_keys.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1157e8a8072afe3314a2d026aa0e127d4d43c6c4cc599bda1c9e84eb4446633"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201327 lines \u00D7 29): src/openai/resources/admin/organization/admin_api_keys.py:300-324 | src/openai/resources/admin/organization/external_keys.py:690-712 | src/openai/resources/admin/organization/external_storage.py:343-369 | src/openai/resources/admin/organization/groups/groups.py:356-378 | src/openai/resources/admin/organization/invites.py:316-338 | src/openai/resources/admin/organization/projects/data_retention.py:161-183 | src/openai/resources/admin/organization/projects/hosted_tool_permissions.py:173-195 | src/openai/resources/admin/organization/projects/model_permissions.py:199-221 | src/openai/resources/admin/organization/projects/projects.py:592-614 | src/openai/resources/admin/organization/projects/spend_limit.py:204-226 | src/openai/resources/admin/organization/roles.py:360-382 | src/openai/resources/admin/organization/spend_alerts.py:377-399 | src/openai/resources/admin/organization/users/users.py:280-302 | src/openai/resources/audio/voice_consents.py:371-393 | src/openai/resources/batches.py:389-411 | src/openai/resources/chat/completions/completions.py:3483-3507 | src/openai/resources/containers/containers.py:357-379 | src/openai/resources/conversations/conversations.py:325-347 | src/openai/resources/evals/evals.py:428-450 | src/openai/resources/files.py:509-531 | src/openai/resources/files.py:684-706 | src/openai/resources/fine_tuning/jobs/jobs.py:607-631 | src/openai/resources/models.py:181-204 | src/openai/resources/safety/alerts.py:110-134 | src/openai/resources/safety/cases.py:110-134 | src/openai/resources/skills/skills.py:380-402 | src/openai/resources/videos.py:735-757 | src/openai/resources/videos.py:1083-1105 | src/openai/resources/webhooks/webhooks.py:652-676 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/admin_api_keys.py\u0060 and \u0060src/openai/resources/admin/organization/external_keys.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 116 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/admin_api_keys.py:300\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/resources/videos.py:761\u0060 calls \u0060deprecated\u0060 and \u0060src/openai/resources/admin/organization/admin_api_keys.py:328\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/admin_api_keys.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dc17689d04a4beb5102eee6ff814a42b2191b21917d7295da199ea4d3eb408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201327 lines \u00D7 10): src/openai/resources/admin/organization/groups/roles.py:99-121 | src/openai/resources/admin/organization/groups/users.py:99-121 | src/openai/resources/admin/organization/projects/groups/groups.py:119-145 | src/openai/resources/admin/organization/projects/roles.py:111-133 | src/openai/resources/admin/organization/projects/spend_alerts.py:118-142 | src/openai/resources/admin/organization/projects/users/users.py:124-148 | src/openai/resources/admin/organization/users/roles.py:99-121 | src/openai/resources/containers/files/files.py:132-154 | src/openai/resources/evals/runs/runs.py:137-159 | src/openai/resources/skills/versions/versions.py:138-162 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/groups/users.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/groups/roles.py:99\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/resources/admin/organization/projects/groups/groups.py:146\u0060 calls \u0060maybe_transform\u0060 and \u0060src/openai/resources/admin/organization/groups/roles.py:122\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/groups/roles.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98d471bca8539289c9bbe1412dfa5a7d0a9c84b1efa91f7e874da38a4e87540"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201327 lines \u00D7 10): src/openai/resources/admin/organization/groups/roles.py:297-319 | src/openai/resources/admin/organization/groups/users.py:298-320 | src/openai/resources/admin/organization/projects/groups/groups.py:338-364 | src/openai/resources/admin/organization/projects/roles.py:380-402 | src/openai/resources/admin/organization/projects/spend_alerts.py:406-430 | src/openai/resources/admin/organization/projects/users/users.py:393-417 | src/openai/resources/admin/organization/users/roles.py:297-319 | src/openai/resources/containers/files/files.py:360-382 | src/openai/resources/evals/runs/runs.py:407-429 | src/openai/resources/skills/versions/versions.py:360-384 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/groups/users.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/groups/roles.py:297\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/resources/admin/organization/projects/groups/groups.py:365\u0060 calls \u0060async_maybe_transform\u0060 and \u0060src/openai/resources/admin/organization/groups/roles.py:320\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/groups/roles.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c35ca1e91e1a350acb0bd57b24bd2508db4fef97178a1c4ae267524c48f059"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201327 lines \u00D7 9): src/openai/resources/admin/organization/external_keys.py:406-428 | src/openai/resources/admin/organization/external_storage.py:238-264 | src/openai/resources/admin/organization/projects/projects.py:419-443 | src/openai/resources/batches.py:237-262 | src/openai/resources/fine_tuning/jobs/jobs.py:293-315 | src/openai/resources/fine_tuning/jobs/jobs.py:381-403 | src/openai/resources/fine_tuning/jobs/jobs.py:418-440 | src/openai/resources/responses/responses.py:1654-1679 | src/openai/resources/uploads/uploads.py:222-247 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/external_keys.py\u0060 and \u0060src/openai/resources/admin/organization/external_storage.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 200 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/external_keys.py:406\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/admin/organization/external_keys.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"028b903ed4e953f1b941b66cb60daf298feac24b8923e8b3bce088b895c104a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201327 lines \u00D7 9): src/openai/resources/admin/organization/external_keys.py:814-836 | src/openai/resources/admin/organization/external_storage.py:479-505 | src/openai/resources/admin/organization/projects/projects.py:742-766 | src/openai/resources/batches.py:479-504 | src/openai/resources/fine_tuning/jobs/jobs.py:704-726 | src/openai/resources/fine_tuning/jobs/jobs.py:792-814 | src/openai/resources/fine_tuning/jobs/jobs.py:829-851 | src/openai/resources/responses/responses.py:3572-3597 | src/openai/resources/uploads/uploads.py:502-527 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/external_keys.py\u0060 and \u0060src/openai/resources/admin/organization/external_storage.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 200 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/external_keys.py:814\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/admin/organization/external_keys.py"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7f69e4682b8cb69dc03e75a5fe5184da3f85d5441c2c672e1caacb427a0d9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 5): src/openai/resources/live/forks.py:152-178 | src/openai/resources/live/live.py:372-398 | src/openai/resources/live/sideband.py:157-183 | src/openai/resources/realtime/realtime.py:344-370 | src/openai/resources/realtime/translations/translations.py:234-260 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb331e5cd24c97d0352b108fcfcdf7a6f17e38e165715475cacb3c02927dfa02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 5): src/openai/resources/live/forks.py:582-608 | src/openai/resources/live/live.py:795-821 | src/openai/resources/live/sideband.py:596-622 | src/openai/resources/realtime/realtime.py:809-835 | src/openai/resources/realtime/translations/translations.py:662-688 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60c2e9a047470a56d2f78c39d20cde3e98f05ea4a1c3b6baa3c153664dc1644"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/openai/lib/browser.py:1469-1495 | src/openai/lib/browser.py:1726-1752 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/browser.py:1469\u0060 it does not close everything it opens, so those exact 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":"src/openai/lib/browser.py"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07817ed5fab9228c232427432ee8f9bc49be3462395320778797731c05ebd1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201326 lines \u00D7 12): src/openai/resources/beta/agents/agents.py:206-229 | src/openai/resources/beta/agents/environments/environments.py:131-154 | src/openai/resources/beta/agents/sessions/sessions.py:291-314 | src/openai/resources/beta/agents/vaults/vaults.py:121-144 | src/openai/resources/beta/assistants.py:271-292 | src/openai/resources/beta/chatkit/threads.py:57-78 | src/openai/resources/beta/threads/threads.py:331-352 | src/openai/resources/files.py:304-325 | src/openai/resources/live/sessions.py:112-136 | src/openai/resources/skills/content.py:54-75 | src/openai/resources/vector_stores/vector_stores.py:162-183 | src/openai/resources/videos.py:336-361 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/agents.py\u0060 and \u0060src/openai/resources/beta/agents/environments/environments.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/agents.py:206\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/resources/videos.py:362\u0060 calls \u0060maybe_transform\u0060 and \u0060src/openai/resources/beta/agents/agents.py:230\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/agents.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fb93c7233e62a13cf1ef3fcc51ae964eaea07188aa0eff31664874f9d73b3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201326 lines \u00D7 12): src/openai/resources/beta/agents/agents.py:583-606 | src/openai/resources/beta/agents/environments/environments.py:314-337 | src/openai/resources/beta/agents/sessions/sessions.py:714-737 | src/openai/resources/beta/agents/vaults/vaults.py:404-427 | src/openai/resources/beta/assistants.py:832-853 | src/openai/resources/beta/chatkit/threads.py:280-301 | src/openai/resources/beta/threads/threads.py:1414-1435 | src/openai/resources/files.py:645-666 | src/openai/resources/live/sessions.py:400-424 | src/openai/resources/skills/content.py:113-134 | src/openai/resources/vector_stores/vector_stores.py:533-554 | src/openai/resources/videos.py:921-946 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/agents.py\u0060 and \u0060src/openai/resources/beta/agents/environments/environments.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/agents.py:583\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/resources/videos.py:947\u0060 calls \u0060async_maybe_transform\u0060 and \u0060src/openai/resources/beta/agents/agents.py:607\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/agents.py"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4b3ad7265059d73f96df6af9eedfdba33a91350551d0be5ba8387bdae43d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 4): src/openai/resources/beta/agents/automations/invocations.py:54-77 | src/openai/resources/beta/chatkit/sessions.py:123-148 | src/openai/resources/live/sessions.py:204-227 | src/openai/resources/realtime/calls.py:317-340 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/automations/invocations.py:54\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/openai/resources/beta/agents/automations/invocations.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac56ec339b80398fa4cdf8d5a30f91e8f0b336bbaa065d83f2616e3773eeb95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 4): src/openai/resources/beta/agents/automations/invocations.py:217-240 | src/openai/resources/beta/chatkit/sessions.py:246-271 | src/openai/resources/live/sessions.py:492-515 | src/openai/resources/realtime/calls.py:705-728 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/automations/invocations.py:217\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/beta/agents/automations/invocations.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba423ee4d60411aad893fa348d996ce9fcd41deb3cd5c90cf2474b82dbedc40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/openai/_client.py:642-666 | src/openai/_client.py:1169-1193 \u2014 both copies are in the same file, so extract the block 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":"src/openai/_client.py"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"6549ffe4ccd183541c75a14a578c9ca5777ef347a093b3feb1b924699cb7b5d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/openai/lib/responses_tool_runner.py:2103-2127 | src/openai/lib/responses_tool_runner.py:2584-2608 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":2103}}}],"partialFingerprints":{"codehealthFindingId/v1":"212637a9ec14e876506fe72aeeba9b9babcf53461168bf4c30dc9b675f697b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): src/openai/_base_client.py:1209-1232 | src/openai/_base_client.py:1832-1854 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/_base_client.py:1832\u0060 it begins part-way through the construct above it, so those exact 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":"src/openai/_base_client.py"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"166318e9187ffa64a1ff59c1c0bab7fcdc41622f817a4e8a7c8eb75f3dc04d0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/openai/_base_client.py:1286-1309 | src/openai/_base_client.py:1908-1931 \u2014 both copies are in the same file, so extract the block 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":"src/openai/_base_client.py"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"519ff53b025bd5da9fdb7773c552eb56349b8aa352e2b29ac6394ca5b373ad1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/openai/lib/_assistants_runs.py:76-99 | src/openai/lib/_assistants_runs.py:444-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/_assistants_runs.py:76\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_assistants_runs.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40d5a9fdc5a11badae8d4da52c7bb892529fada5ef315613836bd2e37b4f183"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/openai/lib/_client_auth.py:436-459 | src/openai/lib/_client_auth.py:909-932 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060_sdk_client.OpenAI\u0060 in one and \u0060_sdk_client.AsyncOpenAI\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_client_auth.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d73f822d9a2321a1fd9cb2ada35580587bd79620e989efbad85915e77905e77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/openai/resources/beta/agents/sessions/events.py:57-80 | src/openai/resources/beta/agents/sessions/events.py:172-195 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/sessions/events.py:57\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/sessions/events.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5075ede20b0863a937a8f6c7b362bd706892668d3c74e353a67d2300cbdaedd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/openai/lib/_response_resources.py:114-136 | src/openai/lib/_response_resources.py:237-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":"src/openai/lib/_response_resources.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"37eaca1bb0b632716d52e9efb03a649552d5ae3b082ef5dbc75f262f55af236b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/openai/lib/decisions_tool_runner.py:371-393 | src/openai/lib/decisions_tool_runner.py:490-512 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/decisions_tool_runner.py:371\u0060 it begins part-way through the construct above it, so those exact 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":"src/openai/lib/decisions_tool_runner.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"410466ce9c119020303450941c1eba73d88f10480ce1475aabe646e710a99566"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): src/openai/resources/live/forks.py:718-739 | src/openai/resources/live/live.py:931-952 | src/openai/resources/live/sideband.py:734-755 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f8374df29e23982e000c0d903b256dac4b4e2b2092eb8ebe9aca649b9f0646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/openai/lib/decisions_tool_runner.py:421-442 | src/openai/lib/decisions_tool_runner.py:536-557 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/decisions_tool_runner.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c31cf957b41da49886b6cb82b78c175b52c22988a1fd824c903a96ae3badd8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/openai/resources/realtime/realtime.py:951-972 | src/openai/resources/realtime/translations/translations.py:801-822 \u2014 before extracting anything, compare \u0060src/openai/resources/realtime/realtime.py\u0060 and \u0060src/openai/resources/realtime/translations/translations.py\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 398 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060RealtimeErrorEvent\u0060 names \u0060....types.realtime.realtime_error_event\u0060 in one and \u0060...types.realtime.realtime_error_event\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/realtime/realtime.py"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcdd629c6df20540d5fed4fe584ec26a15cff4472b10bd5adf273039a5d592c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/openai/lib/_assistants_threads.py:67-87 | src/openai/lib/_assistants_threads.py:194-214 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/_assistants_threads.py:67\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_assistants_threads.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad5eb8733260401fb1004e46aa59e35570a07e99e93dfb22059dfc0515ef66a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/openai/lib/azure.py:504-524 | src/openai/lib/azure.py:883-903 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"src/openai/lib/azure.py"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0683cdffb95d203ba79263cb6e4237f1295a89620a3cc9409ec0af0864898d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): src/openai/lib/computer.py:679-698 | src/openai/lib/computer.py:890-910 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/computer.py:679\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/computer.py"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05a551c3142d1bf6576dcae36a458663dcc89ed91256b092952e0e471387c31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/openai/lib/computer.py:742-762 | src/openai/lib/computer.py:955-975 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/computer.py"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa36a1862413b8ec16433d068966a33aa873c949c3c3bcc3ba008f9bb6177eac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/openai/lib/computer.py:765-785 | src/openai/lib/computer.py:977-997 \u2014 both copies are in the same file, so extract the block 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":"src/openai/lib/computer.py"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9962664835bd2c7257e353e9702df51c30d71e544be7a8181ef6deedeb3714"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): src/openai/resources/beta/agents/environments/files.py:207-227 | src/openai/resources/vector_stores/files.py:101-120 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/environments/files.py:207\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/openai/resources/beta/agents/environments/files.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9e9a6a7d8669998ba32f29a21ddf0b2ca66eb66d75442c1fefd242acbcb348"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): src/openai/resources/beta/agents/environments/files.py:469-489 | src/openai/resources/vector_stores/files.py:529-548 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/environments/files.py:469\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/beta/agents/environments/files.py"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93eeb99f5ac1cfd3104a6116a9fb81532ad2da43d573e2634fb0f9f31273477"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/openai/resources/realtime/realtime.py:711-731 | src/openai/resources/realtime/realtime.py:1168-1188 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/realtime/realtime.py:711\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/realtime/realtime.py"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba225ff8f499bb9083fa3e9c0a8467f8d556b58384eb2b017ae3ac89986eca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/openai/resources/skills/skills.py:91-111 | src/openai/resources/skills/skills.py:334-354 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/skills/skills.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5616778328f308be8aa8fc10b8fb30d44ab1f50f4fa5d76665ef87122cd394"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 12): src/openai/resources/beta/agents/sessions/subagents/items.py:59-89 | src/openai/resources/beta/agents/sessions/subagents/items.py:148-178 | src/openai/resources/beta/agents/sessions/subagents/turns/turns.py:121-151 | src/openai/resources/beta/agents/sessions/subagents/turns/turns.py:265-295 | src/openai/resources/beta/agents/sessions/turns/items.py:59-89 | src/openai/resources/beta/agents/sessions/turns/items.py:147-177 | src/openai/resources/beta/threads/runs/steps.py:126-167 | src/openai/resources/beta/threads/runs/steps.py:291-332 | src/openai/resources/vector_stores/file_batches.py:248-285 | src/openai/resources/vector_stores/file_batches.py:579-616 | src/openai/resources/vector_stores/files.py:349-368 | src/openai/resources/vector_stores/files.py:777-796 \u2014 \u0060src/openai/resources/beta/agents/sessions/subagents/items.py\u0060 and \u0060src/openai/resources/beta/agents/sessions/turns/items.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 2 separate duplicated blocks between them, totalling at least 51 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 \u0060src/openai/resources/beta/agents/sessions/subagents/items.py:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/sessions/subagents/items.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"822ca15449c0bdbb3f3606825d7b5b5111ec0fba45e461c678233927be54224f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): src/openai/resources/live/forks.py:433-452 | src/openai/resources/live/live.py:651-670 | src/openai/resources/live/sideband.py:442-461 | src/openai/resources/realtime/realtime.py:639-658 | src/openai/resources/realtime/translations/translations.py:521-540 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/live/forks.py:433\u0060 it begins part-way through the construct above it, so those exact 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":"src/openai/resources/live/forks.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"429b042e0e99dd6ac670aeb75537d64ed1f813659dd22582106426021b078950"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): src/openai/resources/live/forks.py:859-878 | src/openai/resources/live/live.py:1069-1088 | src/openai/resources/live/sideband.py:877-896 | src/openai/resources/realtime/realtime.py:1098-1117 | src/openai/resources/realtime/translations/translations.py:945-964 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/live/forks.py:859\u0060 it begins part-way through the construct above it, so those exact 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":"src/openai/resources/live/forks.py"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c584c0a9954f618e0842d818159e8169228d459559e18ed43e7337de290e79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): src/openai/resources/admin/organization/projects/groups/roles.py:59-78 | src/openai/resources/admin/organization/projects/users/roles.py:59-78 | src/openai/resources/admin/organization/projects/users/users.py:167-188 \u2014 \u0060src/openai/resources/admin/organization/projects/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/projects/users/roles.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 14 separate duplicated blocks between them, totalling at least 350 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 \u0060src/openai/resources/admin/organization/projects/groups/roles.py:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/groups/roles.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9576019120585ea1a769879845c1680cf862607b4a3ddabfc950db064c566527"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): src/openai/resources/admin/organization/projects/groups/roles.py:279-298 | src/openai/resources/admin/organization/projects/users/roles.py:279-298 | src/openai/resources/admin/organization/projects/users/users.py:436-457 \u2014 \u0060src/openai/resources/admin/organization/projects/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/projects/users/roles.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 14 separate duplicated blocks between them, totalling at least 350 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 \u0060src/openai/resources/admin/organization/projects/groups/roles.py:279\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/groups/roles.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"83249a2edecdfcd3583df6d8fa7a5f531da488c88026b6d32fd49c5f02f8bcae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/openai/resources/beta/agents/sessions/artifacts.py:231-250 | src/openai/resources/beta/agents/sessions/artifacts.py:465-484 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/sessions/artifacts.py:231\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/sessions/artifacts.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dae7aa3298b99516954dd58a3206c61b2d3d8947df6f3f980cd8760408aec92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/openai/resources/live/forks.py:459-478 | src/openai/resources/live/live.py:677-696 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/live/forks.py:459\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"f175b3d15658dde7cd59d08877a93f9032b31fae2c9644080f1d8285c2520588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/openai/resources/live/forks.py:885-904 | src/openai/resources/live/live.py:1095-1114 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/live/forks.py:885\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"552d6f5d755e5a21af9abc3682093c0a332eba5a2031808d3e341d9f53522990"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 8): src/openai/resources/live/forks.py:485-503 | src/openai/resources/live/forks.py:911-929 | src/openai/resources/live/live.py:703-721 | src/openai/resources/live/live.py:1121-1139 | src/openai/resources/live/sideband.py:497-515 | src/openai/resources/live/sideband.py:932-950 | src/openai/resources/realtime/translations/translations.py:574-592 | src/openai/resources/realtime/translations/translations.py:998-1016 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/live/forks.py:485\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9aaa9ef6fb6a57115eac2e345c52343c9767fc526a59c787f5ea7ced072184c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): src/openai/resources/beta/agents/sessions/items.py:86-103 | src/openai/resources/beta/agents/sessions/subagents/items.py:92-110 | src/openai/resources/beta/agents/sessions/subagents/turns/items.py:96-114 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/sessions/items.py\u0060 and \u0060src/openai/resources/beta/agents/sessions/subagents/items.py\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/sessions/items.py:86\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060AgentSessionItem\u0060 names \u0060.......types.beta.agent_session_item\u0060 in one and \u0060......types.beta.agent_session_item\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/sessions/items.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c6439aa5f2e3d38227f4b6cafcd2c2257cf7cc8e5a37eb254304102121a485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): src/openai/resources/beta/agents/sessions/items.py:168-185 | src/openai/resources/beta/agents/sessions/subagents/items.py:181-199 | src/openai/resources/beta/agents/sessions/subagents/turns/items.py:189-207 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/sessions/items.py\u0060 and \u0060src/openai/resources/beta/agents/sessions/subagents/items.py\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/sessions/items.py:168\u0060 it begins part-way through the construct above it, so those exact 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: \u0060AgentSessionItem\u0060 names \u0060.......types.beta.agent_session_item\u0060 in one and \u0060......types.beta.agent_session_item\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/sessions/items.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae091c7c9e98339b366372b3ae8eb55c88ff3be1ef1d69a2e4d9780d64c3c60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/openai/lib/_assistants_runs.py:211-229 | src/openai/lib/_assistants_runs.py:576-594 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/_assistants_runs.py:211\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/openai/lib/_assistants_runs.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2da03a67ee494e974596525c503b4a5a4879291cdc89c981c869b3e834124f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/openai/lib/_client_auth.py:244-262 | src/openai/lib/_client_auth.py:710-728 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_client_auth.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d0badbe815cc5ff30f7b82d3e7013e66077c2f1000d0ef76f75aacfef15448"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/openai/lib/decisions_tool_runner.py:397-415 | src/openai/lib/decisions_tool_runner.py:516-534 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"src/openai/lib/decisions_tool_runner.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cfcc0a2712d8ae0cfaa3a94197871e2dd5eef24279ae09fe14fb94d0f4d711"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): src/openai/lib/streaming/_assistants.py:282-300 | src/openai/lib/streaming/_assistants.py:716-732 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/_assistants.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"8946641a81db60ec395ceae6a77cca9e38bf122e68c64b0a1c7d1f703fdb15fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 11): src/openai/resources/beta/agents/automations/invocations.py:93-112 | src/openai/resources/beta/agents/sessions/artifacts.py:76-96 | src/openai/resources/beta/agents/sessions/subagents/subagents.py:79-99 | src/openai/resources/beta/agents/sessions/turns/turns.py:67-87 | src/openai/resources/beta/agents/vaults/credentials.py:124-144 | src/openai/resources/beta/threads/messages.py:134-151 | src/openai/resources/beta/threads/runs/runs.py:1257-1274 | src/openai/resources/containers/files/content.py:55-73 | src/openai/resources/skills/versions/content.py:55-74 | src/openai/resources/vector_stores/file_batches.py:151-170 | src/openai/resources/vector_stores/files.py:136-154 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/automations/invocations.py\u0060 and \u0060src/openai/resources/beta/agents/sessions/artifacts.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/automations/invocations.py:93\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/automations/invocations.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa67bcb0f9f382d193efe60e260eb5d64d58c4537a9b13b9ad8589ecc22b58ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 11): src/openai/resources/beta/agents/automations/invocations.py:256-275 | src/openai/resources/beta/agents/sessions/artifacts.py:310-330 | src/openai/resources/beta/agents/sessions/subagents/subagents.py:214-234 | src/openai/resources/beta/agents/sessions/turns/turns.py:198-218 | src/openai/resources/beta/agents/vaults/credentials.py:427-447 | src/openai/resources/beta/threads/messages.py:436-453 | src/openai/resources/beta/threads/runs/runs.py:2805-2822 | src/openai/resources/containers/files/content.py:119-137 | src/openai/resources/skills/versions/content.py:119-138 | src/openai/resources/vector_stores/file_batches.py:482-501 | src/openai/resources/vector_stores/files.py:564-582 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/automations/invocations.py\u0060 and \u0060src/openai/resources/beta/agents/sessions/artifacts.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/automations/invocations.py:256\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/automations/invocations.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40edb43be02e87351db1218a0eceb950f79c69a9f7546a1c527c3305d255743"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 6): src/openai/resources/beta/agents/vaults/credentials.py:171-196 | src/openai/resources/beta/threads/messages.py:177-201 | src/openai/resources/beta/threads/runs/runs.py:1300-1324 | src/openai/resources/beta/threads/runs/runs.py:1419-1436 | src/openai/resources/vector_stores/file_batches.py:196-217 | src/openai/resources/vector_stores/files.py:180-204 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/vaults/credentials.py\u0060 and \u0060src/openai/resources/beta/threads/messages.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 224 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/vaults/credentials.py:171\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/resources/beta/threads/messages.py:203\u0060 calls \u0060maybe_transform\u0060 and \u0060src/openai/resources/beta/threads/runs/runs.py:1438\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":"src/openai/resources/beta/agents/vaults/credentials.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb56f3c8d1f1b848d6ca05e1fadb66392fdb1e757d421fa3b7a9fd6c445ce01e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 6): src/openai/resources/beta/agents/vaults/credentials.py:474-499 | src/openai/resources/beta/threads/messages.py:479-503 | src/openai/resources/beta/threads/runs/runs.py:2848-2872 | src/openai/resources/beta/threads/runs/runs.py:2967-2984 | src/openai/resources/vector_stores/file_batches.py:527-548 | src/openai/resources/vector_stores/files.py:608-632 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/vaults/credentials.py\u0060 and \u0060src/openai/resources/beta/threads/messages.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 224 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/vaults/credentials.py:474\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/resources/beta/threads/messages.py:505\u0060 calls \u0060async_maybe_transform\u0060 and \u0060src/openai/resources/beta/threads/runs/runs.py:2986\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":"src/openai/resources/beta/agents/vaults/credentials.py"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abac4ed0722357e0b5226026defd0854a341a2f1643b0d8dad39a20cc523db9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 4): src/openai/lib/_assistants_runs.py:81-98 | src/openai/lib/_assistants_runs.py:449-466 | src/openai/lib/_assistants_threads.py:67-83 | src/openai/lib/_assistants_threads.py:194-210 \u2014 before extracting anything, compare \u0060src/openai/lib/_assistants_runs.py\u0060 and \u0060src/openai/lib/_assistants_threads.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/lib/_assistants_runs.py:100\u0060 calls \u0060poll\u0060 and \u0060src/openai/lib/_assistants_threads.py:84\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_assistants_runs.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b235fcdaa44b7c17bdb61e0d8ec2cea0200c9011f527ebd5a211c4f352b67f7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): src/openai/resources/admin/organization/groups/roles.py:164-181 | src/openai/resources/admin/organization/projects/groups/roles.py:178-195 | src/openai/resources/admin/organization/projects/users/roles.py:178-195 | src/openai/resources/admin/organization/users/roles.py:164-181 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/projects/groups/roles.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/groups/roles.py:164\u0060 it begins part-way through the construct above it, so those exact 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: \u0060RoleListResponse\u0060 names \u0060......types.admin.organization.projects.groups.role_list_response\u0060 in one and \u0060......types.admin.organization.projects.users.role_list_response\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/groups/roles.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9eb184bf43e037d79924958cdedb04239982c8b07759b5c8ab3d1156592709"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): src/openai/resources/admin/organization/groups/roles.py:362-379 | src/openai/resources/admin/organization/projects/groups/roles.py:398-415 | src/openai/resources/admin/organization/projects/users/roles.py:398-415 | src/openai/resources/admin/organization/users/roles.py:362-379 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/projects/groups/roles.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/groups/roles.py:362\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060RoleListResponse\u0060 names \u0060......types.admin.organization.projects.groups.role_list_response\u0060 in one and \u0060......types.admin.organization.projects.users.role_list_response\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/groups/roles.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e61d9f781837ee9fc6243e5d7182643427048d4acb4a644ac863e5ac22ce08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201318 lines \u00D7 3): src/openai/_base_client.py:581-582 | src/openai/_client.py:263-280 | src/openai/_client.py:790-807 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060url\u0060 to \u0060URL\u0060 in one and \u0060httpx2.URL\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a6094c1f9f49b9e9e3c5355882f3a2c5cf582c5b40889c19e2b3fe0515a5a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/openai/_send_queue.py:103-120 | src/openai/_send_queue.py:155-172 \u2014 both copies are in the same file, so extract the block 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":"src/openai/_send_queue.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"629257ffc67f40694686b6a3cf51e08059caf891c9d9602137d8f69269a35176"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/openai/lib/_chat_completion_resources.py:334-351 | src/openai/lib/_chat_completion_resources.py:437-454 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_chat_completion_resources.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecf20bedbae86726bf52680bea17d8346d450b1bbdbf13f884d6ac298eb45ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/openai/lib/_response_resources.py:435-452 | src/openai/lib/_response_resources.py:585-602 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_response_resources.py"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"676c78a82839e77ac8a0d30ff43784262f6045d78ca5566a65335438eebd82d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/openai/lib/responses_tool_runner.py:1887-1904 | src/openai/lib/responses_tool_runner.py:2365-2382 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":1887}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb8fd0c5727ef90b93653924629d62a12a5f2324c8f6f9e5a2d695fabbf3fb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/openai/resources/beta/responses/responses.py:4304-4321 | src/openai/resources/responses/responses.py:3500-3517 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/responses/responses.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 342 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/responses/responses.py:4304\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":4304}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a91f7602dc44db580d59e995b59086e34964b9c107f6c56166094d5df5f5896"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/openai/resources/live/sideband.py:468-485 | src/openai/resources/live/sideband.py:903-920 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/sideband.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e78bde91164ee0f951c39ee802792eb90410857a477d7b01f0088555df28b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): src/openai/resources/live/forks.py:629-645 | src/openai/resources/live/live.py:842-858 | src/openai/resources/live/sideband.py:643-659 | src/openai/resources/realtime/realtime.py:856-872 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"src/openai/resources/live/forks.py"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3e03a4594b01eadd2c75f615219e7cf3aab638db7e4788af2592bc3b91cdc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/openai/_base_client.py:1143-1159 | src/openai/_base_client.py:1766-1782 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/openai/_base_client.py:1764\u0060 calls \u0060asyncify\u0060 and \u0060src/openai/_base_client.py:1142\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":"src/openai/_base_client.py"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"79673529ecb19a056f07ee4f06a589cc4edc7ab33393fcab884faea5e2f3c36b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): src/openai/_base_client.py:1192-1208 | src/openai/_base_client.py:1815-1830 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/_base_client.py:1815\u0060 it begins part-way through the construct above it, so those exact 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":"src/openai/_base_client.py"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"2789a7ed59ea0ab123fdcda4c6b927092e04265425b727cbd1f7b9b8df44b3f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/openai/lib/_assistants_runs.py:386-402 | src/openai/lib/_assistants_runs.py:749-765 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_assistants_runs.py"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"30829fba3b3cbef7eb0a33fb65788b50b19d748f1353137580c224240fb7912b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/openai/resources/admin/organization/projects/roles.py:607-623 | src/openai/resources/admin/organization/roles.py:575-591 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/projects/roles.py\u0060 and \u0060src/openai/resources/admin/organization/roles.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/roles.py"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"30143b1c8639b80c58bb1a4357be32fcfb5f62633a7b21d8a9de705854750016"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/openai/resources/admin/organization/projects/roles.py:628-644 | src/openai/resources/admin/organization/roles.py:596-612 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/projects/roles.py\u0060 and \u0060src/openai/resources/admin/organization/roles.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/roles.py"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccec1a0a4555eb55995365437c14ed3b3a6f48ce6c6ced8d3840d68d476f031"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/openai/resources/admin/organization/projects/spend_alerts.py:648-664 | src/openai/resources/admin/organization/spend_alerts.py:602-618 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/projects/spend_alerts.py\u0060 and \u0060src/openai/resources/admin/organization/spend_alerts.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/spend_alerts.py"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6c50c7cb68e8d29e62c74a6603cb1ce8f6608d8553abdc6b111a2542bb2ef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/openai/resources/admin/organization/projects/spend_alerts.py:669-685 | src/openai/resources/admin/organization/spend_alerts.py:623-639 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/projects/spend_alerts.py\u0060 and \u0060src/openai/resources/admin/organization/spend_alerts.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/spend_alerts.py"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9aab1346b98d08266b7f442ef4fa8671a85dcec40144066c6a3f9dc09a5cf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/openai/resources/beta/responses/responses.py:4752-4768 | src/openai/resources/responses/responses.py:3933-3949 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/responses/responses.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 342 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/resources/responses/responses.py:3951\u0060 calls \u0060to_raw_response_wrapper\u0060 and \u0060src/openai/resources/beta/responses/responses.py:4770\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":4752}}}],"partialFingerprints":{"codehealthFindingId/v1":"260a9861803d0b82c385ba59eedec0d558a2d0441fba290e4062a8dc2947204e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/openai/resources/beta/responses/responses.py:4783-4799 | src/openai/resources/responses/responses.py:3968-3984 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/responses/responses.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 342 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/resources/responses/responses.py:3986\u0060 calls \u0060async_to_raw_response_wrapper\u0060 and \u0060src/openai/resources/beta/responses/responses.py:4801\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":4783}}}],"partialFingerprints":{"codehealthFindingId/v1":"b183cec3496fdf622d69d5c0a553b8dea2b3d58c48c166acaba4db780e1a1a60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/openai/resources/beta/responses/responses.py:4814-4830 | src/openai/resources/responses/responses.py:4003-4019 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/responses/responses.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 342 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":4814}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d63fa782110629fa90ffb35ea1db10fd895a35bd75d8bc5f432122a38a90cbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/openai/resources/beta/responses/responses.py:4845-4861 | src/openai/resources/responses/responses.py:4034-4050 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/responses/responses.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 342 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":4845}}}],"partialFingerprints":{"codehealthFindingId/v1":"defd108f35c27b2f51bc110add1d64f4de8686793faba351699667b564be8582"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/openai/resources/realtime/realtime.py:683-699 | src/openai/resources/realtime/realtime.py:1140-1156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/realtime/realtime.py"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d26cc51ddc536ac279fd7888d0d11142593e29d0c6a079d32311262b46b17d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/openai/resources/realtime/translations/translations.py:547-563 | src/openai/resources/realtime/translations/translations.py:971-987 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/realtime/translations/translations.py"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9e34cdaec1a7dd2eb4fecb262f4e45bcdc9b367d6dfb4418063c65e94fb64b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201316 lines \u00D7 6): src/openai/_base_client.py:1460-1471 | src/openai/_base_client.py:1486-1497 | src/openai/_base_client.py:1512-1523 | src/openai/_base_client.py:2071-2082 | src/openai/_base_client.py:2097-2112 | src/openai/_base_client.py:2128-2139 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/_base_client.py:1460\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f1dbcdfdb9bff2565e90bca0dfb3a87cd45e41b712ee3d00dddfd7a1510741"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): src/openai/resources/live/forks.py:459-474 | src/openai/resources/live/forks.py:885-900 | src/openai/resources/live/live.py:677-692 | src/openai/resources/live/live.py:1095-1110 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"122bd44bae2e19226f0b04cdeff9687bbf107c17efee2517b4b404c0d4969358"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): src/openai/resources/live/sideband.py:471-486 | src/openai/resources/live/sideband.py:906-921 | src/openai/resources/realtime/realtime.py:685-700 | src/openai/resources/realtime/realtime.py:1142-1157 \u2014 before extracting anything, compare \u0060src/openai/resources/live/sideband.py\u0060 and \u0060src/openai/resources/realtime/realtime.py\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 388 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/sideband.py"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5abb7274f25c716a3ae377e7462fa6cd588ab249ef46cf59c368f5edcd336d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): src/openai/_send_queue.py:121-136 | src/openai/_send_queue.py:174-188 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_send_queue.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4a937fa8b95d8d6923ae62df322f16317713e18a1f1cac887b064af40eeb79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/openai/_websocket_connection.py:292-307 | src/openai/_websocket_connection.py:512-527 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"src/openai/_websocket_connection.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5ba061a4aefabab68403b3ced002d4b3e7a17a6a5edf54a7cf3380bfa88020"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): src/openai/_websocket_connection.py:373-388 | src/openai/_websocket_connection.py:598-610 \u2014 both copies are in the same file, so extract the block 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":"src/openai/_websocket_connection.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"543f4b7f471bcd99d8d30140573209ec2700f0a02eb2acc837bb0d11a1ac5c73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/openai/lib/_chat_completion_resources.py:142-157 | src/openai/lib/_chat_completion_resources.py:261-276 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/_chat_completion_resources.py:142\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_chat_completion_resources.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0cd085b0d56bc04f3d6d23dc239e995b31aed79e4fda7420d8ac57a72637cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/openai/lib/browser.py:1565-1580 | src/openai/lib/browser.py:1829-1844 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/browser.py:1565\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":1565}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b10adc3a6f2d9b2037a9e8e9974c5629dc0dfca8a8026bfe8be2b1f7546b0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/openai/lib/responses_tool_runner.py:1998-2013 | src/openai/lib/responses_tool_runner.py:2487-2502 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":1998}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b93cb1b8d3ad64f6928826b572b0a16c38212dea909f1c9eac876da6d4e182d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/openai/resources/chat/completions/completions.py:135-190 | src/openai/resources/responses/responses.py:260-275 \u2014 before extracting anything, compare \u0060src/openai/resources/chat/completions/completions.py\u0060 and \u0060src/openai/resources/responses/responses.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/chat/completions/completions.py:135\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/chat/completions/completions.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"233d4bf9e71e75c645ede30d832a2fee08efb938126283c4c895d1612dd15228"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/openai/resources/chat/completions/completions.py:264-299 | src/openai/resources/responses/responses.py:404-419 \u2014 before extracting anything, compare \u0060src/openai/resources/chat/completions/completions.py\u0060 and \u0060src/openai/resources/responses/responses.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/chat/completions/completions.py:264\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/chat/completions/completions.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"1493c7c627f57aa239dfb6d90343784ac6265fb44e5a1141d30b14759f0a86cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/openai/resources/chat/completions/completions.py:1938-1993 | src/openai/resources/responses/responses.py:2178-2193 \u2014 before extracting anything, compare \u0060src/openai/resources/chat/completions/completions.py\u0060 and \u0060src/openai/resources/responses/responses.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/chat/completions/completions.py:1938\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/chat/completions/completions.py"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"db13793e3a90ee263825d9f1f8b4ada3b253688e8f90e7a26504ed881f87476f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/openai/resources/chat/completions/completions.py:2067-2102 | src/openai/resources/responses/responses.py:2322-2337 \u2014 before extracting anything, compare \u0060src/openai/resources/chat/completions/completions.py\u0060 and \u0060src/openai/resources/responses/responses.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/chat/completions/completions.py:2067\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/chat/completions/completions.py"},"region":{"startLine":2067}}}],"partialFingerprints":{"codehealthFindingId/v1":"645055ddd11a46371e3b6ddead8f8e0c438ad2d00936313985a3e1a0de8dad20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 26): src/openai/_client.py:329-343 | src/openai/_client.py:614-628 | src/openai/_client.py:856-870 | src/openai/_client.py:1141-1155 | src/openai/lib/_chat_completion_resources.py:361-375 | src/openai/lib/_chat_completion_resources.py:464-478 | src/openai/lib/_response_resources.py:440-454 | src/openai/lib/_response_resources.py:607-621 | src/openai/resources/beta/threads/runs/runs.py:138-152 | src/openai/resources/beta/threads/runs/runs.py:251-265 | src/openai/resources/beta/threads/runs/runs.py:393-407 | src/openai/resources/beta/threads/runs/runs.py:1681-1695 | src/openai/resources/beta/threads/runs/runs.py:1793-1807 | src/openai/resources/beta/threads/runs/runs.py:1937-1951 | src/openai/resources/beta/threads/threads.py:135-149 | src/openai/resources/beta/threads/threads.py:240-254 | src/openai/resources/beta/threads/threads.py:1215-1229 | src/openai/resources/beta/threads/threads.py:1323-1337 | src/openai/resources/chat/completions/completions.py:204-218 | src/openai/resources/chat/completions/completions.py:313-327 | src/openai/resources/chat/completions/completions.py:2007-2021 | src/openai/resources/chat/completions/completions.py:2116-2130 | src/openai/resources/responses/responses.py:288-302 | src/openai/resources/responses/responses.py:431-445 | src/openai/resources/responses/responses.py:2206-2220 | src/openai/resources/responses/responses.py:2349-2363 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/threads/threads.py\u0060 and \u0060src/openai/resources/responses/responses.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/_client.py:329\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_client.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b89aa23460a1b6332252e6e27cd2f5a1c9360b9bd3b33485aa77d6d577bd5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 23): src/openai/resources/admin/organization/certificates.py:717-731 | src/openai/resources/admin/organization/groups/groups.py:521-535 | src/openai/resources/admin/organization/projects/roles.py:567-581 | src/openai/resources/admin/organization/projects/service_accounts/service_accounts.py:618-632 | src/openai/resources/admin/organization/projects/spend_alerts.py:608-622 | src/openai/resources/admin/organization/projects/users/users.py:574-588 | src/openai/resources/admin/organization/roles.py:535-549 | src/openai/resources/admin/organization/spend_alerts.py:562-576 | src/openai/resources/audio/voice_consents.py:533-547 | src/openai/resources/beta/agents/agents.py:819-833 | src/openai/resources/beta/agents/automations/automations.py:927-941 | src/openai/resources/beta/agents/environments/templates.py:725-739 | src/openai/resources/beta/agents/sessions/sessions.py:930-944 | src/openai/resources/beta/agents/vaults/credentials.py:642-656 | src/openai/resources/beta/agents/vaults/vaults.py:604-618 | src/openai/resources/beta/assistants.py:1161-1175 | src/openai/resources/beta/threads/messages.py:636-650 | src/openai/resources/chat/completions/completions.py:3670-3684 | src/openai/resources/evals/evals.py:609-623 | src/openai/resources/skills/skills.py:544-558 | src/openai/resources/vector_stores/files.py:898-912 | src/openai/resources/vector_stores/vector_stores.py:796-810 | src/openai/resources/webhooks/webhooks.py:1029-1043 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/certificates.py\u0060 and \u0060src/openai/resources/admin/organization/groups/groups.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/resources/admin/organization/projects/service_accounts/service_accounts.py:635\u0060 calls \u0060api_keys\u0060, \u0060APIKeysWithRawResponse\u0060 and \u0060src/openai/resources/admin/organization/projects/roles.py:584\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/certificates.py"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"1535c9c2bc255652f29a71d9d08f671422e32354dd80ae6cd881d05144660b82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 23): src/openai/resources/admin/organization/certificates.py:744-758 | src/openai/resources/admin/organization/groups/groups.py:550-564 | src/openai/resources/admin/organization/projects/roles.py:588-602 | src/openai/resources/admin/organization/projects/service_accounts/service_accounts.py:643-657 | src/openai/resources/admin/organization/projects/spend_alerts.py:629-643 | src/openai/resources/admin/organization/projects/users/users.py:599-613 | src/openai/resources/admin/organization/roles.py:556-570 | src/openai/resources/admin/organization/spend_alerts.py:583-597 | src/openai/resources/audio/voice_consents.py:554-568 | src/openai/resources/beta/agents/agents.py:856-870 | src/openai/resources/beta/agents/automations/automations.py:958-972 | src/openai/resources/beta/agents/environments/templates.py:746-760 | src/openai/resources/beta/agents/sessions/sessions.py:975-989 | src/openai/resources/beta/agents/vaults/credentials.py:663-677 | src/openai/resources/beta/agents/vaults/vaults.py:629-643 | src/openai/resources/beta/assistants.py:1182-1196 | src/openai/resources/beta/threads/messages.py:657-671 | src/openai/resources/chat/completions/completions.py:3702-3716 | src/openai/resources/evals/evals.py:635-649 | src/openai/resources/skills/skills.py:573-587 | src/openai/resources/vector_stores/files.py:922-936 | src/openai/resources/vector_stores/vector_stores.py:828-842 | src/openai/resources/webhooks/webhooks.py:1060-1074 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/certificates.py\u0060 and \u0060src/openai/resources/admin/organization/groups/groups.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/resources/admin/organization/projects/service_accounts/service_accounts.py:660\u0060 calls \u0060api_keys\u0060, \u0060AsyncAPIKeysWithRawResponse\u0060 and \u0060src/openai/resources/admin/organization/projects/roles.py:605\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/certificates.py"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"261cf5a795e71bff34f9950549582bf6ad23b9bd2d4ab793370cc790c83e074b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): src/openai/resources/live/forks.py:199-213 | src/openai/resources/live/live.py:419-433 | src/openai/resources/live/sideband.py:204-218 | src/openai/resources/realtime/realtime.py:391-405 | src/openai/resources/realtime/translations/translations.py:281-295 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"src/openai/resources/live/forks.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9e2fa719454cc19f94980428abae8a3718ce35a779096f4414801e8eeac788"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): src/openai/resources/live/forks.py:497-511 | src/openai/resources/live/live.py:715-729 | src/openai/resources/live/sideband.py:509-523 | src/openai/resources/realtime/realtime.py:725-739 | src/openai/resources/realtime/translations/translations.py:586-600 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"528b0884ac434c7179068717c54a9154c803ce4a41744f911a2d81eb8022de87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): src/openai/resources/live/forks.py:923-937 | src/openai/resources/live/live.py:1133-1147 | src/openai/resources/live/sideband.py:944-958 | src/openai/resources/realtime/realtime.py:1182-1196 | src/openai/resources/realtime/translations/translations.py:1010-1024 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bad2b457e871b0bca12fe5d1666331caec8901fe90faadf101921959b94b0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/openai/_base_client.py:1035-1049 | src/openai/_base_client.py:1656-1670 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/_base_client.py:1035\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"c112d4dc84aed8f8c0e8faf922591a8870d7b14cb56caa882e113d0aab61f3a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/openai/lib/_response_resources.py:175-189 | src/openai/lib/_response_resources.py:298-312 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/_response_resources.py:175\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_response_resources.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1ccc920731ae91a4dff10fef2b07c1dae84aa4d007c561bd09c15ace591e42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): src/openai/lib/streaming/_assistants.py:366-380 | src/openai/lib/streaming/_assistants.py:799-812 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/streaming/_assistants.py:799\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/_assistants.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f03de0ddf4d306f31a11e27ae2500825a88aa4c0c8359b6912f3e845eac54b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/openai/resources/admin/organization/external_keys.py:845-859 | src/openai/resources/admin/organization/external_storage.py:514-528 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/external_keys.py\u0060 and \u0060src/openai/resources/admin/organization/external_storage.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 200 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/external_keys.py"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff4e0ab8a4761ca8edc164bf67fe258f84c84b02fcb570dd670639a271beb79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/openai/resources/admin/organization/external_keys.py:866-880 | src/openai/resources/admin/organization/external_storage.py:535-549 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/external_keys.py\u0060 and \u0060src/openai/resources/admin/organization/external_storage.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 200 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/external_keys.py"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"0152c50303198a4745c83815915d587784cc9db62d1aba6d252c58357d3823e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/openai/resources/audio/transcriptions.py:726-740 | src/openai/resources/audio/transcriptions.py:1416-1430 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/audio/transcriptions.py:726\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/audio/transcriptions.py"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc7617905d719ba64a507d8f6323c205ebc7741fb7afa34d7c4f103ada35cee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/openai/resources/beta/agents/sessions/sessions.py:262-276 | src/openai/resources/beta/agents/sessions/sessions.py:685-699 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/sessions/sessions.py:262\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/sessions/sessions.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a03c59b95561b589b461e75d62550c766ba2f984ac2c9bdef4ef73a139a80e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/openai/resources/beta/responses/responses.py:4894-4908 | src/openai/resources/responses/responses.py:4083-4097 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/responses/responses.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 342 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060EventHandlerRegistry\u0060 names \u0060...._event_handler\u0060 in one and \u0060..._event_handler\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":4894}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e89deff58e409bc5a53d2aea91c7da2116f6f83ba540ef6c76ec8b1a5ad4c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/openai/resources/beta/threads/runs/runs.py:1593-1607 | src/openai/resources/beta/threads/runs/runs.py:3141-3155 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/threads/runs/runs.py:1593\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/threads/runs/runs.py"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a250c1d9d202170c19907bc7c09434179bf92af4d5993b82ae0f154a320c3e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/openai/resources/beta/threads/threads.py:1128-1142 | src/openai/resources/beta/threads/threads.py:2211-2225 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/threads/threads.py:1128\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/threads/threads.py"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6800eac310723946ccfe811cd6b8aa33ec166d68ad636abec30e4dab19704a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): src/openai/resources/live/forks.py:181-194 | src/openai/resources/live/live.py:401-414 | src/openai/resources/live/sideband.py:186-199 | src/openai/resources/realtime/realtime.py:373-386 | src/openai/resources/realtime/translations/translations.py:263-276 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3152e12ffdfdfc05bd1e2489fc586fd809758d713ac832ed11e02dc1902258ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): src/openai/resources/live/forks.py:611-624 | src/openai/resources/live/live.py:824-837 | src/openai/resources/live/sideband.py:625-638 | src/openai/resources/realtime/realtime.py:838-851 | src/openai/resources/realtime/translations/translations.py:691-704 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"03593ae03bbb1bf72d17fd9d09cdfa167e453d878b8412e4976ed9cd89aee9eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/openai/resources/beta/agents/automations/invocations.py:109-122 | src/openai/resources/beta/agents/sessions/artifacts.py:250-263 | src/openai/resources/vector_stores/file_batches.py:167-180 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/automations/invocations.py\u0060 and \u0060src/openai/resources/beta/agents/sessions/artifacts.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/automations/invocations.py:109\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/beta/agents/automations/invocations.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5ca23758779b0a4499016973c29a1eacf089a30d17874c74e438b93fe3e9eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/openai/resources/beta/agents/automations/invocations.py:272-285 | src/openai/resources/beta/agents/sessions/artifacts.py:484-497 | src/openai/resources/vector_stores/file_batches.py:498-511 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/automations/invocations.py\u0060 and \u0060src/openai/resources/beta/agents/sessions/artifacts.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/automations/invocations.py:272\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/beta/agents/automations/invocations.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"542e5b9cdd33bbf892e790e98aed67705a42f5583aa936b07b2b1feb4c00327b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/openai/resources/live/forks.py:457-470 | src/openai/resources/live/live.py:675-688 | src/openai/resources/live/sideband.py:466-479 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/live/forks.py:457\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f33041d85fd68ec97ef4cbf40d282b2bba792fe83547e919b46ed83b4b49e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/openai/resources/live/forks.py:883-896 | src/openai/resources/live/live.py:1093-1106 | src/openai/resources/live/sideband.py:901-914 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/live/forks.py:883\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"31dcbf030175290ffcb54983f5082d46cd3b07c0ddb0dc6da4cb66f6fe884268"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/openai/auth/_x509.py:571-584 | src/openai/auth/_x509.py:658-671 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/auth/_x509.py:571\u0060 it begins part-way through the construct above it, so those exact 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":"src/openai/auth/_x509.py"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cde5dc29e8de5d6f90a763e03b49125139a7889fb0451dfd3aba23e1ea69d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/openai/lib/azure.py:546-559 | src/openai/lib/azure.py:925-938 \u2014 both copies are in the same file, so extract the block 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":"src/openai/lib/azure.py"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f8d4729c5534d836da598e3740f2b79121455ba61ca2fbed0a614caed6b497"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/openai/lib/responses_tool_runner.py:2252-2265 | src/openai/lib/responses_tool_runner.py:2729-2742 \u2014 both copies are in the same file, so extract the block 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":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":2252}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6fb529e6f32a53ea18f90243fbc5d7813bcb6fdda0e88bcaf274ead7bcf110"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/openai/resources/admin/organization/certificates.py:315-328 | src/openai/resources/admin/organization/projects/certificates.py:139-152 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/certificates.py\u0060 and \u0060src/openai/resources/admin/organization/projects/certificates.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/certificates.py:315\u0060 it begins part-way through the construct above it, so those exact 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: \u0060CertificateActivateResponse\u0060 names \u0060.....types.admin.organization.projects.certificate_activate_response\u0060 in one and \u0060....types.admin.organization.certificate_activate_response\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/certificates.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc281b5b4d1e044aaec7e21000b3b3664c244637f1c2d2f48d6bbed8b360656"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/openai/resources/admin/organization/certificates.py:357-370 | src/openai/resources/admin/organization/projects/certificates.py:184-197 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/certificates.py\u0060 and \u0060src/openai/resources/admin/organization/projects/certificates.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/certificates.py:357\u0060 it begins part-way through the construct above it, so those exact 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: \u0060CertificateDeactivateResponse\u0060 names \u0060.....types.admin.organization.projects.certificate_deactivate_response\u0060 in one and \u0060....types.admin.organization.certificate_deactivate_response\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/certificates.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"70002f400a32b59b019a3745c0c045359ba462f821bd42df4b9f3627ad472d31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/openai/resources/admin/organization/certificates.py:655-668 | src/openai/resources/admin/organization/projects/certificates.py:310-323 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/certificates.py\u0060 and \u0060src/openai/resources/admin/organization/projects/certificates.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/certificates.py:655\u0060 it begins part-way through the construct above it, so those exact 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: \u0060CertificateActivateResponse\u0060 names \u0060.....types.admin.organization.projects.certificate_activate_response\u0060 in one and \u0060....types.admin.organization.certificate_activate_response\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/certificates.py"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb5a208c329da37ee7562776c1d5fe739a6d7e60a93d82e232e51f461012feb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/openai/resources/admin/organization/certificates.py:697-710 | src/openai/resources/admin/organization/projects/certificates.py:355-368 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/certificates.py\u0060 and \u0060src/openai/resources/admin/organization/projects/certificates.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/admin/organization/certificates.py:697\u0060 it begins part-way through the construct above it, so those exact 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: \u0060CertificateDeactivateResponse\u0060 names \u0060.....types.admin.organization.projects.certificate_deactivate_response\u0060 in one and \u0060....types.admin.organization.certificate_deactivate_response\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/certificates.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ef9936094bd406b6063958823e01072865634f9e24c94f903a52f29f6f1efc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 14): src/openai/resources/beta/responses/responses.py:4995-5007 | src/openai/resources/beta/responses/responses.py:5325-5337 | src/openai/resources/live/forks.py:271-283 | src/openai/resources/live/forks.py:703-715 | src/openai/resources/live/live.py:491-503 | src/openai/resources/live/live.py:916-928 | src/openai/resources/live/sideband.py:278-290 | src/openai/resources/live/sideband.py:719-731 | src/openai/resources/realtime/realtime.py:471-483 | src/openai/resources/realtime/realtime.py:936-948 | src/openai/resources/realtime/translations/translations.py:356-368 | src/openai/resources/realtime/translations/translations.py:786-798 | src/openai/resources/responses/responses.py:4184-4196 | src/openai/resources/responses/responses.py:4515-4527 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/live/forks.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":4995}}}],"partialFingerprints":{"codehealthFindingId/v1":"5675aa4dd453fd5c10c64f2875c6a9657f756cedb156e30385e2d5780793aaf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 6): src/openai/_websocket_connection.py:230-240 | src/openai/resources/live/forks.py:591-603 | src/openai/resources/live/live.py:804-816 | src/openai/resources/live/sideband.py:605-617 | src/openai/resources/realtime/realtime.py:818-830 | src/openai/resources/realtime/translations/translations.py:671-683 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/_websocket_connection.py:230\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_websocket_connection.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5adac51335c61e18ef58b7fc65d495e46326bca5f6e4edf7469524f98bfd94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 6): src/openai/_websocket_connection.py:458-468 | src/openai/resources/live/forks.py:161-173 | src/openai/resources/live/live.py:381-393 | src/openai/resources/live/sideband.py:166-178 | src/openai/resources/realtime/realtime.py:353-365 | src/openai/resources/realtime/translations/translations.py:243-255 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/_websocket_connection.py:458\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_websocket_connection.py"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"229b79064a65e05abd624844a8e95c970a19a16d25fd9c9699f1c8a175d9dda4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): src/openai/resources/live/forks.py:516-528 | src/openai/resources/live/forks.py:942-954 | src/openai/resources/live/sideband.py:528-540 | src/openai/resources/live/sideband.py:963-975 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/sideband.py\u0060 as WHOLE FILES: this scan already matched 35 separate duplicated blocks between them, totalling at least 510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/live/forks.py:516\u0060 it begins part-way through the construct above it, so those exact 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":"src/openai/resources/live/forks.py"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fe07821e1ff1041362f47449f7398f442d5a92d55b12a6cf6afa43ed6db1cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/openai/lib/_assistants_runs.py:173-185 | src/openai/lib/_assistants_runs.py:393-405 | src/openai/lib/_assistants_threads.py:147-159 \u2014 before extracting anything, compare \u0060src/openai/lib/_assistants_runs.py\u0060 and \u0060src/openai/lib/_assistants_threads.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/_assistants_runs.py:173\u0060 it begins part-way through the construct above it, so those exact 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":"src/openai/lib/_assistants_runs.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad19c78f3933da60840fbeea98ca5f31c75957c365d5fb9115713c62b6d13134"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/openai/lib/_assistants_runs.py:538-550 | src/openai/lib/_assistants_runs.py:756-768 | src/openai/lib/_assistants_threads.py:275-287 \u2014 before extracting anything, compare \u0060src/openai/lib/_assistants_runs.py\u0060 and \u0060src/openai/lib/_assistants_threads.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/_assistants_runs.py:538\u0060 it begins part-way through the construct above it, so those exact 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":"src/openai/lib/_assistants_runs.py"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1d4406131ccbfe0f6b5623e0a55c44753858a131fb2d40f71b0dbda13e9135"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/openai/_utils/_transform.py:220-232 | src/openai/_utils/_transform.py:388-400 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"src/openai/_utils/_transform.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76f1b2f9a5ee0618507f55870f92b21337bd30bf741b0d4ac9d776865d4f1b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/openai/_utils/_transform.py:269-281 | src/openai/_utils/_transform.py:437-449 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"src/openai/_utils/_transform.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f720f71b6cf84435168df49ab611304f7a9f67354f30c2f9568c87350a8fce91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/openai/_websocket_connection.py:206-218 | src/openai/_websocket_connection.py:438-450 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_websocket_connection.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d225541f787b192d656f9f3fbd04660e2a583ed4e44b255f7740ab1e66bc8a1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/openai/lib/_vector_stores.py:66-78 | src/openai/lib/_vector_stores.py:109-121 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/_vector_stores.py:66\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_vector_stores.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4702be296515af9b7e1933f812aeaa0eb03f412129c6bc55eee106dd8030d913"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/openai/lib/browser.py:1547-1559 | src/openai/lib/browser.py:1806-1818 \u2014 both copies are in the same file, so extract the block 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":"src/openai/lib/browser.py"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0473ad899d210ac0a1d089b62e56142c44c40e0ab1b5201bf1ba6f710e0d3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/openai/lib/responses_tool_runner.py:1932-1944 | src/openai/lib/responses_tool_runner.py:2412-2424 \u2014 both copies are in the same file, so extract the block 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":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"afaa5189ed8150a6416683d2192f4852782e9329196a528155c5912a75212099"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src/openai/lib/responses_tool_runner.py:2037-2049 | src/openai/lib/responses_tool_runner.py:2524-2535 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":2037}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d745afff91adfe4e225ebae026e08947dfd02b16da2a6dae80adb79edcd69f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/openai/lib/streaming/_assistants.py:68-80 | src/openai/lib/streaming/_assistants.py:500-512 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/_assistants.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2518c8bad301c973959141cf800c3b7063a908b668bc02918bffe55b98e322c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/openai/resources/images.py:680-692 | src/openai/resources/images.py:1856-1868 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/images.py:680\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/images.py"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c3a8d8d8e5874f753508daf0cdd6665c321cd55fb5828eb15721bcdf9b113e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 14): src/openai/resources/beta/responses/responses.py:5152-5163 | src/openai/resources/beta/responses/responses.py:5476-5487 | src/openai/resources/live/forks.py:430-441 | src/openai/resources/live/forks.py:856-867 | src/openai/resources/live/live.py:648-659 | src/openai/resources/live/live.py:1066-1077 | src/openai/resources/live/sideband.py:439-450 | src/openai/resources/live/sideband.py:874-885 | src/openai/resources/realtime/realtime.py:636-647 | src/openai/resources/realtime/realtime.py:1095-1106 | src/openai/resources/realtime/translations/translations.py:518-529 | src/openai/resources/realtime/translations/translations.py:942-953 | src/openai/resources/responses/responses.py:4341-4352 | src/openai/resources/responses/responses.py:4666-4677 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/live/forks.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/responses/responses.py:5152\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":5152}}}],"partialFingerprints":{"codehealthFindingId/v1":"338e7398c8eb35377818daf20978a55922cfc21eaf30f00d184e11ee02ea6529"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): src/openai/resources/live/forks.py:133-144 | src/openai/resources/live/forks.py:563-574 | src/openai/resources/live/live.py:353-364 | src/openai/resources/live/live.py:776-787 | src/openai/resources/live/sideband.py:137-148 | src/openai/resources/live/sideband.py:576-587 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27d36945a7b55fe918c1458b7a29b121eb4ed4f5e9ec530d9ad4ef3f0da8eb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): src/openai/_base_client.py:584-593 | src/openai/_client.py:271-282 | src/openai/_client.py:798-809 \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 \u0060src/openai/_client.py:271\u0060 it begins part-way through the construct above it, so those exact 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":"src/openai/_base_client.py"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"28866a8ed630989c8b714b16f4e335815c7e19994528d957b37fd298b3d01d94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/openai/_utils/_transform.py:251-262 | src/openai/_utils/_transform.py:419-430 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/_utils/_transform.py:251\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/openai/_utils/_transform.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32cecd8fa6f6b17355c02d646e3b162d71bc2bb9da9e98fbfe4913426f233a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/openai/lib/computer.py:666-677 | src/openai/lib/computer.py:876-887 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/computer.py:666\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/computer.py"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6b48dcb5e7fb39293527e0a80683866b72fc3f15b220220da310b9a360777f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/openai/lib/responses_websocket/_session.py:488-499 | src/openai/lib/responses_websocket/_session.py:634-645 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"src/openai/lib/responses_websocket/_session.py"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe1ecc455dc2b9ef153d037b27e39c25aa4d9c3a01a886e436cd7abec4a05c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/openai/resources/beta/responses/responses.py:4115-4126 | src/openai/resources/responses/responses.py:3319-3330 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/responses/responses.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 342 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/responses/responses.py:4115\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":4115}}}],"partialFingerprints":{"codehealthFindingId/v1":"442100c9359f2da8dc93f6933f6a6afce5781a9b7661af808991cd0e18207cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/openai/resources/chat/completions/completions.py:3455-3466 | src/openai/resources/completions.py:1125-1158 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/chat/completions/completions.py:3455\u0060 it begins part-way through the construct above it, so those exact 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":"src/openai/resources/chat/completions/completions.py"},"region":{"startLine":3455}}}],"partialFingerprints":{"codehealthFindingId/v1":"9861778d72d3d93fa2a7138f66cee7c7f5b2a04ef6c03f5f468610840e9b6486"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/openai/resources/realtime/translations/translations.py:437-448 | src/openai/resources/realtime/translations/translations.py:861-872 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/realtime/translations/translations.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a9e736dd2dbd8441e503a3f8fa69c45ef27be2737a82e293ed5c7193451588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/openai/resources/videos.py:611-622 | src/openai/resources/videos.py:1198-1209 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/videos.py:611\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/videos.py"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"332e511a424dae309e8c327586667c46fc793679a57d3cdbbf8aa99b22cb3f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 10): src/openai/resources/live/forks.py:207-217 | src/openai/resources/live/forks.py:639-649 | src/openai/resources/live/live.py:427-437 | src/openai/resources/live/live.py:852-862 | src/openai/resources/live/sideband.py:212-222 | src/openai/resources/live/sideband.py:653-663 | src/openai/resources/realtime/realtime.py:399-409 | src/openai/resources/realtime/realtime.py:866-876 | src/openai/resources/realtime/translations/translations.py:289-299 | src/openai/resources/realtime/translations/translations.py:719-729 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"611a99ef0ae46df0b61228bde75ff565b8e74f2db9380c7c47a8e41f44f1bbf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 10): src/openai/resources/live/forks.py:494-504 | src/openai/resources/live/forks.py:920-930 | src/openai/resources/live/live.py:712-722 | src/openai/resources/live/live.py:1130-1140 | src/openai/resources/live/sideband.py:506-516 | src/openai/resources/live/sideband.py:941-951 | src/openai/resources/realtime/realtime.py:722-732 | src/openai/resources/realtime/realtime.py:1179-1189 | src/openai/resources/realtime/translations/translations.py:583-593 | src/openai/resources/realtime/translations/translations.py:1007-1017 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/live/forks.py:494\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e90a84997e0a06f047d1fc69d5925b26472c2c8eb3f1434e20f3a582c9d59c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): src/openai/resources/live/forks.py:473-483 | src/openai/resources/live/live.py:691-701 | src/openai/resources/live/sideband.py:485-495 | src/openai/resources/realtime/realtime.py:699-709 | src/openai/resources/realtime/translations/translations.py:562-572 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/live/forks.py:473\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d50929455e9b7a2a038ee3319fa8b00be1b91d56f7916cf503ae1387ffa356"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): src/openai/resources/live/forks.py:899-909 | src/openai/resources/live/live.py:1109-1119 | src/openai/resources/live/sideband.py:920-930 | src/openai/resources/realtime/realtime.py:1156-1166 | src/openai/resources/realtime/translations/translations.py:986-996 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/live/forks.py:899\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"23636cb86e5368e6b9a893efbb07566d521cdbe049015698fcd5fa7780c3d326"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/openai/_utils/_transform.py:239-249 | src/openai/_utils/_transform.py:407-417 \u2014 both copies are in the same file, so extract the block 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":"src/openai/_utils/_transform.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d242680f96beecfd0a341f2cac27b49ba34afbdf154034ffe28c9946cbf170c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/openai/lib/_response_resources.py:390-399 | src/openai/lib/_response_resources.py:558-568 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/_response_resources.py:390\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/lib/_response_resources.py:569\u0060 calls \u0060isinstance\u0060, \u0060ValueError\u0060 and \u0060src/openai/lib/_response_resources.py:400\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_response_resources.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"60841a4e97879664f1ffa358ef60a77719bef378caf5839aa96fc95569118056"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/openai/lib/bedrock.py:486-496 | src/openai/lib/bedrock.py:722-732 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/bedrock.py"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"caeda8115278348ed2c89272566a7fe8787c197351d58f575ae1048742dc010b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/openai/lib/beta/agents/_artifacts.py:76-86 | src/openai/lib/beta/agents/_artifacts.py:148-157 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/beta/agents/_artifacts.py:148\u0060 it begins part-way through the construct above it, so those exact 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":"src/openai/lib/beta/agents/_artifacts.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"09962c8390493e1ee894faa5c2a5731669b1041c03b524b18fd2566675715580"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/openai/lib/beta/agents/_stream.py:59-69 | src/openai/lib/beta/agents/_stream.py:113-122 \u2014 both copies are in the same file, so extract the block 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":"src/openai/lib/beta/agents/_stream.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"346174c8a380d7b0c1af767fee21245e6bc9560c381bf237cff68b1bfa7dad06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/openai/lib/responses_tool_runner.py:1851-1861 | src/openai/lib/responses_tool_runner.py:2327-2337 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":1851}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20212dfeda7c00f7022d7940fc0214d3c43852fe420f2a867869ae0a31c13c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/openai/lib/streaming/_assistants.py:322-332 | src/openai/lib/streaming/_assistants.py:755-764 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/streaming/_assistants.py:755\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/_assistants.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4262c73813a428cfe382107dc2a2315da0eed7032ae23df368189abc694c7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/openai/lib/streaming/agents/_streams.py:192-202 | src/openai/lib/streaming/agents/_streams.py:331-340 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"src/openai/lib/streaming/agents/_streams.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd021fa66ebc0b92403a3f2d889e85ce1aa505a363b2688383a809aff47391e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/openai/resources/beta/responses/responses.py:5073-5083 | src/openai/resources/responses/responses.py:4262-4272 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/responses/responses.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 342 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060EventHandlerRegistry\u0060 names \u0060...._event_handler\u0060 in one and \u0060..._event_handler\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":5073}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e13e30cde1ddceca48e3e168bb8d884c6ce2bdf899e326a53dc66a5dea0446a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/openai/resources/beta/responses/responses.py:5397-5407 | src/openai/resources/responses/responses.py:4587-4597 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/responses/responses.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 342 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060EventHandlerRegistry\u0060 names \u0060...._event_handler\u0060 in one and \u0060..._event_handler\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":5397}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ea0a12c159501616afabf5d8083042912c693c4cd14083e8608a631d2565c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 14): src/openai/resources/beta/responses/responses.py:5124-5133 | src/openai/resources/beta/responses/responses.py:5448-5457 | src/openai/resources/live/forks.py:402-411 | src/openai/resources/live/forks.py:828-837 | src/openai/resources/live/live.py:620-629 | src/openai/resources/live/live.py:1038-1047 | src/openai/resources/live/sideband.py:411-420 | src/openai/resources/live/sideband.py:846-855 | src/openai/resources/realtime/realtime.py:608-617 | src/openai/resources/realtime/realtime.py:1067-1076 | src/openai/resources/realtime/translations/translations.py:490-499 | src/openai/resources/realtime/translations/translations.py:914-923 | src/openai/resources/responses/responses.py:4313-4322 | src/openai/resources/responses/responses.py:4638-4647 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/live/forks.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":5124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8e5b2cc59cd839a7ba2f4d03e8ba4ab15a56bee0b6755b0606590dff42dfd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 12): src/openai/resources/beta/agents/agents.py:222-231 | src/openai/resources/beta/agents/environments/environments.py:147-156 | src/openai/resources/beta/agents/sessions/events.py:123-132 | src/openai/resources/beta/agents/sessions/sessions.py:307-316 | src/openai/resources/beta/agents/vaults/vaults.py:137-146 | src/openai/resources/beta/assistants.py:285-294 | src/openai/resources/beta/chatkit/threads.py:71-80 | src/openai/resources/beta/threads/threads.py:345-354 | src/openai/resources/files.py:318-327 | src/openai/resources/live/sessions.py:129-138 | src/openai/resources/skills/content.py:68-77 | src/openai/resources/vector_stores/vector_stores.py:176-185 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/agents.py\u0060 and \u0060src/openai/resources/beta/agents/environments/environments.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/agents.py:222\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/resources/beta/assistants.py:298\u0060 calls \u0060deprecated\u0060 and \u0060src/openai/resources/beta/agents/agents.py:235\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/agents.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7ec498640aa2c1cdf98944bc57d4ffbcbbd0cba9cc6c90184f3fe161c3225f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 12): src/openai/resources/beta/agents/agents.py:599-608 | src/openai/resources/beta/agents/environments/environments.py:330-339 | src/openai/resources/beta/agents/sessions/events.py:238-247 | src/openai/resources/beta/agents/sessions/sessions.py:730-739 | src/openai/resources/beta/agents/vaults/vaults.py:420-429 | src/openai/resources/beta/assistants.py:846-855 | src/openai/resources/beta/chatkit/threads.py:294-303 | src/openai/resources/beta/threads/threads.py:1428-1437 | src/openai/resources/files.py:659-668 | src/openai/resources/live/sessions.py:417-426 | src/openai/resources/skills/content.py:127-136 | src/openai/resources/vector_stores/vector_stores.py:547-556 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/agents.py\u0060 and \u0060src/openai/resources/beta/agents/environments/environments.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/agents.py:599\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/resources/beta/assistants.py:859\u0060 calls \u0060deprecated\u0060 and \u0060src/openai/resources/beta/agents/agents.py:612\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/agents.py"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c278b271393dff39e1fd48941fa48e1b83992d0af5df20e5d5a356a538ae04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 10): src/openai/resources/live/forks.py:187-196 | src/openai/resources/live/forks.py:617-626 | src/openai/resources/live/live.py:407-416 | src/openai/resources/live/live.py:830-839 | src/openai/resources/live/sideband.py:192-201 | src/openai/resources/live/sideband.py:631-640 | src/openai/resources/realtime/realtime.py:379-388 | src/openai/resources/realtime/realtime.py:844-853 | src/openai/resources/realtime/translations/translations.py:269-278 | src/openai/resources/realtime/translations/translations.py:697-706 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"src/openai/resources/live/forks.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fac5f09e9e4110c496c38faf0cdca95b615109f163fbd30449afe92e6acddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 10): src/openai/resources/live/forks.py:476-485 | src/openai/resources/live/forks.py:902-911 | src/openai/resources/live/live.py:694-703 | src/openai/resources/live/live.py:1112-1121 | src/openai/resources/live/sideband.py:488-497 | src/openai/resources/live/sideband.py:923-932 | src/openai/resources/realtime/realtime.py:702-711 | src/openai/resources/realtime/realtime.py:1159-1168 | src/openai/resources/realtime/translations/translations.py:565-574 | src/openai/resources/realtime/translations/translations.py:989-998 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/live/forks.py:476\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/resources/realtime/realtime.py:714\u0060 calls \u0060is_given\u0060 and \u0060src/openai/resources/live/forks.py:487\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbea4510fbd4b932d906ba74021b27ec7029eae49af80aab1d5059db51643865"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 6): src/openai/resources/live/forks.py:297-305 | src/openai/resources/live/forks.py:726-735 | src/openai/resources/live/live.py:517-525 | src/openai/resources/live/live.py:939-948 | src/openai/resources/live/sideband.py:304-312 | src/openai/resources/live/sideband.py:742-751 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"5793009ae5f156476cd6e1abf65407b07a4ccd2496059661d728d2d6fa92b78f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): src/openai/resources/realtime/realtime.py:497-505 | src/openai/resources/realtime/realtime.py:959-968 | src/openai/resources/realtime/translations/translations.py:382-390 | src/openai/resources/realtime/translations/translations.py:809-818 \u2014 before extracting anything, compare \u0060src/openai/resources/realtime/realtime.py\u0060 and \u0060src/openai/resources/realtime/translations/translations.py\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 398 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060RealtimeErrorEvent\u0060 names \u0060....types.realtime.realtime_error_event\u0060 in one and \u0060...types.realtime.realtime_error_event\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/realtime/realtime.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d32be22599beac1bfa89851a32453a73b69ca01dc5237344dbaa77881ca7510"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): scripts/check-dependency-security.py:687-696 | scripts/check-dependency-security.py:897-906 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f9ca1587bac2701908d44a2100f5df4a70be4c1f8975efccff727d3011dcf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/openai/lib/_client_auth.py:288-297 | src/openai/lib/_client_auth.py:754-763 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/_client_auth.py:288\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_client_auth.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be2f594ba1a99d9f4e85ae6100c1c75adf1b303cc5aa783af03093eb8a1f928"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/openai/lib/_client_auth.py:335-344 | src/openai/lib/_client_auth.py:804-813 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060_sdk_client.OpenAI\u0060 in one and \u0060_sdk_client.AsyncOpenAI\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_client_auth.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e47795e01a10828cc040ac2767f3b4532b1d18adaa44aebcc438160c5dc5c59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/openai/lib/_vector_stores.py:54-63 | src/openai/lib/_vector_stores.py:97-106 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_vector_stores.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"348cdc8e3e3f61905b0e1191342ce451b1dd06c692ef17b3f2c8ec7a0efc4bf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/openai/lib/decisions_tool_runner.py:351-360 | src/openai/lib/decisions_tool_runner.py:470-479 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/decisions_tool_runner.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed894705a1a2636b7d999c45e98aedd08062fce43c87447b9d7b6d4e7de1f29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/openai/lib/realtime_translation.py:226-235 | src/openai/lib/realtime_translation.py:275-284 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/realtime_translation.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"37593340749f9f371b2626a5fdc025904c83739be8d7e9fb0c7bcf5e9a714e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/openai/lib/responses_tool_runner.py:2139-2148 | src/openai/lib/responses_tool_runner.py:2618-2627 \u2014 both copies are in the same file, so extract the block 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":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":2139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2389d3d916becd8edebdea7c5731672a21a362cc76a090bd806c3f94d511a80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/openai/resources/beta/agents/vaults/credentials.py:192-203 | src/openai/resources/beta/threads/runs/runs.py:1584-1593 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/vaults/credentials.py\u0060 and \u0060src/openai/resources/beta/threads/runs/runs.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 154 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/vaults/credentials.py:192\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/openai/resources/beta/agents/vaults/credentials.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ee827de3d1c3f1317e95ba38f2bf364af95e953ae76893be2269d3ce768845"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/openai/resources/beta/agents/vaults/credentials.py:495-506 | src/openai/resources/beta/threads/runs/runs.py:3132-3141 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/vaults/credentials.py\u0060 and \u0060src/openai/resources/beta/threads/runs/runs.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 154 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/vaults/credentials.py:495\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/beta/agents/vaults/credentials.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed6ff444f164aba81e142c5e6d5d7625a62827bcf72c4ddcdfc0b2d9980c4a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src/openai/resources/beta/responses/responses.py:5021-5029 | src/openai/resources/beta/responses/responses.py:5348-5357 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":5021}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d219b47ecdaea793d16a855222f80914ef37689fc88067ac2bdbb3d5a910a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src/openai/resources/responses/responses.py:4210-4218 | src/openai/resources/responses/responses.py:4538-4547 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/responses/responses.py"},"region":{"startLine":4210}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1c16ed267df586dddb0f4f2d309a08022cc35344bbf5df6697dcb9d0a77b66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 14): src/openai/resources/beta/agents/sessions/subagents/items.py:82-90 | src/openai/resources/beta/agents/sessions/subagents/items.py:171-179 | src/openai/resources/beta/agents/sessions/subagents/turns/items.py:85-93 | src/openai/resources/beta/agents/sessions/subagents/turns/items.py:178-186 | src/openai/resources/beta/agents/sessions/subagents/turns/turns.py:144-152 | src/openai/resources/beta/agents/sessions/subagents/turns/turns.py:288-296 | src/openai/resources/beta/agents/sessions/turns/items.py:83-90 | src/openai/resources/beta/agents/sessions/turns/items.py:171-178 | src/openai/resources/beta/threads/runs/steps.py:162-167 | src/openai/resources/beta/threads/runs/steps.py:327-332 | src/openai/resources/vector_stores/file_batches.py:278-286 | src/openai/resources/vector_stores/file_batches.py:609-617 | src/openai/resources/vector_stores/files.py:361-369 | src/openai/resources/vector_stores/files.py:789-797 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/sessions/subagents/items.py\u0060 and \u0060src/openai/resources/beta/agents/sessions/subagents/turns/items.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/sessions/subagents/items.py:82\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/openai/resources/beta/agents/sessions/subagents/turns/items.py:84\u0060 calls \u0060ValueError\u0060 and \u0060src/openai/resources/beta/agents/sessions/turns/items.py:81\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":"src/openai/resources/beta/agents/sessions/subagents/items.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8ee212e018bf96f9598da075c3cb5fcf1c5f8d76ef4b43311082a1899f348e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 13): src/openai/resources/beta/agents/automations/invocations.py:105-113 | src/openai/resources/beta/agents/sessions/artifacts.py:90-97 | src/openai/resources/beta/agents/sessions/subagents/subagents.py:93-100 | src/openai/resources/beta/agents/sessions/subagents/turns/turns.py:84-92 | src/openai/resources/beta/agents/sessions/turns/turns.py:82-87 | src/openai/resources/beta/agents/vaults/credentials.py:138-145 | src/openai/resources/beta/threads/messages.py:146-151 | src/openai/resources/beta/threads/runs/runs.py:1269-1274 | src/openai/resources/beta/threads/runs/steps.py:85-93 | src/openai/resources/containers/files/content.py:67-74 | src/openai/resources/skills/versions/content.py:69-74 | src/openai/resources/vector_stores/file_batches.py:163-171 | src/openai/resources/vector_stores/files.py:148-155 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/automations/invocations.py\u0060 and \u0060src/openai/resources/beta/agents/sessions/artifacts.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/automations/invocations.py:105\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/resources/beta/agents/sessions/artifacts.py:99\u0060 calls \u0060make_request_options\u0060 and \u0060src/openai/resources/beta/agents/automations/invocations.py:113\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/automations/invocations.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2f28f292c37bdf3440df85341205587b160b66b764926b8c8d149f56e99fc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 13): src/openai/resources/beta/agents/automations/invocations.py:268-276 | src/openai/resources/beta/agents/sessions/artifacts.py:324-331 | src/openai/resources/beta/agents/sessions/subagents/subagents.py:228-235 | src/openai/resources/beta/agents/sessions/subagents/turns/turns.py:228-236 | src/openai/resources/beta/agents/sessions/turns/turns.py:213-218 | src/openai/resources/beta/agents/vaults/credentials.py:441-448 | src/openai/resources/beta/threads/messages.py:448-453 | src/openai/resources/beta/threads/runs/runs.py:2817-2822 | src/openai/resources/beta/threads/runs/steps.py:250-258 | src/openai/resources/containers/files/content.py:131-138 | src/openai/resources/skills/versions/content.py:133-138 | src/openai/resources/vector_stores/file_batches.py:494-502 | src/openai/resources/vector_stores/files.py:576-583 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/automations/invocations.py\u0060 and \u0060src/openai/resources/beta/agents/sessions/artifacts.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/automations/invocations.py:268\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/resources/beta/agents/sessions/artifacts.py:333\u0060 calls \u0060make_request_options\u0060 and \u0060src/openai/resources/beta/agents/automations/invocations.py:276\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/automations/invocations.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e1e60566c43396ad8a55167c5f6bce1367ba6fe4e3660dd5fff36374a69bf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8): src/openai/_base_client.py:1462-1471 | src/openai/_base_client.py:1488-1497 | src/openai/_base_client.py:1514-1523 | src/openai/_base_client.py:1537-1545 | src/openai/_base_client.py:2073-2082 | src/openai/_base_client.py:2099-2112 | src/openai/_base_client.py:2130-2139 | src/openai/_base_client.py:2153-2161 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/_base_client.py:1462\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/openai/_base_client.py:1487\u0060 calls \u0060TypeError\u0060 and \u0060src/openai/_base_client.py:1536\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":"src/openai/_base_client.py"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a580dc6baecee29b1b36853f12a02842df45fc0f65d5478a4bc1f8a478b7fe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 7): src/openai/resources/beta/agents/vaults/credentials.py:190-197 | src/openai/resources/beta/threads/messages.py:196-201 | src/openai/resources/beta/threads/runs/runs.py:1319-1324 | src/openai/resources/beta/threads/runs/runs.py:1431-1436 | src/openai/resources/beta/threads/runs/runs.py:1582-1587 | src/openai/resources/vector_stores/file_batches.py:210-218 | src/openai/resources/vector_stores/files.py:198-205 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/vaults/credentials.py\u0060 and \u0060src/openai/resources/beta/threads/messages.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 224 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/vaults/credentials.py:190\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/resources/beta/threads/messages.py:203\u0060 calls \u0060maybe_transform\u0060 and \u0060src/openai/resources/beta/threads/runs/runs.py:1438\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":"src/openai/resources/beta/agents/vaults/credentials.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a0734208d79851de9206570f99ec83caccebddb50c11afab36a0795adb01a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 7): src/openai/resources/beta/agents/vaults/credentials.py:493-500 | src/openai/resources/beta/threads/messages.py:498-503 | src/openai/resources/beta/threads/runs/runs.py:2867-2872 | src/openai/resources/beta/threads/runs/runs.py:2979-2984 | src/openai/resources/beta/threads/runs/runs.py:3130-3135 | src/openai/resources/vector_stores/file_batches.py:541-549 | src/openai/resources/vector_stores/files.py:626-633 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/vaults/credentials.py\u0060 and \u0060src/openai/resources/beta/threads/messages.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 224 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/agents/vaults/credentials.py:493\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/resources/beta/threads/messages.py:505\u0060 calls \u0060async_maybe_transform\u0060 and \u0060src/openai/resources/beta/threads/runs/runs.py:2986\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":"src/openai/resources/beta/agents/vaults/credentials.py"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b2a971590db5136210074e19dfbabfa911a63e7e7d13fa61bfd5aca1a4c83b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/openai/_legacy_response.py:138-146 | src/openai/_response.py:324-332 | src/openai/_response.py:431-439 \u2014 before extracting anything, compare \u0060src/openai/_legacy_response.py\u0060 and \u0060src/openai/_response.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/openai/_response.py:322\u0060 calls \u0060read\u0060 and \u0060src/openai/_legacy_response.py:136\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":"src/openai/_legacy_response.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ee144931d8f94c8b25ca0aecde52c361766d5f7a050a40d46fcb1a3646010c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): scripts/check-dependency-security.py:1541-1549 | scripts/check-dependency-security.py:1912-1920 \u2014 both copies are in the same file, so extract the block 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":"scripts/check-dependency-security.py"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"097e081d6f536ca35d5402d805219988614945d878270beb199dbf0bbeadb561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/openai/auth/_workload.py:141-149 | src/openai/auth/_workload.py:188-196 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/auth/_workload.py:141\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/auth/_workload.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7130392f7b18d42307033ab7152dd83c8410a0b801162bcbf2712a5630ad8561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/openai/lib/computer.py:610-618 | src/openai/lib/computer.py:820-828 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/computer.py:610\u0060 it does not close everything it opens, so those exact 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":"src/openai/lib/computer.py"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"0648102fce1eb60ca6d87fe8b7aec59feebc77184e5a3f71540804c6d1b6b613"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 10): src/openai/resources/beta/responses/responses.py:5187-5194 | src/openai/resources/beta/responses/responses.py:5511-5518 | src/openai/resources/live/live.py:734-741 | src/openai/resources/live/live.py:1152-1159 | src/openai/resources/realtime/realtime.py:744-751 | src/openai/resources/realtime/realtime.py:1201-1208 | src/openai/resources/realtime/translations/translations.py:605-612 | src/openai/resources/realtime/translations/translations.py:1029-1036 | src/openai/resources/responses/responses.py:4376-4383 | src/openai/resources/responses/responses.py:4701-4708 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/responses/responses.py:5187\u0060 it begins part-way through the construct above it, so those exact 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":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":5187}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2f800c4ab6451e0372d695a30f3508eec7355aa7f68748017fdf1bfe888b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): src/openai/resources/live/forks.py:514-521 | src/openai/resources/live/forks.py:940-947 | src/openai/resources/live/live.py:732-739 | src/openai/resources/live/live.py:1150-1157 | src/openai/resources/live/sideband.py:526-533 | src/openai/resources/live/sideband.py:961-968 | src/openai/resources/realtime/translations/translations.py:603-610 | src/openai/resources/realtime/translations/translations.py:1027-1034 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/live.py\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 553 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9861ec72ef4aa698a0e76629187e071306e767b65ffdb6c99e95d3eeeecb2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/openai/_legacy_response.py:261-268 | src/openai/_response.py:195-202 \u2014 before extracting anything, compare \u0060src/openai/_legacy_response.py\u0060 and \u0060src/openai/_response.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_legacy_response.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44ca8de0d1ffc14ead1420b8d7fbec472573f8bbdec77896c177f3f3025e559"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/openai/lib/beta/agents/_files.py:184-191 | src/openai/lib/beta/agents/_files.py:222-229 \u2014 both copies are in the same file, so extract the block 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":"src/openai/lib/beta/agents/_files.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ca76708306a1b519265a10a1572c7cf2d8474afe6a2359917fdd6e9cd7c391"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): src/openai/lib/streaming/_assistants.py:351-358 | src/openai/lib/streaming/_assistants.py:784-790 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/streaming/_assistants.py:784\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/_assistants.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a081d27debb8f6fae303fe81fd3b402131f7930f6d55416092a52a22eccb892"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/openai/resources/beta/realtime/realtime.py:369-376 | src/openai/resources/beta/realtime/realtime.py:557-564 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/beta/realtime/realtime.py:369\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/realtime/realtime.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b1a3ed7885e15d0b3997dd89a4352b2c7bf7618fc55273ec4c406f16fd7803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/openai/resources/beta/realtime/realtime.py:400-407 | src/openai/resources/beta/realtime/realtime.py:588-595 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"src/openai/resources/beta/realtime/realtime.py"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb88ca8bcb12580df45bb69aa8de88ad32a6c6425c5e9ac57dc2148b66493fb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): scripts/check-dependency-security.py:804-810 | scripts/check-dependency-security.py:812-818 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c16fde1f6fcf1824cd76eb3ebf6fa6ab18a468f2593e532f2db94d54ed8beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/openai/lib/responses_tool_runner.py:2224-2230 | src/openai/lib/responses_tool_runner.py:2701-2707 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/responses_tool_runner.py:2224\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":2224}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e293aacf685dc00329f6882a017f78dd3e58086dc683647fbc69670b8ab61d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/openai/lib/streaming/agents/_streams.py:123-129 | src/openai/lib/streaming/agents/_streams.py:261-267 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/lib/streaming/agents/_streams.py:123\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/agents/_streams.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a194722c59f9a034c67164fa677a486c28cd4c546c6310c0310c77cb7c2941e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/openai/resources/content_provenance_checks.py:76-82 | src/openai/resources/uploads/parts.py:84-90 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/content_provenance_checks.py:76\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/openai/resources/uploads/parts.py:83\u0060 calls \u0060ValueError\u0060 and \u0060src/openai/resources/content_provenance_checks.py:74\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":"src/openai/resources/content_provenance_checks.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28799658e65cad50c2cd0930c51e685cf7cb4bc2966beb73be3470cb5460024"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/openai/resources/content_provenance_checks.py:150-156 | src/openai/resources/uploads/parts.py:166-172 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/content_provenance_checks.py:150\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/openai/resources/uploads/parts.py:165\u0060 calls \u0060ValueError\u0060 and \u0060src/openai/resources/content_provenance_checks.py:148\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":"src/openai/resources/content_provenance_checks.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7de380484822edb65c3711d8f31fb61db5fe21c4c3177cc268bd674abb4ba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): scripts/check-dependency-security.py:797-802 | scripts/check-dependency-security.py:821-826 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/check-dependency-security.py:797\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-dependency-security.py"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"b992ea001fe9d89edf37f84c5894a61039693065fea0227ef3f18dcdbff0986d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/openai/lib/beta/agents/_files.py:271-276 | src/openai/lib/beta/agents/_files.py:292-297 \u2014 both copies are in the same file, so extract the block 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":"src/openai/lib/beta/agents/_files.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"debaa66f02d14bd732c987701cc4ed939ba7d7132af291ad9b3e8155d6f9dab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/openai/lib/browser.py:691-696 | src/openai/lib/browser.py:724-729 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/browser.py"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85f1d959fb8e194e79fba876753d54f511b0ee3396c4ebdee58e33fdda8b632"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/openai/_legacy_response.py:358-362 | src/openai/_legacy_response.py:376-380 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_legacy_response.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab36cdc785454c439d36ec9446f0ec6c78c45cc688377a11254fe7afc339e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/openai/resources/admin/organization/data_retention.py:202-209 | src/openai/resources/admin/organization/projects/data_retention.py:240-247 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/data_retention.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb6edc64921c568928705ecb466370113115e1034e97999d916cf2cca9f2bea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/openai/resources/admin/organization/data_retention.py:214-221 | src/openai/resources/admin/organization/projects/data_retention.py:252-259 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/data_retention.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81edc568ef08838b34b40212d6b76f7f2a6b7b6429c17b43b59623b9032157d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): src/openai/resources/admin/organization/groups/roles.py:424-437 | src/openai/resources/admin/organization/projects/groups/roles.py:468-481 | src/openai/resources/admin/organization/projects/users/roles.py:468-481 | src/openai/resources/admin/organization/users/roles.py:424-437 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/projects/groups/roles.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/groups/roles.py"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67f13e341356f82c8723c83cd830581014238ed0edcf2f7e77f7677a3e5db19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): src/openai/resources/admin/organization/groups/roles.py:442-455 | src/openai/resources/admin/organization/projects/groups/roles.py:486-499 | src/openai/resources/admin/organization/projects/users/roles.py:486-499 | src/openai/resources/admin/organization/users/roles.py:442-455 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/projects/groups/roles.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/groups/roles.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"c303dae6383b41af044afc655e46b44b7222eafa9913408962d5b07f05f1155d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): src/openai/resources/admin/organization/groups/roles.py:460-473 | src/openai/resources/admin/organization/projects/groups/roles.py:504-517 | src/openai/resources/admin/organization/projects/users/roles.py:504-517 | src/openai/resources/admin/organization/users/roles.py:460-473 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/projects/groups/roles.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/groups/roles.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"f402ba64a64eeb1bf7e7f7ef9db7f115a14623928aaf2ea5ff715381573d30a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): src/openai/resources/admin/organization/groups/roles.py:478-491 | src/openai/resources/admin/organization/projects/groups/roles.py:522-535 | src/openai/resources/admin/organization/projects/users/roles.py:522-535 | src/openai/resources/admin/organization/users/roles.py:478-491 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/groups/roles.py\u0060 and \u0060src/openai/resources/admin/organization/projects/groups/roles.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/groups/roles.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf249836e8f5bdc2105fa88265b1814de4f2a448699be78ff5fc85625a4e43f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/openai/resources/admin/organization/projects/spend_limit.py:325-335 | src/openai/resources/admin/organization/spend_limit.py:263-273 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/projects/spend_limit.py\u0060 and \u0060src/openai/resources/admin/organization/spend_limit.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/spend_limit.py"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"020e48f2809d1a844e14026135039f6d7cd354cbc0dda0857ae7e6cd8308e299"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/openai/resources/admin/organization/projects/spend_limit.py:340-350 | src/openai/resources/admin/organization/spend_limit.py:278-288 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/projects/spend_limit.py\u0060 and \u0060src/openai/resources/admin/organization/spend_limit.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/spend_limit.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"763172709de017638824e80609a27fc556348bbae622ef5d1b198f7f87f2e7a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/openai/resources/admin/organization/projects/spend_limit.py:355-365 | src/openai/resources/admin/organization/spend_limit.py:293-303 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/projects/spend_limit.py\u0060 and \u0060src/openai/resources/admin/organization/spend_limit.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/spend_limit.py"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"182e9934cedc90015dc10a7674fc3fbfc2a7494ca6cd7b0a654b92b3403f51e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/openai/resources/admin/organization/projects/spend_limit.py:370-380 | src/openai/resources/admin/organization/spend_limit.py:308-318 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/projects/spend_limit.py\u0060 and \u0060src/openai/resources/admin/organization/spend_limit.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/spend_limit.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac4e113ca3412f27553f09b56a65e1e86fa52ca5d4bdfe08ab785d5f812d2b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/openai/resources/beta/agents/sessions/subagents/turns/turns.py:321-328 | src/openai/resources/beta/agents/sessions/turns/turns.py:295-302 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/sessions/subagents/turns/turns.py\u0060 and \u0060src/openai/resources/beta/agents/sessions/turns/turns.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/sessions/subagents/turns/turns.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"970409e499e72583d2172ee534b35804dea1ff814da3c7a8a8dbaecb4df9fe5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/openai/resources/beta/agents/sessions/subagents/turns/turns.py:337-344 | src/openai/resources/beta/agents/sessions/turns/turns.py:311-318 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/agents/sessions/subagents/turns/turns.py\u0060 and \u0060src/openai/resources/beta/agents/sessions/turns/turns.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/agents/sessions/subagents/turns/turns.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"4708870ecec18d26558b879750fd1738914233e2931016e572b6f499aebab3fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 12): src/openai/resources/beta/realtime/realtime.py:611-628 | src/openai/resources/beta/realtime/realtime.py:638-660 | src/openai/resources/beta/realtime/realtime.py:663-674 | src/openai/resources/beta/realtime/realtime.py:706-724 | src/openai/resources/beta/realtime/realtime.py:735-747 | src/openai/resources/beta/realtime/realtime.py:812-823 | src/openai/resources/beta/realtime/realtime.py:845-851 | src/openai/resources/realtime/realtime.py:1228-1253 | src/openai/resources/realtime/realtime.py:1299-1312 | src/openai/resources/realtime/realtime.py:1337-1358 | src/openai/resources/realtime/realtime.py:1369-1381 | src/openai/resources/realtime/realtime.py:1441-1452 \u2014 there are 12 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 12 sites; resolving a subset leaves the remainder to drift apart. Note first that the copies are not typed on the same thing: \u0060RealtimeClientEventParam\u0060 names \u0060....types.beta.realtime.realtime_client_event_param\u0060 in one and \u0060...types.realtime.realtime_client_event_param\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/resources/beta/realtime/realtime.py:631\u0060 calls \u0060RealtimeResponseResource\u0060 and \u0060src/openai/resources/beta/realtime/realtime.py:749\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":"src/openai/resources/beta/realtime/realtime.py"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"44198bc9d8f34f50d160d187a8429cf9aab5704a5ce4d67f6cba08bd2ef528f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 12): src/openai/resources/beta/realtime/realtime.py:863-880 | src/openai/resources/beta/realtime/realtime.py:890-912 | src/openai/resources/beta/realtime/realtime.py:915-926 | src/openai/resources/beta/realtime/realtime.py:958-976 | src/openai/resources/beta/realtime/realtime.py:987-999 | src/openai/resources/beta/realtime/realtime.py:1064-1075 | src/openai/resources/beta/realtime/realtime.py:1097-1103 | src/openai/resources/realtime/realtime.py:1477-1502 | src/openai/resources/realtime/realtime.py:1548-1561 | src/openai/resources/realtime/realtime.py:1586-1607 | src/openai/resources/realtime/realtime.py:1618-1630 | src/openai/resources/realtime/realtime.py:1692-1703 \u2014 there are 12 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 12 sites; resolving a subset leaves the remainder to drift apart. Note first that the copies are not typed on the same thing: \u0060RealtimeClientEventParam\u0060 names \u0060....types.beta.realtime.realtime_client_event_param\u0060 in one and \u0060...types.realtime.realtime_client_event_param\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/openai/resources/beta/realtime/realtime.py:883\u0060 calls \u0060AsyncRealtimeResponseResource\u0060 and \u0060src/openai/resources/beta/realtime/realtime.py:1001\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":"src/openai/resources/beta/realtime/realtime.py"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"d748afd88205eb64b84fb48a3a57257697cc1b4b0c91488283e4b939de394a8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/openai/resources/beta/responses/responses.py:2402-2416 | src/openai/resources/responses/responses.py:1996-2010 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/responses/responses.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 342 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":2402}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1d022d6d7131866fa50a78348a33bf4dfa41bfd6c32c3d47b40e7e23219f2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/openai/resources/beta/responses/responses.py:4733-4747 | src/openai/resources/responses/responses.py:3914-3928 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/responses/responses.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 342 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":4733}}}],"partialFingerprints":{"codehealthFindingId/v1":"6adf519985c8e7a4bff3d94dbf69ab35417d70e54fcb4b347133679eabf01a69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/openai/resources/beta/responses/responses.py:4928-4938 | src/openai/resources/responses/responses.py:4117-4127 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/responses/responses.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 342 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \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":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":4928}}}],"partialFingerprints":{"codehealthFindingId/v1":"a365c96470b98305858d39d1e41ef3581224d4ec76d7e4d398a9b6e0e3489a44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 14): src/openai/resources/beta/responses/responses.py:4962-4985 | src/openai/resources/beta/responses/responses.py:5292-5315 | src/openai/resources/live/forks.py:238-261 | src/openai/resources/live/forks.py:670-693 | src/openai/resources/live/live.py:458-481 | src/openai/resources/live/live.py:883-906 | src/openai/resources/live/sideband.py:245-268 | src/openai/resources/live/sideband.py:686-709 | src/openai/resources/realtime/realtime.py:438-461 | src/openai/resources/realtime/realtime.py:903-926 | src/openai/resources/realtime/translations/translations.py:323-346 | src/openai/resources/realtime/translations/translations.py:753-776 | src/openai/resources/responses/responses.py:4151-4174 | src/openai/resources/responses/responses.py:4482-4505 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/live/forks.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":4962}}}],"partialFingerprints":{"codehealthFindingId/v1":"c755e22e0f7f3f6674e5b218b5660f66e5eb26a973b2d98d41230d626ce326d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 14): src/openai/resources/beta/responses/responses.py:5101-5114 | src/openai/resources/beta/responses/responses.py:5425-5438 | src/openai/resources/live/forks.py:379-392 | src/openai/resources/live/forks.py:805-818 | src/openai/resources/live/live.py:597-610 | src/openai/resources/live/live.py:1015-1028 | src/openai/resources/live/sideband.py:388-401 | src/openai/resources/live/sideband.py:823-836 | src/openai/resources/realtime/realtime.py:585-598 | src/openai/resources/realtime/realtime.py:1044-1057 | src/openai/resources/realtime/translations/translations.py:467-480 | src/openai/resources/realtime/translations/translations.py:891-904 | src/openai/resources/responses/responses.py:4290-4303 | src/openai/resources/responses/responses.py:4615-4628 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/live/forks.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":5101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d33edd97ef8ed3e8410a1474a217a589c533262d378e99ce4580a08cfbccb5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/openai/_legacy_response.py:82-89 | src/openai/_response.py:73-80 \u2014 before extracting anything, compare \u0060src/openai/_legacy_response.py\u0060 and \u0060src/openai/_response.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_legacy_response.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7596be45d23453c6ae74408fd9a8f66e6e837b9be2de0cedb59fb23fb26c996"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 10): src/openai/resources/admin/organization/admin_api_keys.py:58-90 | src/openai/resources/containers/containers.py:74-119 | src/openai/resources/evals/evals.py:78-131 | src/openai/resources/fine_tuning/alpha/graders.py:56-99 | src/openai/resources/live/live.py:105-140 | src/openai/resources/moderations.py:60-100 | src/openai/resources/realtime/client_secrets.py:52-103 | src/openai/resources/realtime/translations/client_secrets.py:58-104 | src/openai/resources/responses/input_tokens.py:70-161 | src/openai/resources/responses/responses.py:1816-1983 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/admin_api_keys.py\u0060 and \u0060src/openai/resources/containers/containers.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 390 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/evals/evals.py:78\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/openai/resources/admin/organization/admin_api_keys.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"03832da7cf96c66f7320ed4a5eef7d9447d903b8a5952f3daf9e8c7469bd526d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 10): src/openai/resources/admin/organization/admin_api_keys.py:255-287 | src/openai/resources/containers/containers.py:299-344 | src/openai/resources/evals/evals.py:362-415 | src/openai/resources/fine_tuning/alpha/graders.py:175-218 | src/openai/resources/live/live.py:214-249 | src/openai/resources/moderations.py:139-179 | src/openai/resources/realtime/client_secrets.py:138-189 | src/openai/resources/realtime/translations/client_secrets.py:139-185 | src/openai/resources/responses/input_tokens.py:208-299 | src/openai/resources/responses/responses.py:3734-3901 \u2014 before extracting anything, compare \u0060src/openai/resources/admin/organization/admin_api_keys.py\u0060 and \u0060src/openai/resources/containers/containers.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 390 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/openai/resources/evals/evals.py:362\u0060 it does not close everything it opens, so those exact 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":"src/openai/resources/admin/organization/admin_api_keys.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"91367c426ab420cdfba84d02efdfd3318de934723dba532869c52f4277684d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/openai/resources/admin/organization/admin_api_keys.py:422-435 | src/openai/resources/admin/organization/admin_api_keys.py:440-453 | src/openai/resources/admin/organization/projects/api_keys.py:542-555 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060admin_api_keys\u0060 to \u0060AdminAPIKeys\u0060 in one and \u0060AsyncAdminAPIKeys\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/admin_api_keys.py"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af1d74328246244086c6f085492dd63934e6002bdd17bd4a03960c334af5b8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/openai/resources/admin/organization/data_retention.py:52-63 | src/openai/resources/admin/organization/spend_limit.py:53-64 | src/openai/resources/admin/organization/spend_limit.py:128-139 \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. 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":"src/openai/resources/admin/organization/data_retention.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0760ad24ae6a777a3342f51bfc1b3303d917eaf0901f29a01b6bf57699ae1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/openai/resources/admin/organization/data_retention.py:141-152 | src/openai/resources/admin/organization/spend_limit.py:172-183 | src/openai/resources/admin/organization/spend_limit.py:247-258 \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. 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":"src/openai/resources/admin/organization/data_retention.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4202309c548f44ecb3f498e50d3ff69de9eaa27b69a7d7ef533732235e29256"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): src/openai/resources/beta/responses/responses.py:4941-4946 | src/openai/resources/live/forks.py:220-225 | src/openai/resources/live/live.py:440-445 | src/openai/resources/live/sideband.py:225-230 | src/openai/resources/realtime/translations/translations.py:302-307 | src/openai/resources/responses/responses.py:4130-4135 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/live/forks.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060event\u0060 to \u0060BetaResponsesClientEvent | BetaResponsesClientEventParam\u0060 in one and \u0060ForkClientEvent | ForkClientEventParam\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":4941}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24fe7334fd9c4ac6a74b47bc3a8395099d24328809fa6ff17b90e1e3abb7db2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 12): src/openai/resources/beta/responses/responses.py:5086-5096 | src/openai/resources/beta/responses/responses.py:5410-5420 | src/openai/resources/live/forks.py:364-374 | src/openai/resources/live/forks.py:790-800 | src/openai/resources/live/live.py:582-592 | src/openai/resources/live/live.py:1000-1010 | src/openai/resources/live/sideband.py:373-383 | src/openai/resources/live/sideband.py:808-818 | src/openai/resources/realtime/translations/translations.py:452-462 | src/openai/resources/realtime/translations/translations.py:876-886 | src/openai/resources/responses/responses.py:4275-4285 | src/openai/resources/responses/responses.py:4600-4610 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/live/forks.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060event\u0060 to \u0060BetaResponsesClientEvent | BetaResponsesClientEventParam\u0060 in one and \u0060ForkClientEvent | ForkClientEventParam\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":5086}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a87209e96a2b881a8a8c17e5a60174ed6c1240abd85727910b065de576d6ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): src/openai/resources/beta/responses/responses.py:5271-5276 | src/openai/resources/live/forks.py:652-657 | src/openai/resources/live/live.py:865-870 | src/openai/resources/live/sideband.py:666-671 | src/openai/resources/realtime/translations/translations.py:732-737 | src/openai/resources/responses/responses.py:4461-4466 \u2014 before extracting anything, compare \u0060src/openai/resources/beta/responses/responses.py\u0060 and \u0060src/openai/resources/live/forks.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060event\u0060 to \u0060BetaResponsesClientEvent | BetaResponsesClientEventParam\u0060 in one and \u0060ForkClientEvent | ForkClientEventParam\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":5271}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05dd8c7750f095378cce3deb613ceaa06522b2407f179f32fb7e5ac834630f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/openai/resources/beta/threads/runs/runs.py:1820-1832 | src/openai/resources/uploads/uploads.py:382-403 \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":"src/openai/resources/beta/threads/runs/runs.py"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f50128474648038ce2d0da2451db470771d616e0ca32ecfe6fc6e53894b7d40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): src/openai/resources/live/forks.py:61-76 | src/openai/resources/live/forks.py:93-108 | src/openai/resources/realtime/translations/translations.py:89-104 | src/openai/resources/realtime/translations/translations.py:143-158 \u2014 before extracting anything, compare \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/realtime/translations/translations.py\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 396 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab81f9921ebb46c68d4287429cdb3b3c3723de3cc82b0ed7e0b0964fa1abc769"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): src/openai/resources/live/sideband.py:61-77 | src/openai/resources/live/sideband.py:95-111 | src/openai/resources/realtime/realtime.py:129-153 | src/openai/resources/realtime/realtime.py:204-228 \u2014 before extracting anything, compare \u0060src/openai/resources/live/sideband.py\u0060 and \u0060src/openai/resources/realtime/realtime.py\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 388 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/sideband.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cbc2b0452a392fa4c8039db4cac34763d8415ea04653125cf6ea084beca2d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/openai/resources/vector_stores/file_batches.py:324-337 | src/openai/resources/vector_stores/files.py:397-410 \u2014 before extracting anything, compare \u0060src/openai/resources/vector_stores/file_batches.py\u0060 and \u0060src/openai/resources/vector_stores/files.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/vector_stores/file_batches.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec73ab3203d349729a136df54db8bae14af317aea2ddadf007ea2e9a399c9a87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/openai/resources/vector_stores/file_batches.py:655-668 | src/openai/resources/vector_stores/files.py:825-838 \u2014 before extracting anything, compare \u0060src/openai/resources/vector_stores/file_batches.py\u0060 and \u0060src/openai/resources/vector_stores/files.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/vector_stores/file_batches.py"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecadb58dc795cbdf763b6d10957d3798c0c150c88ab4db50abd4bdadf8895fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): examples/computer-desktop/exercise_container.py:484-503 | examples/computer-desktop/exercise_container.py:744-764 \u2014 both copies are in the same file, so extract the block 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":"examples/computer-desktop/exercise_container.py"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd4fb088f9cf55111417ef1c4457b87b343c8eec60269cf8d1e2cbe3c2e2f0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): examples/mtls_httpx2_async.py:11-27 | examples/mtls_httpx_async.py:11-27 \u2014 before extracting anything, compare \u0060examples/mtls_httpx2_async.py\u0060 and \u0060examples/mtls_httpx_async.py\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/mtls_httpx2_async.py:11\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/mtls_httpx2_async.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9d5521aa38e7e8f7657799d727a9ce3ca3520568578b4d777eb64203dff2b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): examples/computer-desktop/exercise_container.py:312-327 | examples/computer-desktop/exercise_container.py:404-419 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/computer-desktop/exercise_container.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80eccab1f5ff247797f7e3990006cf0cb4c0accfa1f18eb914eb35ddd3952f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/x509_workload_identity.py:14-22 | examples/x509_workload_identity_async.py:15-23 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/x509_workload_identity.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9a3aa8aca8df3c3f357edddfad130aee149879e122a594ebd0ed00b1124954"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples/computer-desktop/exercise_container.py:523-528 | examples/computer-desktop/exercise_container.py:577-582 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/computer-desktop/exercise_container.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1660ff6c6a18a15ca807783b1fd0949a1dd1fa43aebe9d423e1dce500303dc4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OpenAI (LCOM4 10): OpenAI\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_client.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e35c702e10ea273ffda6fedbbc2a1ed30b60e577655b80036a884aeca0851c8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AsyncOpenAI (LCOM4 9): AsyncOpenAI\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_client.py"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1801eb1251eda8dd102a74140b952aa4066c5ffb3f665a31b107225170add0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BaseClient (LCOM4 5): BaseClient\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fe70f12797b8da749a1e0458b384eb56bedaac9ceafae181e9c3c00e920e45"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/openai/_base_client.py: src/openai/_base_client.py changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in BaseClient._build_request at line 599. 10 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 17:58:57 \u002B00:00\u0027 --until=\u00272026-11-03 17:58:57 \u002B00:00\u0027 --full-history --no-merges -- src/openai/_base_client.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1696e7ac3773a290a468cf6797f35bc963c3a80d1ac9771f098c2ac7cbb6506"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/openai/lib/responses_websocket/_accumulator.py: src/openai/lib/responses_websocket/_accumulator.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 89 in ResponsesWebSocketAccumulator.add_event at line 243. 1 of those changes was a fix/bug commit, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 17:58:57 \u002B00:00\u0027 --until=\u00272026-11-03 17:58:57 \u002B00:00\u0027 --full-history --no-merges -- src/openai/lib/responses_websocket/_accumulator.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_websocket/_accumulator.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae73ee0886045f949df63bdaf8169aa8a683d9ce68124de7432d4581947cfea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/openai/lib/azure.py: src/openai/lib/azure.py changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in AzureOpenAI.__init__ at line 256. 8 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 17:58:57 \u002B00:00\u0027 --until=\u00272026-11-03 17:58:57 \u002B00:00\u0027 --full-history --no-merges -- src/openai/lib/azure.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/azure.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e565be7d34d9324cc0d182cad60f88846fc008480093389b80a20e90c946efd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/openai/lib/streaming/responses/_responses.py: src/openai/lib/streaming/responses/_responses.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in ResponseStreamState.accumulate_event at line 402. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 17:58:57 \u002B00:00\u0027 --until=\u00272026-11-03 17:58:57 \u002B00:00\u0027 --full-history --no-merges -- src/openai/lib/streaming/responses/_responses.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/responses/_responses.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb44955e4bb51f0bdaf79ec4d45a11cd60c935d1ec688bbdc9612666808d17a2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/openai/_response.py: src/openai/_response.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in BaseAPIResponse._parse at line 129. 2 of those changes were fix/bug commits, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 17:58:57 \u002B00:00\u0027 --until=\u00272026-11-03 17:58:57 \u002B00:00\u0027 --full-history --no-merges -- src/openai/_response.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_response.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f7cfa651469735e6fb264b2d159a9dcd5e7979e9ceb0a92e53f50819338860"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/openai/lib/streaming/chat/_completions.py: src/openai/lib/streaming/chat/_completions.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in ChatCompletionStreamState._accumulate_chunk at line 362. 3 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 17:58:57 \u002B00:00\u0027 --until=\u00272026-11-03 17:58:57 \u002B00:00\u0027 --full-history --no-merges -- src/openai/lib/streaming/chat/_completions.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/chat/_completions.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2290b0d5777c231cc22c7d6335d70ab9f60b3e3a18eaee04e49341240fee82"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/openai/lib/bedrock.py: src/openai/lib/bedrock.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in BedrockOpenAI.copy at line 535. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 17:58:57 \u002B00:00\u0027 --until=\u00272026-11-03 17:58:57 \u002B00:00\u0027 --full-history --no-merges -- src/openai/lib/bedrock.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/bedrock.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbb121897ec404d22603aad72b382e7001f38eccb16da3d6804edc637569eba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: examples/realtime/push_to_talk_app.py: examples/realtime/push_to_talk_app.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in RealtimeApp._receive_realtime_events at line 180. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 17:58:57 \u002B00:00\u0027 --until=\u00272026-11-03 17:58:57 \u002B00:00\u0027 --full-history --no-merges -- examples/realtime/push_to_talk_app.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/realtime/push_to_talk_app.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"de715434e0344b143b59ce22ea16c9e7c5a7f15cc8ac18073154a247946e2b81"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/openai/_models.py: src/openai/_models.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in _models.construct_type at line 608. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 17:58:57 \u002B00:00\u0027 --until=\u00272026-11-03 17:58:57 \u002B00:00\u0027 --full-history --no-merges -- src/openai/_models.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_models.py"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca92ab05ec86d205c9fe3305f59c3be55f8ae092a3dc9fd217f60e3140668b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/openai/_websocket_connection.py: src/openai/_websocket_connection.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in WebSocketConnectionBase._reconnect at line 291. 2 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 17:58:57 \u002B00:00\u0027 --until=\u00272026-11-03 17:58:57 \u002B00:00\u0027 --full-history --no-merges -- src/openai/_websocket_connection.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_websocket_connection.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"446c40a43edfcf0b6fc9232c5ecdad8f659bb0cb669e6078120cf5376719e92a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/openai/_legacy_response.py: src/openai/_legacy_response.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in LegacyAPIResponse._parse at line 198. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 17:58:57 \u002B00:00\u0027 --until=\u00272026-11-03 17:58:57 \u002B00:00\u0027 --full-history --no-merges -- src/openai/_legacy_response.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_legacy_response.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b29565f3d8b56d082c7abb174c0b426e1610ee5442eb78ea7de9368ba9d7e9e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/openai/_utils/_transform.py: src/openai/_utils/_transform.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in _transform._transform_recursive at line 154. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 17:58:57 \u002B00:00\u0027 --until=\u00272026-11-03 17:58:57 \u002B00:00\u0027 --full-history --no-merges -- src/openai/_utils/_transform.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_utils/_transform.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ed491187ebb9bbea0d44ed69e8810c5027aff89e02af00755c63ee766138ef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/openai/providers/bedrock.py: src/openai/providers/bedrock.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in bedrock.bedrock at line 383. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 17:58:57 \u002B00:00\u0027 --until=\u00272026-11-03 17:58:57 \u002B00:00\u0027 --full-history --no-merges -- src/openai/providers/bedrock.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/providers/bedrock.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9cc16de4eb5f2e6a2caa84d9d685db438b9c8ca96ea9d1075b1c6979741f19"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/openai/lib/beta/agents/_tools.py: src/openai/lib/beta/agents/_tools.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in _tools.function_tool at line 240. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 17:58:57 \u002B00:00\u0027 --until=\u00272026-11-03 17:58:57 \u002B00:00\u0027 --full-history --no-merges -- src/openai/lib/beta/agents/_tools.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/beta/agents/_tools.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"baef059ef9b8fd50d74905461ba59baa3cf7d46eab6de411db558af780d56732"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/openai/resources/beta/realtime/realtime.py: src/openai/resources/beta/realtime/realtime.py changed 12 times in last 90 days and 10 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is AsyncRealtimeConnectionManager.__aenter__ at line 341), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(realtime): validate beta WebSocket authentication profiles (#4218)\u201D; \u201Cfix(api): honor per-call WebSocket query settings (#4138)\u201D; \u201Cfix: preserve client headers in legacy Beta Realtime connections (#4130)\u201D; \u201Cfix: clean up failed WebSocket setup and honor native options (#4121)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 17:58:57 \u002B00:00\u0027 --until=\u00272026-11-03 17:58:57 \u002B00:00\u0027 --full-history --no-merges -- src/openai/resources/beta/realtime/realtime.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/realtime/realtime.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7d0f1f4738c9173382863a3e9c9df51799c0dbcf1d2ad22b14626d490a92f3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/openai/lib/_parsing/_responses.py: src/openai/lib/_parsing/_responses.py changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is _responses.get_input_tool_by_name at line 170), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(responses): resolve function arguments within their namespace (#4166)\u201D; \u201Cfix(lib): treat null message content as empty in parse_response (#3851)\u201D; \u201Cfix(parsing): drop TextFormatT parameterization in parse_response to fix memory leak (#3084) (#3088)\u201D; \u201Cfix(responses): skip structured parsing for commentary (#3861)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 17:58:57 \u002B00:00\u0027 --until=\u00272026-11-03 17:58:57 \u002B00:00\u0027 --full-history --no-merges -- src/openai/lib/_parsing/_responses.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_parsing/_responses.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bb93f7644a802664641e44c276a0c632a70129f3409274e182d37f48048a8c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/openai/lib/realtime_translation.py: src/openai/lib/realtime_translation.py changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is TranslationConnection.send at line 95), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(api): honor per-call WebSocket query settings (#4138)\u201D; \u201Cfix: honor timed Translation receives during terminal cleanup (#4132)\u201D; \u201Cfix: clean up failed WebSocket setup and honor native options (#4121)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-05..2026-11-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-05 17:58:57 \u002B00:00\u0027 --until=\u00272026-11-03 17:58:57 \u002B00:00\u0027 --full-history --no-merges -- src/openai/lib/realtime_translation.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/realtime_translation.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dcf3f79062f12434b756b5f3b71343a4c75ee78822fdf56eea7361737d0b40"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 8 significant file(s) lose their only recent owner: src/openai/lib/streaming/agents/_streams.py, src/openai/lib/beta/agents/_files.py, src/openai/lib/beta/agents/_tools.py, src/openai/lib/beta/agents/_artifacts.py, src/openai/lib/beta/agents/_stream.py, src/openai/lib/streaming/agents/_tools.py, src/openai/lib/_tools.py, src/openai/types/beta/beta_response_function_tool_call_output_item.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"530ca96cfe27b6855df08b7dbdaf397c07724e1f7e037264a42e5c64d8214954"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 4 significant file(s) lose their only recent owner: src/openai/resources/realtime/translations/translations.py, src/openai/lib/responses_websocket/_accumulator.py, src/openai/lib/responses_websocket/_session.py, src/openai/types/websocket_connection_options.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2f03962e97f480082772c68170e7bbc934e25c34b311873569c37ab6aa3b21c8"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 3 significant file(s) lose their only recent owner: src/openai/auth/_x509.py, src/openai/resources/safety/cases.py, src/openai/types/beta/agent_session_event.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3038b3b6fba8167f0dc9a8fbd7d6314e2c832cad4f46baf3e5bf7ad23aa71eb4"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 3 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 (21 single-owned of 519 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; 519 of the 2063 production source files in this repository met that bar). They are anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: scripts/check-dependency-security.py, src/openai/_utils/_path.py, src/openai/lib/streaming/_deltas.py."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: update \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/test_client.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5a5e0b5b0eeede891b77dd665155f69a08aea69c200e9533d53d6325bb7c68"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: update \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/test_client.py"},"region":{"startLine":1904}}}],"partialFingerprints":{"codehealthFindingId/v1":"804729afbaad4e468562c21f79edad05f3fe1c99732244ddfcee558d043ac2db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: test mismatched type \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/test_models.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b31a1e7b3ba4fd76c349277226d951932822e3c1d12fd3d6965043a3c086938"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: test mismatched type \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/test_models.py"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e83257c524bb2bfb4c9d45cd30768b1559b4afe35d80a4730e63a9ed13f82c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: this error message could probably be improved \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/test_required_args.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a19bcc5e031088e725dfdb90e504ce00ed2697d30beb5e54a4f484d8b08913f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: make base page type vars covariant \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e2e3fe48178b84b34c38ca41d9ec6073632db431cb05fd65894c163a68405e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: do we have to preprocess params here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"833e682b3b27f6ca8a8fb76e3f83f959b8f666a44f18b8f5bc1103366c7bcb37"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: report this error to httpx \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d0507ad094f310b27a008e710a84b4e7cd7708f58582b7c419583b0409e848"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: type ignore is required as stringify_items is well typed but we can\u0027t be \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"98016f24960700ce071ffcf6ed7278f8454a32cafba45116910fd38ef093f27e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(someday): support non asyncio runtimes here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":1616}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f6662505c9f90df1df1fa331cf69b84b187ee704b809642f968b9de38e981f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: untested \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":2351}}}],"partialFingerprints":{"codehealthFindingId/v1":"03138333b3dea22bd9afe67d7ded6f33c646e1a32d1e74e4a97724a66965e8a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: untested \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":2358}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda792a7d5d9f4e893e4e2f0b0c547e7afcd0a68e0645533494c469057d7aeb6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: provide an error message here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_compat.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cd1b1f5b98a33219f72810980a54077da0275d83a61a56075b52acf6b42719"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_models.py"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e7ce4d78f1e24e1e17babc9a238c8a93eaf36b34aa40ac8a02731a9ebfb986"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: condition is weird \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_models.py"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3763392fc6589988ca6978cc5ce20049313512efdf90469ac88a1dc810a9918"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: error if unknown format \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_qs.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"549ed8ac7342a429b449121f380886b44c6ff79c5ce4928b4f5981b442c36e50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO emit warning log \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/pagination.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b66c77955b8a2a8a436c41ad37d51a7879458d0e04238a0e819d6ddeba28cd0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO emit warning log \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/pagination.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b937b080806a0c35b4471d98eb5743ea238028ac3adb572a129e2a8a980733"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: don\u0027t poll unless necessary?? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_vector_stores.py"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4623f3023c2f02f95d7f19108f7cce6d810df0e75418f9b57d7fc7de4bc91b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: don\u0027t poll unless necessary?? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_vector_stores.py"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d851db078638850f44890134e2935b67f77fd38fa5b146331e3e8855d7f375"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Model incomplete snapshots separately so their annotations reflect this state. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/chat/_completions.py"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"299b5137e5fe95f90520f1312b6703757ce08cef1e69ea402eb6cbfe356c802b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Use API batch uploads when available. Applications can own preflight \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/beta/agents/_files.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25e5a74e82d8129aa95287225a99817bd676a8a9d220d1f4fd103e5ec26bd06"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: support for drilling globals() and locals() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_utils/_transform.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3ea80af9ff0f0ca39584c9bd6f652ca69cfdcea52e64cbcc18ceda52b33f6c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: ensure works correctly with forward references in all cases \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_utils/_transform.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"98db2bfb699b1ea087aa8c55552d710e79b0c1f7f4087f99d5044d7e9adea3f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: there may be edge cases where the same normalized field name will transform to two different names \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_utils/_transform.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"4233c26fba5483e0ec5365c2267faf143770c5164456d248729667d19368746b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: there may be edge cases where the same normalized field name will transform to two different names \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_utils/_transform.py"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6f335d4af4b73d6eeee20e9a8305c8b459508ca728707add54eaee1080bd60"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: this needs to take Dict but variance issues..... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_utils/_utils.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6048dc35c29d999651fec74a22177413dc788f7b2504cf25639df99d6b0f6d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: this error message is not deterministic \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_utils/_utils.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"2747838dc0e7a7a941637f4b6b2845c5ad751fb4745682ce16a96eedad3db618"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 1 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (200453 LoC, 5710 module-visible types across 117 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0e40514ce598ba1601470865fc4a43f210492de1c12ca55ff1c8399540b6cb4"},"properties":{"commitSha":"a63c4cdb1c758af3a2ca8edace3b5291f8b0318a"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"11f2af238b0d81838f4d880f876a587178a4efd93aa313f930c03877bddd61bb"},"properties":{"commitSha":"9abd656973e0c485419db159815de17d29c2b7a3"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4882888eb85eb46711dba1851c63086f4314feb63dc6c9b29c223971dc474d86"},"properties":{"commitSha":"bd61e84ca80c3579f1336a2d55c79bc5dca57a57"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1c8d947c3d48c0ebed14d8ee7452bb5ab4117d8c950e3e28dfbe64b0eeb8c7c"},"properties":{"commitSha":"68b962c7368c2c955771c731a769e5ef15e8f781"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"53c7154c0b521f681fd084fccd53c09131898593a12c70b8cc77a9665c543123"},"properties":{"commitSha":"10f9dd012363229a6c6f3fddb73403427fcd5eef"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7578329087753a121515efa839a129be917ef9fc244ad88afc026857816ba305"},"properties":{"commitSha":"72c656df672989eed60c85bfafeb57f578fcc2ef"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8933e441b75c8c66645c24f4aeb174bb5c30cc102006ab18341741ec22110684"},"properties":{"commitSha":"f9f3f76cf3af2c12675574a16804f3592a4f718a"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"339e6d54b6fd73f7c726429c0795202932b190ed19dbca487410f416d3651798"},"properties":{"commitSha":"3ee373e038dd0756eba7d748605e5209bc5b726c"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ae29426ce49b5b3636b97820021553fe76719752b3b36de672ae25554d4455e"},"properties":{"commitSha":"55fc5008533deef3ad99ab6ffe48021e95aa22c2"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22214140bcd86d011319b1a1ebecb22109c7c8e66f200486a1a2363f14086ce3"},"properties":{"commitSha":"77fd116d2326bc828bb23d4fd7960142972293a4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c87067b736e64e50d095eec548787ae5d24d87a4a6fea1a1c91c3d2cb3c0edbd"},"properties":{"commitSha":"5b43cceea4a25bc1b9ed1b08f087408b47981083"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32b2cc22b562582d825c51b890993aadb2654734e1650b4a14193d72cca93c64"},"properties":{"commitSha":"fa67521e1c59f11fb5cba7ef8b9b35b5fcac2ae4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"38ebf609b88fcf1a373803760d0510a824e86ba855028c1f3a34753a1eca27aa"},"properties":{"commitSha":"e8beb1abdf6de71ea10195c942f6566ca2696c28"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8fc9af0f6f1b6e2f76ea2577adacadb3b7f7a6ab9770d75793cc4dd83fcb022"},"properties":{"commitSha":"5d72315876ffd8b72b958623ef4db26da3fb1e61"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e0f1efd981dc7f3e5e8c482625b1920ad58984740e53644c6bc8e0c002372ca"},"properties":{"commitSha":"1e45ad180ba409e3c31897710aa2a40129d58994"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48c85bb45fef8fbd0781d9798959578eb4d7ed2c63fbef2539af08a7ccb0243d"},"properties":{"commitSha":"6ed945e6b3e0d826048e0330b64228267b791ad3"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"80c31b93c1707a8e7f16c9251b838110cdf40709556c52a3c28945a320b8809c"},"properties":{"commitSha":"55b8b8a77c697c10ea89a14d6390456145687152"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d50801f4decd3ac4ac5770dae0a2473fffc5bde368d2ce8050246c549eb59cb2"},"properties":{"commitSha":"0e6be9f1f6193cdea7a3d9982b69424c22ecafda"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d7ca747b6e044cf7ff4a46e3f601e607b9ba567b8f2fc1f46e097d3ce933f56"},"properties":{"commitSha":"5589146d738e0c38758e117b8383a02c2e4e2ee7"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d987f6be06bca1b130ecb7523e21bf53cdf35c3303ee3e7f150ee42f8c56177"},"properties":{"commitSha":"553703e2d3db379a83e3ead9e40436b7a66f639e"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc12f229eba48afd156450fa8f1c40424edeb66b4c96295a97df0c9dffe8dfb3"},"properties":{"commitSha":"100bf8f7ab8409594258572fbf64bbde140c1c5f"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d245a9366c31e810ff9b085b1f1b219bf5e3c2fc53da85f69cf7822fdd5f87a"},"properties":{"commitSha":"c969e32ebb325b5910aff4543187fedc5527e172"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace5bb6efefa255c5b027ea8590e690637f313226d52c496dc17dd2a29c92ff1"},"properties":{"commitSha":"f7cefdaf059a3e6856d49b4bc2e2e5fbdef8193b"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f39b1af2b74b45feaf349539634fd20aac7b6afc9c80426c47ebe8f9dfa807d"},"properties":{"commitSha":"2e39db79e2f0ec41ce5d87b379be1e88c8298ea4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a3cf66504680b026f5e99d39025944b4b96d9802a0f16d2277ba1c020d07247"},"properties":{"commitSha":"230a923faba5574ebdc5b45a505a26b6bad79f61"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e9de3e231310bb997daa1d36e302c7d7fbf0bacd8c44dc06308b16784bf5034"},"properties":{"commitSha":"325da45934ddb1c1b6a0bed1681a8cf46c9a8712"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1bc58bc2ce46497ae15a466638afa9d5901734bf8867b081fa4a4095330974cc"},"properties":{"commitSha":"9998c1a3806afda55cb3923de1f7f49adcff5a7f"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3324c68f587e0b76094e816db0a81965e08598f12ff3239268a237507c6895f6"},"properties":{"commitSha":"e71d781ac5e7b3f365ac130bf338baaf13ae720d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9881f15577922b30bbc0d63000a95bdef84689f6a0da1df3c8fccc1924d9010a"},"properties":{"commitSha":"d42accb1a2d1b75b79edf694b8bfee78c4e90e6a"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57e1d8d6cd80870751629fb7bae16cdd6d7946d9515d49800a067bba2fce7c8b"},"properties":{"commitSha":"1f05e33eaca67e4a6913888aec279b66ac1db206"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"01ffbd7ae4c3a936e0672671ba097739fdcae71a9194a0a277509bd7ba4d5a25"},"properties":{"commitSha":"9eb83fe4649af0104d22da460007773a6c07119e"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a63bd7b3035c486bf24f41f894795f41453d6408f47f42788f81eca15d9b346"},"properties":{"commitSha":"b5702792a0adb1e86a8b51709e935c1e0acde727"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"569fa6aed338bdcdecb3cc53b585798123f7bb81865840f26bf13e64160ce7a8"},"properties":{"commitSha":"800899eeaf9e2696703452e73a5e95f1a31e12ce"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ada85203a4c1901382297573e3e55e01e8138119bcbc09f288b400654d987aa8"},"properties":{"commitSha":"b7a1990353baec896ee5e04b40b9f2dc2925a4f5"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1e17902e4f2043207266f5274698a60be767ed5ac561b83ea2535be4cd92987"},"properties":{"commitSha":"16d3d3b3c33b1b4f01114a16e4c3eba2293799ba"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf2df2c1c47632acca407e9e38658b612d41157bdf6efd8aa223df8a0ccffcb0"},"properties":{"commitSha":"7352cf5c80cf46b0b7c23634fb7df47c28b0604b"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"88c189c02e8fb90a92885df3542d25277773202121d7cdd673c4af4980116323"},"properties":{"commitSha":"895d617f948fef82075bc83a7a2141bd845fc057"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b52393092e2befc4fd2b1b44497e645de65e6a45be8b64fa9080283dd2aba56"},"properties":{"commitSha":"2c1ae5266a67303d82ea46c57be854deaa6e5676"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"07f98ac82abfee38101657d4fa5c5dfc41b91e7f76feb74f9752546f10a0ce6e"},"properties":{"commitSha":"f6a34593aa12eb8e6e89803590423b8cd2aa5933"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc0f831e10679bbe4eee7397b2e6da7ffbc369faa3249c0815551c4448431ffc"},"properties":{"commitSha":"c511a77159bc870f31c34388311b7cc62ef15f08"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"299d74b543ce2ca1ba736075c692284875f77176049671125478b8f1d58be104"},"properties":{"commitSha":"b9bc5c141d395165939eccfcfe42d1ed8219ec6a"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fea636810dc0652201689e35dc00522a71d2f040ad10d60073f7b3e4f780ae03"},"properties":{"commitSha":"b99e3e4eee03e99eebc2c762eee9d73fdd4b0eff"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e04b022a7cb0e8c0d40fccd08f88395941e97f01860ee93e53f9e20fe5899b93"},"properties":{"commitSha":"bd74c4ec0a48eaa648b9199df7f6686e1eb5af2b"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"711df817e605f9dd5d6cf54f149b01c746f93dc6622403afefe099c5a5791434"},"properties":{"commitSha":"e5de2e5656fb3d4fa70f050195382e6a4d59f806"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ec87cb71cbb41e8d3effec11a68b0e8db5f09c993b767203edb3b5a81847428"},"properties":{"commitSha":"28c5c9aa55532bc6524611101a6137f6d3028514"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64bf09ea0f51e750afe16cec1ec2c05c76f7771f6395365a2fed4132e03046a3"},"properties":{"commitSha":"5c9ace9a8173c67300b05c3aeb6de01526ed8214"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"187ab1363b2a4e24c4be36ed77de58c0bf855bf56ac19e8bb24b64243050d8db"},"properties":{"commitSha":"138e3d14c4bff1322e5c96de711e272bebb77cc2"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba95672143e82e8caeddb8ed019af29fe5afb15db9a90236d024f7dda4f8540e"},"properties":{"commitSha":"f5dddb5a199f899d9439ac3187c9c0f2d3e4082e"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32e2aa2d35ea0e6a5fcc793945454036360cbb2e4f5aaddb86a05a1c7b0d3c8e"},"properties":{"commitSha":"160b2c0230b9afac15862dcdf8a764e5bae18eb3"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63b51ea8bc4b2688ebb8e0499a9f2b2c728829364d090d4c9dbe7ed543bed070"},"properties":{"commitSha":"bb68198a4bb4a161cbb32a28c3888a51540eaf0f"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f56071195ac58e6e9b96484a5aac259988c332d7e6e3163a68c5f4f71b44f213"},"properties":{"commitSha":"384fee3252e2336a85450ff38f9bae41f9199616"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a3874c772066fb4d33c9b60b7d57f824819f817e8e67d07dce6e9b2f9389577f"},"properties":{"commitSha":"5d4003c12d5df5a5faed35971cac3bcb711fdf7d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1330c357b0b9225fbacf84cffc415e349b132ef6a49f13e04aa583a3c448825f"},"properties":{"commitSha":"a73fe0c3d404335a342d1251bd32709b8e3d76f2"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"281ab3719641838e9b23a9c551e01bfa8a5e5345341022f4059c7b846c52db05"},"properties":{"commitSha":"6e4a79cc8c7e640e7ac4be710db32fe20b1020f2"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d74d61058c497d1e3f607b5b5eb1852811814494cd3f029794f435c713e8c817"},"properties":{"commitSha":"a9d727ff9c4a38fc5dca8d31bd3dd76f473cfc27"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c08e8aeff01591989c31cdc68a2c403aad7905a64604f096ce0b6e7b079726c"},"properties":{"commitSha":"63099e739d25cb18f90cae93648471bf037bc46f"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"53bd822c91a1910680da6f1862854bfddc63a6cb3a12a02ec1a88c54b420ca04"},"properties":{"commitSha":"09c5b6f13f716ad4e417fd7ba9209a8a057e0383"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2c2bbea52e7cbb19f703fbbb76f612017f0d2cdc154ab4e9b0c6bf20846b2e9f"},"properties":{"commitSha":"e79cf53878b1d8580fac3a46e375eb98d9ca161d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57fe25d624dcf547dbb4495e472a3d41497ef0ccebc3506ed88dcac159e0b23e"},"properties":{"commitSha":"a95c95ed372476168e9893723ff694ead5db8586"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3972094323e22ea2a0f6e86edd3347f45b94e1b012ee0f528c345ce31f127282"},"properties":{"commitSha":"325a948a545add0201e082e778ca11b90ddb9426"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9cc96cfa3f394e33a96e5957962b401e1f7e40e07d4624026af5203c54b5baf6"},"properties":{"commitSha":"be9d66628ad7377bd36fe5a76ae6d735843f0e76"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5fd582ca23225a7d8e74de73d8a8419c760cdfdeaa3cd623a00c79cbc42104b6"},"properties":{"commitSha":"d12d60fff9f5624f2dc50ade3d832028f4fecaa7"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0a4a1783efeaa2fdb550962f40367b196e60033a548750ad788bef220ebaa6a2"},"properties":{"commitSha":"d041d736f75f03f6c87aa77f932823011691bac5"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3f27460eea485c4bec3d16b5b5ad93924745ae5738d410f77df3a1bc50845d3b"},"properties":{"commitSha":"455ce1b5da067e5d7631c86a571ca3b0d03b65cd"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"566c208455f5f856eee6a6d5aaf36be72b94ed98026e045da3f48f4415ced036"},"properties":{"commitSha":"6e7a90f18b92dcf320e94b1edf98187568ac6fbd"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"239dbf9000db7ab7fb2cb33d3b3df17c7070da7363d3181c864e766fdd3c376b"},"properties":{"commitSha":"febbcdfe39f6887caeb4c3c18e5aabb4404ef59b"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8943640470129409ef2b5aff292858bba7e8ce217cbb692c2c7dbf31b6eae31"},"properties":{"commitSha":"40c334f028529c0b5e8dac65f30c76b314930767"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"76bf0c1a8cdb205809ae3e5fae4579d3ac59cc6fb4ce3539b548245cc7d86b4a"},"properties":{"commitSha":"a87b938545b34c1880b9914b43a5039072f40b09"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8bdb7a81a7054b3ef8279a65592c286ec755a8283ffd9c36749b4e6c43782549"},"properties":{"commitSha":"19f1f3769f4d2e907b6970c52f647a750de625e6"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d4701378c163ee8c3daf5c43516948e3af0413c04775354004952205094767c"},"properties":{"commitSha":"c377eb21f03efb223180730d6da61f9e8d500063"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2417c4d6821cc9cae13cf676d660f427ce1e5ee0fd2308d4b7425b6ff91d38f7"},"properties":{"commitSha":"eeebc535572dfe034e2c82958df4d0c22f94301e"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f274eb10de3aef5c5208d7d1d07b21c85db85211c3552c24bf43a4a33d586640"},"properties":{"commitSha":"618bb312e52c2b62f75f56602b7388e6d023aa33"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d6e2269ff076a7a46b7728346f8d9dddbe55da16e27a2332240ec9bf66220bb"},"properties":{"commitSha":"1ccaf07fb9a4d1a2be9d97c77604ce75214a9940"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cf467ae91885f7f8bb935145b05d82c8706e7a3422ffc22f4cb25301e245825f"},"properties":{"commitSha":"9a11f6e874292230633073fb64ea6202ad22a1df"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"624bfa1268e2e3e3f1841bbc7cbdb3aee19b8bc5d5a46a29e35441442b12e03c"},"properties":{"commitSha":"bb796764118004f8c9b0b0a46e07e5e55cfe34e4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8ee1f77d0a8f9a39fbf164b767efb432d6bc857f9f04d3a88d5ea893d8f5c79"},"properties":{"commitSha":"8f7cdb80410434d29daed90895112a39936eb4fe"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"629b7e40df26754fee659badd0c4e141ea9c784618d279a328bbc2a8267967cb"},"properties":{"commitSha":"a6eeb3f5a468ec576d2c911c19ce59c56ac46e43"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4048b3e3015ce8ad44edcb4867b425b80c161b117c44176510e2208a07b3b117"},"properties":{"commitSha":"4b1581771ea97c870187f6ddfc3dbc87ff4fa443"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e428a132bc92928f647f7ad6f9d2a361d8d6964c3919a82a468eb15504db6f3"},"properties":{"commitSha":"98e1d24f4902ab58830adf0e2b6a729a5d5429b1"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"251f7b21c57a37b130f1be87fdb543f94a8dba404b228862022413271e5d0c22"},"properties":{"commitSha":"1c4284a08294f734d57047585ab82e2e09d3a5bc"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"67c77d8cea3112c9f31d066c67ae615badc57708186484323c3453b5d29d879b"},"properties":{"commitSha":"5b39c453ee5ee8f46fba0bd9cb4ae47fa5ee6d51"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"872998107071ab08ded4b3d551bf38474133ca425524effdd9648ec618cfca33"},"properties":{"commitSha":"f1cd7f020210ec3fc71699fc46d90320ddbb411c"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49eaacbec2b255201fdc9e6b5837bbf1c5db697d83ca5acf6508b9f50758c60f"},"properties":{"commitSha":"be928151372e4b62adb4a1571cda52ad759b38be"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fffac09eccc4b383225bc4a7c584280678a534fbf61f29011aead793fd5d0d1f"},"properties":{"commitSha":"2a98f6a1dee448c6410531c89c2de0af4383c6a7"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"08edce213f79807f96ee7346533bbda406d4cab796231acbdc8ebef9a79b86b5"},"properties":{"commitSha":"09f446f5f8623d79464568dc91b9dc258e74bcae"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e4a24abd0bcec7fce1e9b5c2f8475d6508f03a2ddcbc286310d32bc7d5e8140b"},"properties":{"commitSha":"6f0da16573086401a7b171f4bd14a78f22c9d0e9"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2b6007b7daf67e3cd7d6a3e975b3dca0ccf4c2e7b003b09b206d9da67f9d0fd"},"properties":{"commitSha":"52421d197e96b4480fcc16e78345578996452c79"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"775e164506b4bcb780ad5fa7a833760ce23371c04226b027cf3094a02c115d76"},"properties":{"commitSha":"c74501d7dc6946633fead7883ad02d8a188cf605"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c33cba8a4405e48a6fa0b7ba7f6ea16f1364eb0f643cee8d949214fe7dc2ef11"},"properties":{"commitSha":"bc4f8efdbc1f8fa6b78935e205780e259d83576d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"178e6e2f77a16f1b9702042b1eb21f17a4cee07ee1a677869948975e66eaa9ae"},"properties":{"commitSha":"bedb9a7b8839e193107e88b92f7cc166f08ac83d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"74406c9517599bc9a79eca56519bec3ab1c84bb77581745b54309c622aa91f57"},"properties":{"commitSha":"8edd9ae411f9d0a5385447a4697c9f7042868213"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5ca33bf3b9b141b3d59ce2f93b4732a5c4e22a69c197a686e017bdf2c58fccda"},"properties":{"commitSha":"c7d8e1d26be1f958e55c80f26b648f768afabdf2"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c12b28aa1738fa3db7b4225149f23090df228bda08cbad8216e3c863855b3e12"},"properties":{"commitSha":"ff14a33c1b21c36b9e43a0150a3818ee3aa3712a"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e694a57c71ce74581ac379b09f7b9ccde849c192aa713acb3623a651fa9c1f6"},"properties":{"commitSha":"f38355ecdf69b231be218e572f591ce7f389a211"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6377f5a05778511a6431da3b7be15acdd16d469425f3d656373391dc72d2c58"},"properties":{"commitSha":"d9029e3ada3c008b4631d78a425743445730892a"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1e4a043403acff241b3941f3cb27585ef309b3d54f2929689d915fac66390332"},"properties":{"commitSha":"721cb1cd1cacb71237db4403d80a01403af61248"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e405872e33cf64e39e7d675079f4cae5672630213746ceb77958b527fbfedb19"},"properties":{"commitSha":"df274d44f5207febff3231f3a707f1d2265917b5"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b7beebe6c4e89bae79d1f5f131af969de106202290bafa137f1f31982083e12"},"properties":{"commitSha":"28888f9cc1635dc1247c400a8054c836abc2c129"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7c186372d8cde382eeee9c214572e52916b34fda87f394f7bb0f17731419ca9"},"properties":{"commitSha":"06527878b8759ba52f28ab53e4d95a33989700d0"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bdee6895d740cb66c8c7a44afabf40b37afde3bd2089ccacc7b91709fda1d28a"},"properties":{"commitSha":"ea17fda01d7067a6d829effa437952a09f2bb3a3"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c36e23d8ad3177e8f0bc0336581d10cf3ba32bee6987b46d388b2e9d1f1400d"},"properties":{"commitSha":"dd1202d5dacff985861289c1d9c46996ded2d2a5"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"812f231bf3b22b70fbeb61b46577d7b621d1791c48fc23d6cf2192b6eee0dbbc"},"properties":{"commitSha":"2ad8c98747a0cbf9abd7c5a6bc8f74186e57fb6f"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b99f31ea773685825bb3425fc4affec1e6b2a0d54ac41d96896be5bf9e9ec76d"},"properties":{"commitSha":"59ed1dccac26e7e92f5b91dd106dd273bf32b922"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb91d330ba08a53c8453ddda48b258640c5f9d8a85f90b9f4e7dc267f01e8dc4"},"properties":{"commitSha":"cbd2fba7c48b6376e80775cb191e2eda1d476c61"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"75215dded9babedec3a1cda31c5f237dda18752143a42e0b1326dd67b1311e76"},"properties":{"commitSha":"00709f2ae951ce79705467e92d71a926a46b82f6"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0ec6fa5ae9ba402d162cd2b50aec06ef73f8b82b01b91ace91e4ef8d3cf7b9d1"},"properties":{"commitSha":"0e6adb15adc1e74087bcb402de7a75e4fbc0aecb"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64c59b8b773149f320f1c41cfc4e5b19c77067aadb9c801079d0c1bab90b8a2c"},"properties":{"commitSha":"4d354538e8c2618e228c80f1fdc332ee1f70d1f2"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"80bd8b391fbe6a6283e64161733de3b42b9c3c16159608bd6ce854beb7c88944"},"properties":{"commitSha":"93c2eca17d2d484b95245c849b39f51c6d291478"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d72654f026ee8982e647a2289f2cba8eac26dbfb1250b232a69e4bfc5297912b"},"properties":{"commitSha":"ee821d6b4a59d6b73850640162b6454da434f5f7"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7bd34ac9d2b17e607f576154ad1f76b56c4c3560a5351075eb97ad572e69fd3"},"properties":{"commitSha":"60002e574925e84261150f3e01be4bcb53658261"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5acecb617e9a0becdb9fdfa4a59188f4637165c6e0aecf70ff7a7f0608e509cd"},"properties":{"commitSha":"87e46c25ac9ca8cff407b52ad9fb33e326c059d6"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f08f48e506687d40b309d49d5be9dbd980268cc83679e1a8fb52cfc27e263307"},"properties":{"commitSha":"268de687ddfc8ab937372987ef71b99a57c05b0e"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c3e444b177588ca3c921898d7d54388b5f92da26edaf9899a55c0d140962884e"},"properties":{"commitSha":"b85b647b5312debb951814dfb9ed13f906d6bf43"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7bd99ab8ca707a5f2ddd21b90e469b534cb7b8511e64e9e69b10c97484d297dc"},"properties":{"commitSha":"bab18af787cd5d962aedeb4b5b86df4f6cf28003"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95a45cbee6fa0b5ccc60fd98d87c7788f236fb312ef28a161f1113d761bbf883"},"properties":{"commitSha":"625827c5509ece3c40e5002be37a9bd9d91b5374"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"015b28d8743ae98d6476f765f5700f5061c475dbee18b15ba68cebdd958cd974"},"properties":{"commitSha":"8fe0ab87e67eeb3cc27426b50093845229520f0e"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e670329da47ee766610c8b041084598c444ecab65f758456526a3f7ff05fa95"},"properties":{"commitSha":"13c639cc7d57e4fbd4406563511e15eeb88a54b2"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"260fb83a75ab1b3ba73a90c4ec17bfd6feffdaf767f3dffb96bdab54260f2667"},"properties":{"commitSha":"14b8afce7f17a9748a3d2946eee4d2d0b180e1d8"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b16dfdd18d322b85423cbf9b0409038e626e486745022ef4d4f3e8f780926c69"},"properties":{"commitSha":"f9d339fcea63feaa1bdf918a4599f2b032c83517"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1687e0e6bfd2cd6e617e452394d18190b1ab35ad0a29a46f9e003639d48b2aec"},"properties":{"commitSha":"6dd268a36ae6c4dd73cfcf2086e5a8c49ba7c116"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1bfcf0199837698a97cc6c2698c1b30c7380e97c8a42e28ab6f009145ee521eb"},"properties":{"commitSha":"529e3b746c5c1bf562eba6e37f8a30eab2a0106b"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e784ce4ab69438d5f29e69c349a8b2c7cbe9b4309e706cc5ede12d6d4dc06160"},"properties":{"commitSha":"a4c01ec71e19af034af09ab6fa00bac693f8d66a"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2641e1944c25ff8dde22f7d30f7b687397379141cf2be7d0aa13bafd0b14385f"},"properties":{"commitSha":"b1417cc7702af9b9edf0519d03bd3d780ecf5047"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f2ef0f00da40a4fcc54adb59df87b23684bda193ca7478879ca513bd845f036"},"properties":{"commitSha":"42b2b60af44566ce3d1d6d37f2bb9d77274e65dd"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22d2862b4346756bc9767491ab0b67799f317d60b16ffc55e768015177c57008"},"properties":{"commitSha":"9cefa5c6be6d5e7fff19c63244baf4a82ab2c285"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5fc084ead776c7a39f43dbbdaced76924b82329768d4689b0c8f65a7946a564"},"properties":{"commitSha":"efd9803e5a3e412e9f3429d94dce2178d797d3db"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"378b9510158e7984e7bd96af1bea771464fc9e5dbbc427ceb6f098ce771b752a"},"properties":{"commitSha":"0e81ff2f45b7acf6a6de5620a66c3bd60af93b84"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9a28ca677e71e1e43f867657f07f62571ff89a138d5f1d7cb60751f0f9b6fed"},"properties":{"commitSha":"7903bcc69694ba2a41d48f8f45e5e3b07892d734"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8de3e4242fe987294bcff21cd9b8cae1260fef620cccbdd556b56b06f2927f50"},"properties":{"commitSha":"3380ecb943bbf293ca39a51eed55a125b0a27716"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"20b3bcb23ef8427190d12ac8fb6d5803ff75b73945491741a2aee4d7fa811c49"},"properties":{"commitSha":"166446b8522b47304e035015ca2175b7266806f5"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d00e810516c7f8d915e726599fcebc3f50c2e59cfa2b2cdeeefe091817cbd150"},"properties":{"commitSha":"cefadc522446e8f656a867250aef1300cc04fd07"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c78b0f4f6ce275ab5d118587bc5aa6a40d22fa10625d7a5e796f9af0df22efc"},"properties":{"commitSha":"18f834a54f92ea827452471a46a4f442f251e2c8"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95133a67581db907c71e9543b63e0bff1dc8847a6b8999907b71a4ae2df9d780"},"properties":{"commitSha":"454b2575d59a086f279d99dc791058acee2f14c0"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a59374cd56ce8cb68a5d27ad83b1d09a7d360567a2eb130eab51d0bbd656b69f"},"properties":{"commitSha":"2076d85f9226113e4ba360a7f456091988092dbf"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1e42f3379af06d29fcf513267509134407d66e087fd9e9c89e41e766b235eb8"},"properties":{"commitSha":"6e772ae791759b25de83313614e0fb26eba895b7"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b942b6a2f19cf09aad2164c8edb4e8caa31e72d15cebb7eb926b6380df526794"},"properties":{"commitSha":"56ad9ca089394e535d7df52fe48d544e54086ddc"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aae4919189696a3daf3c379ba4940db55cc5984d22d8fdafd5c1ff95a1700dab"},"properties":{"commitSha":"cd72fba37866bfdddd4a84420afe2ff397279582"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"077ce7dc9cddb58e5de3e579844528019bd39548c5dcc7500af4059b680fc228"},"properties":{"commitSha":"2c67256406df9c9d4367a0dfcda63dbe84cd1522"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"80d9b470f03abc765970e85a721ee282b80301f0bf33e5b87fc9e566c88f5f47"},"properties":{"commitSha":"bc96310eddc1aa1c22c490fc5c5d99daf60b55e8"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a0992770f0a0252729dacc82622eb49f3d3f321961735811809857cff265cf86"},"properties":{"commitSha":"c9ccb8fcaba323e10d8117f4565c9ef79602c1f1"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"930ee20288ca822ee48ea321946ef6e0ef1fbd20054e15a2d74a09ae24bd85e6"},"properties":{"commitSha":"c1a87d945359f6ed4bfaa5328bb2e9ab3ff67874"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b34fd694df5b5cc67e42c8cf0d8a19632f2bbdfb254b974889d18cdd193589fc"},"properties":{"commitSha":"0a4ca536f356aa23a021962b442d0c187559326d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5b6149b936eee269f741960204c1e0b935f26ca07c3e5d01ff6d84f14f3a2778"},"properties":{"commitSha":"9b1bb6ee10d4a0a04d04b1f67907f3747c57f5a2"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5319b781dc324cbbc0549b957acbe49024ff4a1ec612dd52c618f5a28f9f234e"},"properties":{"commitSha":"656e3cab4a18262a49b961d41293367e45ee71b9"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5468ff20a280f60d1ca718b69e64b6f2188399340c1f09a36b47a4027396e0f2"},"properties":{"commitSha":"9e9a4f1712ec0ec637ca4f6e3f50e1647d268576"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"411fdba21c217de1b73ea140f0936df3e0e8cf3b0e57df6da45c50cb3535d448"},"properties":{"commitSha":"e273d622e85d7380f5ce715172c23d55ce8625a9"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bb0ca28feb11c3b00d14424ac19dfe7ceb967b5b3c1d21414a511788a88d75bf"},"properties":{"commitSha":"849c8df45c8d295604031edfbfcf7e5ce4699c5a"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b1a27b84a5a5e12b24af2255faa0879baaca6e5b167fcc40f4a758ed88f0bb78"},"properties":{"commitSha":"5e5bc78aa1a8db86876635c786f127f242fdb0f1"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f8c9841b178abcefcc43011f96d2447f7fdfff54c8461c6daf9c1e506d6b295a"},"properties":{"commitSha":"d1efdc4abdd93d73994dba69293d5f235010c16c"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c6522730849097082059e16c4ba8f01aa8e582c05b86e08405546a886c1ea03"},"properties":{"commitSha":"5047206f02c0470fbabac705e91bae9cb0911c52"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5dd46845b8ca12ae8e540c1126e4ecc3c98be346d9dc06041331f7068bc31ea1"},"properties":{"commitSha":"3ddbb7ec8dde5ac28e37dcfff95477b9eb48be05"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0fc578254d77abb55bdc5611ba304a6f41817347daf3d6480695e500768a16e0"},"properties":{"commitSha":"01c9eee2cb3fb0ec14d9026f93fb6a71d432e3a3"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9817487a3813265ed657c80733ae0491aa831d6b4cec38ced39a5c3302f5045"},"properties":{"commitSha":"b13d6fe944ab01b72b9a3256e48752d808c906ff"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4375bd6f3181a23515a83fafce33832ca92575f0785c97da3c96c417fd67ba1a"},"properties":{"commitSha":"b3c7207e63c8d961f0b642f574e69f0e947a090b"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4cc54e1e1c08f16901f92ed74ea3d4a732cb3e972161893b90a94bcbdb46329b"},"properties":{"commitSha":"a7a60166ad8f686f388719a147f815b053c9e885"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee9be9d0f2cfe3fcaab9564b3c3c2dca3c962a6eedf395e11d9ce9d9aab97474"},"properties":{"commitSha":"42cb178759bd2bac2274f4c7afd3c550e6cf9aa2"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"28e7a6f1b1b1024f84e237a393b8719f2e9904147f19cc9f16a1888deeb78bac"},"properties":{"commitSha":"27feb0a1b4fc821a47dd6898c5ab8cd2ac3238f4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4085ebfc240bae5ca3648e8a561b9059b67f654070783a89471551d5f4e62d1f"},"properties":{"commitSha":"eaab2f5c55cbc72d79439f3c114c49a0b9625ffa"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"74b9149b09f1054a43cc77bd2fad02b7178c681861ea09a9caac4a406106bc65"},"properties":{"commitSha":"d499f4f8050fdd2eb69339e2881977088f622a0b"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b4b9e8f3f91865d07d45a65e69f93822619e28cc583545cf0d9c90f438145950"},"properties":{"commitSha":"3d93d66d52d709878b9b557d0c8518f291939b0a"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"62dba29944b112111dcb7fbca23a09e863eb75d56cb121836f18e361a260b5e1"},"properties":{"commitSha":"ef09a0abdd6d169a7fece3c12d57908640cb6a52"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dfcdffc3b231aca402a94d570f3c74d892090ee11d92fe2e3ec3f95c3f13710e"},"properties":{"commitSha":"5da8c5f36a3a31050608dbd5de067985275dc176"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4aac338ad522d51a8702975398a1bba773d47cdcd3c9ea326a7ba3b2410fd552"},"properties":{"commitSha":"51c6885537da15fa2fc7e93ec9a4166ad9928f77"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2c30bb30594c4df3a0baa9d1ad8204f53e01a18bc1045669d9a1474bdc4deaf7"},"properties":{"commitSha":"9dc1d1a080b85571fe80bc48885c85fff3fec305"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d3a8cee67799b1b5ca27498480f34bb8029353d5784620163a93142089a4eff"},"properties":{"commitSha":"8bb16f7aedf919646e66ddc591fe283d770b8257"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a7c36375324889b52d6bf5f86a5795cb88b7d9bc8f24caa0e57410ab3e1ece1"},"properties":{"commitSha":"caa4a48feae6848d007fe5de39a747759f6baec6"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b504adbfbe7bb9841d1911ec92e1b7bb0c79ccba913006f5e4050708c65aecc"},"properties":{"commitSha":"752a293da54c72c248afee310fc7cc1324debc1d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aee60362d43a1edc6221336f6c77b46ab13376457b0fcd5cb086d3361febe97b"},"properties":{"commitSha":"ef00216846515033e4cf73ab3227e91386d958ba"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"360099354581367c47efe760871f3193b6f6b9e1f0b5a3ca924a6b88f8bef8ed"},"properties":{"commitSha":"ac534dcd13fe1178c0d7e95f0cef3dbdcd647418"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c44502bd465e0cefeaeb1a3df59b50b623294437911ade53e253cefcdd727bce"},"properties":{"commitSha":"ed9e2ddc5316b5c5cd972b2d9dadde910557fd61"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"287ac8d6cad2c7b28465aecb162873e9459b4f5184f3e7e96fa500aa5dd584e7"},"properties":{"commitSha":"b16bf4eb46cce0a2414086fd14f2e6a7497e8754"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"415092a15e485a2d0707e4ff1bbe3d6475656858bb9483f08925be82deb0f988"},"properties":{"commitSha":"663e89602cb5957e9dd584514a9b06f0d3f5385a"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"509f03386098c23034955fdaf9f8448447abced71388698ddf66aef719c6eeb1"},"properties":{"commitSha":"e01f14b2acacfb8d74a308c7878632833a44561e"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c170edf50b297604317ea414a9ca4410c6a5b76d0d6d27a51a103239d563c87"},"properties":{"commitSha":"0a5ad3e89de194c7142a24857c86e6b852e4e2e8"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ddf13fa2076c69163f7d86a52c148bec6c97c7b4847771172d04cd3fd8e8d2ff"},"properties":{"commitSha":"513ae76253cccdf9d0a9122b32cf0adb8d26f792"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a837812d95dadd8f24e073d32a4bc2b79c7e1f8717213525afba5baaa67b4087"},"properties":{"commitSha":"25cbb74f835206c497df2772205c7b2225951989"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e72514138b552974825839107a77270d992bbb932cf07ecf1cbe3fb9d3def6e0"},"properties":{"commitSha":"9ada2c74f3f5865a2bfb19afce885cc98ad6a4b3"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d13b4710940ecbc653ef954ca04a1d429a7ac98f72d189e7f364b03d697f3cbb"},"properties":{"commitSha":"d5e79998b0017e77ca48b470c70ed7679693fd91"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4e033c416f9588b106cf7188d02d7d7ae2cfe40bdcd104760d98d3f8d66ab218"},"properties":{"commitSha":"c523e639bb0b041562aa2a1b511ddf032e4a719a"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d35380fdcdb262b0d0ef6b9cdfa6921ed77a57cd006f4f843d9a21a243e4c17"},"properties":{"commitSha":"58add648f119140bf108931371e0811601e977c3"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b3426561e7e0614c3d0f166822239bec08f06044a8475fa8643d40ee85b8365"},"properties":{"commitSha":"bfed4af9be93e911111299c34da1baf324cbea99"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bead0c5f923328e1f5cb82ee68645cae0965888c027a16a03388a14009b3d0b3"},"properties":{"commitSha":"d296d85884cac05917a2776cc22c632027e8eb05"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0afe04b2c0d3639fc1415f5b6fa501e5fd88ab2db8068fdeeac4da2906e5657c"},"properties":{"commitSha":"0d85ca08c83a408abf3f03b46189e6bf39f68ac6"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"719fca6cdc772af15eba4944229f4c949ec72bb60d38fcda03359ca4af40d91f"},"properties":{"commitSha":"514de0fe148bc44bed09491b97eeec44d8071c81"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33e556541d86d8538b7805626509c2240d2ce7d09934b59ef481ceea9decfb5d"},"properties":{"commitSha":"4756247cee3d9548397b26a29109e76cc9522379"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bdbb807d8250b02ba29d6b55014c6e0955a39f68f55f4e6752a1af72981fb0be"},"properties":{"commitSha":"847ff0b83841d9262ba0d9c4fdf46f0478004ad0"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"17b7ade80e075d33f335e7b7aa85fbf15edcd078f7d735a0258a09f3dec40d8c"},"properties":{"commitSha":"0296375f9cf45ed3786292a0c03bb52a2ca06b94"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"545d3f5c34154fffc431b0064b29a3ae98059737cbbd3d184c5a898df4d7a741"},"properties":{"commitSha":"2c60d78b378465433b70bbe2a7d3f94c8eeaa0d5"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3eebae96cec39c02e181410411d8b99cec2e0c5beceaa28d0a7228b377ba4f97"},"properties":{"commitSha":"3c1f55439e0c6afe358a5e2d4ccfca9516b667af"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87bf78704858284e5eab2779898c175dc7a271951d3a8d99607c8ae15da419c5"},"properties":{"commitSha":"3d3d16ab5de830665adf13df82c991b60385531d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c7a86d709d1fab20a71a9180287a0b304b1202d9031bed4f6f21180bdc1a1b0c"},"properties":{"commitSha":"af5f9c4e9d26777364154c2961dce7a047a2b42d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7086529a9bcfa1f32fe8aed7c2d890a0a5b8efe64689d72a0bfc3a5667696d2"},"properties":{"commitSha":"4e28a424e6afd60040e3bdf7c76eebb63bc0c407"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"405ce9e42f2f1f84bf991c5040d8ca08a4cbc9ba82676d3316204d92fe013eff"},"properties":{"commitSha":"a94bd5b239ad73b1f6f7cf11a2fa9d9279096321"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d15ec267027149581175e6ba3fe63d5d9a34bc34b8da18bf86fd36eb74facb1"},"properties":{"commitSha":"0843a1116498bc3312db9904adf71a4fb0a0a77e"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cf31b7790ea44448d9b20a728d6211ea6c78fbf4bf4388105bc7522ae9c62f7"},"properties":{"commitSha":"caf837bb89a107e3658e56190b03f246ee23b917"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a6f60a6cd346e571a2f12adb982846c82f8c6893b3ae17a4d1695840748989c"},"properties":{"commitSha":"2026d53339e61bfd5134e835bce6187baaca5b04"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5164d66cb0b37626677ae67c1711b85975b28ec5e06377317dae5f6f9655fd18"},"properties":{"commitSha":"bf4a9a422e5eaffa90863439ddfd8a82cbaaa636"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f440c69da82f727fd9d4c58a701a3c8d43a37c3ccbd5a5048c18e742f4c90ac"},"properties":{"commitSha":"a85ad051aa4e6cf4f81a51714afc7bc90310e047"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b0b6151c514087a7e0878d5899e7f93662110da9eb17d428b8b3112572604dc8"},"properties":{"commitSha":"3876ddc28e833aca190d6ec8eaf3b42c979f6e99"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"51f9b027114e850eb406b70a406ef63168e80b18b61b0606af5e47e0e9454fc4"},"properties":{"commitSha":"34a565164878d97d13fb2d3f7b5602fe73ad332d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa1d097fe1704cf38481ca6bd692e4b495fb4ba99d5be6ec35d518f752f8fcd2"},"properties":{"commitSha":"05e3755b8fd8f03adca94eb6797c0c21b564fa80"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee33b525518e3d743b2b13f7458c14ca024434dde0e376497c4f716fd3069ef7"},"properties":{"commitSha":"db5c35049accb05f5fb03791ef9c12547fd309a7"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2135d00f472fe77bb6cc0a1fe668477ffa48272db0603d14d91e5ecaa6c76bcc"},"properties":{"commitSha":"1a85f249ecdf13278d16185a1f9ae908e96e03d2"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1af6de3ad32c197d6fbe90b599e1836ff113668d4b3c4a41607feedf9d24aec9"},"properties":{"commitSha":"18e0b36abe7c79a8e1a055f4ed57b3752f9ea01c"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a26d93ca6e7d91bb7043156ca2dbeec64f9130b16fdfd1f41b023f2d9db741c3"},"properties":{"commitSha":"0673da62f2f2476a3e5791122e75ec0cbfd03442"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d6801668196a95faf981ba380d0c03c9e1329560418fe2b90d3dfe5ac7992f9f"},"properties":{"commitSha":"e68921654125ae733aac00c683b504bc89856df2"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"546a1e6225dff301f470f8258def630eecc26fe72b2f1dcee992a302131ccdc3"},"properties":{"commitSha":"cc2c1fc15fd0bf1a5bdfb7b28b4d8d34e1cccad2"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"52287d44769d15c436a200a9a685ad4a8f6859bac0ee929efad86b4cea7f620f"},"properties":{"commitSha":"eed877fddc0e26ab99d10157de25e3abcb95598b"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"29536b16b58e6fe2345b200c9b8f35587205c213ba8759c9e83468607a73dd65"},"properties":{"commitSha":"e5e40b823d3dc5c82c0fe6a10982d012eccc051d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1e2e74a11710d9328bbbac9a9af4e3501c40e613385989e4ea92a1232e8b995"},"properties":{"commitSha":"56540b32873df335aca9270715a839c2a9770639"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57aae943c815277d668e3d2a061557605b46af2884c6b3b3a9a2aebdef6e71d4"},"properties":{"commitSha":"cca0970798c2735ffb58879ed494e81f80ffc6af"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"019c183735467e7ab962b13bbbf9091cfac44aaf9a39c23c55882e2810a9f794"},"properties":{"commitSha":"f588695f77aad9279a355f5f483d8debf92b46ed"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f8db4e8d55934571e2c5d18bc9b46135025890e063b9a429caa27567a2f5f9a"},"properties":{"commitSha":"71058dd6f0a8e2e837f1b9edc91bc61a07b7837d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c9d12911252ec294505c2c49bc19726648190b15a6306e99a552589c06da4fd1"},"properties":{"commitSha":"4a81b4eda050ffe2681e31113ed65250d3355aa2"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63da479395ee106d15d69e7fcc43781d9983d9b266ff6a6f45b864b166fbcf36"},"properties":{"commitSha":"66a0b8d4b2864d74a383bd117a5f26053ae9ca60"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"755f75744068692f3e08242fa9ed0bae1a9ec4e3ce4622b4e4bffea62a90e24a"},"properties":{"commitSha":"4ebfd515114ed852396d2dd7509464895809fd53"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e04016f7e1c11b2f2aeaff18400c0b93168846a76221a36966d571d500e02a7"},"properties":{"commitSha":"28d60d9e2717d4e0ac4daa92b190e12f70c9cffb"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5522c5d6c2a3de5ae9d4bbd0d36f74dc66ea50ceaf7528f95ba0105c09bd69b9"},"properties":{"commitSha":"a3b8e7724f505cb3f8dd9efff0f23301b6804bb6"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"300f4c96c9ddc04156f4a1884cf1b1901a42c2532fade7af63fc21bacbeb7ce9"},"properties":{"commitSha":"b8a3720ed6157dff5100c9a36f8d51fe47a2994c"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"56d042eb1437b0763f2bfe70336a6876cc39d1386f2806cdacc85e03ad83a4b6"},"properties":{"commitSha":"7d2b97d660882f68283cb2b54303660d1f73bec1"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dadf0292e6613fac8ffd5d42b8c33c9cea7272b646c2040d9adb140995b3894b"},"properties":{"commitSha":"8da9f46bedc954cb4ceba2eb5acf5f9d3c22df57"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ace0d03ac4f90b562208de73a247c8c583027e56628890fee1a4f7bb6ade2ad"},"properties":{"commitSha":"a4b9f4075ebcf54a97489bc55995e308ccb62a1b"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dfa9fb8b1b1d86a338eff4df943cffce9d81e5d0ead866f2dd551d70e9177eb4"},"properties":{"commitSha":"d7ab5ee237f8d8a8fa51dd7177a47cfbd6c331e6"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"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":"production","file":"examples/computer-desktop/desktop.py","line":53}}}},{"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.1.4","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":"5102fe556f3399b622dcd81c118f7d1308c1374fbd00ede44c01babfc78c0a23"},"properties":{"dependency":{"package":"pyasn1","version":"0.6.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE 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":"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":"production","file":"src/openai/_vendor/httpx_aiohttp/transport.py","line":10}}}},{"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.7.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4244"],"reachability":{"kind":"not-imported"}}}},{"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":"3b1568673c97a5ce9b1ec5a08dba083d705b7ca92047378b6f33333438b27491"},"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":"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":"src/openai/resources/admin/organization/certificates.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2d585070572c778d423ade553b95b3d5f6ed0e93c8e9cbad29be47d570c0c6"}},{"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":"src/openai/resources/admin/organization/projects/users/users.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62b932b9edfe01a9019b50566873ada8596e28b118a71db938d3c863e2cb1c9"}},{"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":"src/openai/resources/admin/organization/projects/roles.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41dd8d6f1e7aa67d40eb954095a7a78b693e36614d330a6a8ecb2aea829c9300"}},{"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":"src/openai/resources/admin/organization/groups/groups.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"844d9477f5cfc225dd56c2f09d1387a0ccaca102fa53235f68bb9dcb8a5bada3"}},{"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":"src/openai/resources/admin/organization/roles.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf116acf9d52db3aea21546d2d46c1402557eec5caa5087712d7a951267d1f41"}},{"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":"src/openai/resources/admin/organization/projects/groups/roles.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1468a6bb7f5444bba177ba479c6bc1b734c6a3d4499352f0b4de1d68f5969b"}},{"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":"src/openai/resources/admin/organization/projects/groups/groups.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b188d6b00e8779cf50b10693f46f25d114cbd6c013969f013ae739f6e6c3dd"}},{"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":"src/openai/resources/admin/organization/projects/users/roles.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4df41579ce4098ba0f4cf3116db89f4747180a94800ec9b1b9badb4521c4ad"}},{"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":"src/openai/resources/admin/organization/groups/roles.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6d684cc9997aaf89be5584c22dbff630a74df2969f103d5aac77345ed6a29c"}},{"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":"src/openai/resources/admin/organization/users/roles.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdde8a31975f921309037260d46ef6cab97739b2ad97f75a7d4ea97a8afd182"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 77 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: src/openai/resources/admin/organization/groups/users.py, src/openai/resources/admin/organization/projects/certificates.py, src/openai/resources/admin/organization/projects/rate_limits.py, src/openai/resources/admin/organization/projects/spend_limit.py, src/openai/resources/admin/organization/projects/model_permissions.py, src/openai/resources/beta/realtime/transcription_sessions.py, src/openai/resources/admin/organization/projects/hosted_tool_permissions.py, src/openai/resources/admin/organization/spend_limit.py (and 69 more) (87 orphaned of 519 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; 519 of the 2063 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":"src/openai/resources/admin/organization/groups/users.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d790fbe6790b192fcdc4b7ae171031147708b41b861cbf390e0fddc956da3cf9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/certificates.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6d00b31ad0c3f1405f627def21d70853a3c3f0ef9ff711ed7dcd6a5a78e7fe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/rate_limits.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d128287f2d2999292146e272ac87cef77152cf98002a5e2aa116222af861f26c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/spend_limit.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43f5b48d464959153f46234dfc395501592d875df81b7d7a7f8d7ee2069cb02"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/model_permissions.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fb3b80bd2f16165425fc11435d1bc8e300599537c664dceed0d09156c16e95"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/realtime/transcription_sessions.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"129ac1984bb865404881d60da9a32c14bc8bbfebe5da178f2a83ff0bb3fcb874"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/hosted_tool_permissions.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4c313fcb24afdc726bd6b95fb5bf659a54e876b0b9fbf5e673c01249a58a81"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/spend_limit.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d27a893de2d133d0fe85e3fc53895c1626fc02a652ed1e01c000db5fb4c6f45"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/projects/data_retention.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e719353dac3a7016f3a0f26be8253d2c5dce95b59984265a36fbacd4cafd43"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/assistant_stream_event.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ab6719e2d26fba51e92aad5000d4b4aad2a3355f81e9e2c88f84055bc2d086"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/organization/data_retention.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada9d8c66e34a76f180f88f070bd68f38e4330024c57abdb42688632add0018c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/threads/run.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0fec5afa0c3c8f2e8d362f53c01e8acb02b0d721e744578c9843c47b485b19"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/realtime/realtime_server_event.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3b11a656ff8e607f8670283937bde83954adeb1df983519787248ae032933f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/realtime/__init__.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"662a40b8c34458f42a07ea82c14645766bc80baa7fda2f806785b60ab2da5d4c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/thread_create_params.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4453fb768417b5b6d3e532b071b26d3fafa035457cb89368309f79609c797e97"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/moderation.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6162f1277ca310ad59d962d51ee6bc2fee74527412acebf8199381f4d7828b1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/fine_tuning/job_create_params.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"effaf428ed4ca9e57ea3391f6e2c8feb7cc7c47c3841df49209ec1e3c8be494e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/realtime/transcription_session_update.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8746c03f11b9ae36cf532c99fec502ba89c281fed2debd0cdc00c5105550c19"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/realtime/session_create_response.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfd747742a5677579e94ebde6c6885380a0991fe84e8515ad6a5cdc967a0dea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/realtime/transcription_session_update_param.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4e901a05b6fb5bf049a7648b437ebb4bed2c677fc6e87f427ed7852f83b402"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/fine_tuning/fine_tuning.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaaed33bfd8253fed4837eb638f100411b291df184fdca1610bf1d02a50edaab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/realtime/transcription_session_create_params.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19197d610d4eea4c97b5c58b2b9440620b365d2278cf98c478b06b89dee78892"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/fine_tuning/fine_tuning_job.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6ce3530f844997bcd05c32718681fede9cc45fd0d5afe50a04d0e1643578fc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/_pydantic.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a749fd5cb19a04110204c6f107d660921e89b336943a22eb936b0a639b86eed5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/assistant.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c90206ec265694e6fd059c5eb2e6ee9385659089db045e4a338fa63697835c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/realtime/realtime_server_event.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0c8449c6433a6284c027574f66f40f2e9c88de1568d411229f0f3833f77d99"}},{"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":"scripts/utils/ruffen-docs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"778134eba5165774d4945ddae887070e05e9ad504c7d3f2ecb7418ad9f1d5f8b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/beta_computer_action_list_param.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58db4e51bcaba50ae4a4e011bb9099922ec8a6747fb9590e25b2a174a902584b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/responses/computer_action_list_param.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6651b5a0ae0021818874bdc122f476b5ca4f86535820062a25b4ca9cb052fd12"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/realtime/response_create_event.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce0dfb02f4ad02a3a74237a4bd996537341b9c42890bbbdd6372b069ed95454"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/beta_computer_action_param.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecf077c7caea94417f8fe2b5289708b272a1e6afcdfec5dac0661d9f412df51"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/responses/computer_action_param.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"191f4c0e2d7d5fb92b5a9bdf975af787549dacf085aaff478528344b593da749"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/beta_file_search_tool_param.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfd05ede5d379d14f25c98744ff394aee1253bb8a9e7edbf089cdf2cf60996e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/realtime/response_create_event_param.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bd2608b0bb9a3f4d34a0295abe9aabfe0663725a361dd43164e36133b70a73"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/beta_file_search_tool.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e748be20a7e6392ba5e592104559012e927c957acd5a80b64ec88ea403fd4a5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/beta/chatkit/chatkit.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"128f6517d8b85229c7e570026aedc35ab8ec3286a869adc9e37b0416abed8e83"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_utils/_datetime_parse.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a16bdef5371a9f40ef912f30b370bd4e435a4ba249a2c43c7144b8e8ed1a9b7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/chatkit/chatkit_thread_item_list.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac9a8293a8f834949160ca0946ba6073bbb1cd4fa3c1b47b3bc83aff6dee42a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/realtime/realtime_transcription_session_audio_input_turn_detection.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a0fe31ddfdba918435647c3ab20ed4ab49bcf14d649e4cde4e2122ddb663fe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/beta_computer_action.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d969bbd5f2b74326fec9801ba0478fa1dd94425466a006821db27456253fd08a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/responses/computer_action.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9599f35249f2efd6ba36833525b37367c40eb9c2babd6a8e71f00938b8176112"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/realtime/realtime_audio_input_turn_detection.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e477afea46936a87d5c4adbbed71cbc019f0c195a0a5120b1c3f7c62b776bfd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/fine_tuning/checkpoints/checkpoints.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65923e8947a6fd60614b72f37321966999a304cbb01c723621b7223b45f2075b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/realtime/realtime_transcription_session_audio_input_turn_detection_param.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae7ca39900dd1e2c266312255680fce3f12d324cc95cea70463675e8900386b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/realtime/realtime_audio_input_turn_detection_param.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0ff9ccf8faafacb560b1baf8fe4f6e3d023b0b72fca9e1966624983f40a40c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/chat/chat.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56625a329e7819babed92953c92f116116c0eef43a9a220569c6b598bf51066"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/realtime/realtime_response.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1ce11660495a9e46adffe9e728eeeeb0c5f3adba0bdc1c9492bbce05052c58"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/threads/runs/run_step.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e81a37d44f0b74a605835935e59388d39cb71eb052371fbee13ae194993e36"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/fine_tuning/alpha/alpha.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3189c4a99e6c572e4043d57e03bbb9f91a7756e595b7057c5656df9434be2152"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/threads/message.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39dd1a5e66c301aa632f57ef7134317caded858312bd842848709eb01f6af576"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/realtime/conversation_item_input_audio_transcription_completed_event.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"390a55543ff4f988586817195526bfb7ad22c479a35f118fd2a32f4999092c3e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/beta_response_output_text_param.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"034ea24a5e793bc8bd1798389b038d3a554718477d5532d46a96bae1237ec3da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/realtime/realtime_response.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f0d54fb9a8a5431cbaf8ebd0c4458f05da50abea4cda65f33dbf5cd1127f0d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/admin/admin.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34eb38d9ac4b8d1ff5b90332aa5c46ea467408181887881148463010687c1732"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/realtime/conversation_item_with_reference.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"104219f062343fc34f83223f3a8a630e7bff2d2b86090c5c9837fac98dd33565"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/beta_response_output_text.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b283c6372bc69593f0fe0c0df25d0f212651e9ec6acb33f8c350d75867c9af6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/beta_response_function_shell_tool_call_output.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8e2c85499350e410ffa7143139b40cbaf05f1c3b8650ed204db9c77750f633"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/content_provenance_check.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bac80ed20f90f47b7481c9fcaa2fac46dd57ed6fb2b50b081f13d049eca1f1c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/realtime/transcription_session.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1c0288e85ace77f76527db46f2ac58dd45ee7e415779cd651eb2682d3ef8ab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/threads/__init__.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05c1973cba8dd5435fc0589a4b0cd87a02c38daf667894766a04cc71cb7e47e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/realtime/conversation_item_with_reference_param.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f958d971bdca99a0b938affa44eae1358a1714907ef74ef37f306e8400c14a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/beta_response_apply_patch_tool_call.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af7bcb37761c65829124723d552557957bd5bfbe835cff9a4c00c782dc0d137"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/chat/chat_completion_message.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e4295abf6eb49eccbef70c3b6f7d779b2782fbf3a6d1ee97ee2e705700d27d"}},{"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":"scripts/detect-breaking-changes.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d4c920346e93e38dcb0fb98644ecdb140663409011919cbd89c810eb01cba9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/chat/chat_completion_assistant_message_param.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53be945c212eb5c47efa04c0bc40638177c40fd2a491d17c7a8d7fdb107588f1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/graders/label_model_grader.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7863f4de25f6cca60c5c1f8edb76b5a74eead9fcfa8e17dedb898d6dc4a14e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/responses/response_apply_patch_tool_call.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a704f48d6ae7b35267b22b62cf9b615400a5cc55bd72a3e84f03627b471bbd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/beta_response_function_shell_tool_call.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb545988c01954f6ec2c64a91a3b200b13fe3544ce24518296ea264ada43f9f0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/realtime/realtime_transcription_session_create_response.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b62c6cfa42bf0affa94261e4c63c8f76fa4351b3d59d0b17739b6c1c57c4c9d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/vector_store.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8af9db0725a60d05ec6c1ea251bb10e446f6acfbb482a59e28dc0df1a0211b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/streaming/chat/_events.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b7922c64c40c56c36b88d038ccecf5bfa713fd45801a86afc51b276303718f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/response_retrieve_params.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2811b50b41af013587648b19f3241a66d16478db06a111ff15d72784bd2f7d80"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/thread.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc249e3b59bbe0896a37b65a8e5e373935f4b5a88e58923d32889e13285f284f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/chatkit/chatkit_thread_user_message_item.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67b626952d886cae4117c7607de353258daaa301856895a9fca401b5b17bf11"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/realtime/conversation_item_input_audio_transcription_completed_event.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c74afdb4dcb13044bba25358203573219b4bead52e5033919d3d34811982cc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/vector_stores/vector_store_file.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d17d20f8308b6f0ea9c99767e09933ecc3bf48378b8039b015b33c7f6a5d21"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/admin/organization/organization_user.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51fa0dc1788c95605cdd42246944a074f15c199e9c744a4c641f8580a005efd"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: response_compact_params.py \u2192 beta_responses_client_event.py, beta_responses_client_event_param.py, chat_model.py, chat_model.py: \u0060src/openai/types/beta/response_compact_params.py\u0060 changes together with 4 other files \u2014 \u0060src/openai/types/beta/beta_responses_client_event.py\u0060, \u0060src/openai/types/beta/beta_responses_client_event_param.py\u0060, \u0060src/openai/types/shared/chat_model.py\u0060, \u0060src/openai/types/shared_params/chat_model.py\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/response_compact_params.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"599e45ea45200e37c3911eb7daa0c100eade40455b5181b2cd7e3894372c06db"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: beta_responses_client_event_param.py \u2194 response_create_params.py: \u0060src/openai/types/beta/beta_responses_client_event_param.py\u0060 and \u0060src/openai/types/beta/response_create_params.py\u0060 change together 87% of the time (13 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u0060e8beb1ab\u0060 feat(api): add gpt-6.1-terra model identifier (#4180); \u00602c1ae526\u0060 chore(api): document 128-character safety identifiers (#4050); \u0060160b2c02\u0060 feat(api): add GPT-6.1 Sol model identifier (#3986) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/beta_responses_client_event_param.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e757ffd9f67e56231134b838cc2451ee223d37c371028f84571e798918ac1e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: beta_responses_client_event.py \u2194 response_create_params.py: \u0060src/openai/types/beta/beta_responses_client_event.py\u0060 and \u0060src/openai/types/beta/response_create_params.py\u0060 change together 87% of the time (13 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u0060e8beb1ab\u0060 feat(api): add gpt-6.1-terra model identifier (#4180); \u00602c1ae526\u0060 chore(api): document 128-character safety identifiers (#4050); \u0060160b2c02\u0060 feat(api): add GPT-6.1 Sol model identifier (#3986) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/beta_responses_client_event.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a3f61100d677030de3308ce6a653ac776c57c70ed669869f3e24b202cedcf6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: forks.py \u2194 sideband.py: \u0060src/openai/resources/live/forks.py\u0060 and \u0060src/openai/resources/live/sideband.py\u0060 change together 85% of the time (11 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u00609abd6569\u0060 feat(api): support WebSocket warmup and preserve cleanup cancellation\u2026; \u0060bd61e84c\u0060 feat(api): support response format updates and local output types (#4\u2026; \u006068b962c7\u0060 feat(api): improve WebSocket recovery and delivery reporting (#4213) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/live/forks.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1876666e36b2e377bd41f82021a482a340ff1ed71d2f9cfe09d90ba4d549de51"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: realtime.py \u2192 forks.py, live.py, sideband.py: \u0060src/openai/resources/realtime/realtime.py\u0060 changes together with 3 other files \u2014 \u0060src/openai/resources/live/forks.py\u0060, \u0060src/openai/resources/live/live.py\u0060, \u0060src/openai/resources/live/sideband.py\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/realtime/realtime.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"486b1902576a7dcb3aa77b5ef6fa6988bc7f83f806b89b077246239b8d18d4ee"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: beta_responses_client_event.py \u2194 response_compact_params.py: \u0060src/openai/types/beta/beta_responses_client_event.py\u0060 and \u0060src/openai/types/responses/response_compact_params.py\u0060 change together 64% of the time (9 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 9 shared commits counted here, the most recent 3 are \u0060e8beb1ab\u0060 feat(api): add gpt-6.1-terra model identifier (#4180); \u0060160b2c02\u0060 feat(api): add GPT-6.1 Sol model identifier (#3986); \u0060d041d736\u0060 feat(api): add GPT-Rosalind research model (#3940) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/beta_responses_client_event.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"959ce94e5aaf1cfe19a12e41fcd6f8c7fe6b3bf6e6ab82ee24c63136ed418ea9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: beta_responses_client_event_param.py \u2194 response_compact_params.py: \u0060src/openai/types/beta/beta_responses_client_event_param.py\u0060 and \u0060src/openai/types/responses/response_compact_params.py\u0060 change together 64% of the time (9 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 9 shared commits counted here, the most recent 3 are \u0060e8beb1ab\u0060 feat(api): add gpt-6.1-terra model identifier (#4180); \u0060160b2c02\u0060 feat(api): add GPT-6.1 Sol model identifier (#3986); \u0060d041d736\u0060 feat(api): add GPT-Rosalind research model (#3940) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/beta/beta_responses_client_event_param.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93100c3dd830bbc09940a78440ca745dde2cec76ea25180faed3f16953e327a2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: chat_model.py \u2194 chat_model.py: \u0060src/openai/types/shared/chat_model.py\u0060 and \u0060src/openai/types/shared_params/chat_model.py\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060e8beb1ab\u0060 feat(api): add gpt-6.1-terra model identifier (#4180); \u0060e71d781a\u0060 feat(api): add response error diagnostics and model notices (#4086); \u0060160b2c02\u0060 feat(api): add GPT-6.1 Sol model identifier (#3986) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/types/shared/chat_model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d596425e5cbfeccf0a4b71cab970798770265c2b7aeeab354461514fb10fb2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: file_batches.py \u2194 files.py: \u0060src/openai/resources/vector_stores/file_batches.py\u0060 and \u0060src/openai/resources/vector_stores/files.py\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00607db9d884\u0060 chore(api): preserve file and video polling helpers (#4155); \u0060a002ef3c\u0060 refactor(api): isolate vector-store polling helpers (#3713); \u0060f161000f\u0060 feat(vector store): improve chunking strategy type names (#1690) (at that commit the files were still \u0060src/openai/resources/beta/vector_stores/file_batches.py\u0060 and \u0060src/openai/resources/beta/vector_stores/files.py\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/resources/vector_stores/file_batches.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a507ceb9fd6150d60c146803b0286745c29aff42a254505e2dbe9ac7484044"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"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":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf68ee1ea2969cbbdae4336ca738b5320c565628ea6ee894219d523831dd0f17"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060spawnSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3ce770766ad0869a2874144c9fa98592337a22cadfc39dc09adc43e78e5986"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb676e4a9cf8a7ee400bdefbef44a1c44f14fec365ad1e933d1b21eaa4282cc3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.copyFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a481598c9ee1615e4f2a634f8c84c49f4725ba5ace5bb9cb092e96469a5f97bb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060spawnSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b366a642e3ae45dc4b2d8fa528117261227c979596c39fbe84916268708910"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060spawnSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdf52bb166897417497648b9bfddadcc7be946d867512e495110a24bbb0e965"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060spawnSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"172cc817aec3398a9bdaa1d3f473c5d535c989c978f658d24d33abac2e1bd077"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a004c0ecc2e0e7ac473be45c61c61ea7129b07ef79e041de646159894f9ad3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4008ffdbfe4e04b65a116943e74cc703b8639d9685cd9729f357bd306c5a04"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.appendFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bbf4dbe4b5f56977feb07b059d8cb5c2762b49cb8256d775ef2ccbf2731782"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aafafe7795a716991b4e00483ed578418ae0ffb879434b9631b519d973e0e0c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d075a4813184cfbfa4fcd9c4b4f6a7f3732f2f61ebda6f621b46e4691fbfcf"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.unlinkSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"183df6aea153a23054f13d1bcb2b4c954eca6e4424bc7a9b0d184f0b3667eba4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3c4f31ad530a35511176b6cdc7b6ced172ff6ccc4845e00e344ac5d6115d0c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.appendFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2350176a2e595e3cbad9ea1d0b51155099482582cf9596be62a944987c9716a4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ef2bb2a7794f94b7ad7ab0a9b8a3d1c24df5f7a89465c67e8f838ae64c52e8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.renameSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41fc31a240ea577093cc6a7d71a75dc43b8cfc04a31bd0bb94ab3efff920c03"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cbb75326280d3683cb0c2706682f3068c969f8cf1014db81f4cfcbdc28bebf"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.unlinkSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e527c60e64b302efbb1c576be2ae472ac07d79cd14d80b7c0bc862bb24ff6a45"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.renameSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6b85b7ff08595451c1862ee87279c3066ffa9accc3b3affa1071a0d42d0280"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.renameSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"630630ac26e65440aad5a369e41eb48a721b0a3e495e9c7abe228c3033c20581"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e272e32b8c1aa4a1c03afc6be3ed5d38d4b9bb080b3c867f27d728ef9551e8e3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.unlinkSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f4bbc305b48d41dbcbf44fc09f65b149f1d8a3b36048f0c883dcddb38f26af"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.renameSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9139cdf0d20d876b7f412329263d6caa9502b5ec54df4643b3a6ae4c017e2865"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/test.cjs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e52512173446e38fa0adc91b1ccb955b5a34c1a526d762fd67da5612636d4b"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 8 plain JS \u2014 the untyped files are scripts/steady/publication.test.cjs, scripts/steady/publish.cjs, scripts/steady/source-sha256.cjs, scripts/steady/test.cjs, scripts/steady/update.cjs, scripts/utils/node-tooling.cjs (\u002B2 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/update.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fc89a594638a05fa99450c3a66847d40f9fb9c6f0f59ec5a9d9bfd130efb0b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/steady/source-sha256.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e2d963d2925ab4e6dac845a2a65b2b3f8ad095413de0a268bfa54806d86b19"}},{"ruleId":"R6","level":"warning","message":{"text":"No lint or typecheck script: test \u2713 \u00B7 lint \u2717 \u00B7 typecheck \u2717 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"658a995477a4f3b704a1d0c61d78cffb4c5cc1944c2f896c1bb70ee901a201cf"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~42 LoC): no import path from any entry point (5 application, 1 tooling, 3 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/utils/node-tooling.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca8e6158c1bfb7730fc691caaf70a69085e58bdcd93b297328e65dfacfc9b46"}},{"ruleId":"X1","level":"warning","message":{"text":"Task from \u0060asyncio.get_running_loop().create_task\u0060 is not kept: The task this creates is not kept anywhere. The event loop holds only a weak reference to its tasks, so a task nobody references can be garbage-collected before it finishes (Python\u0027s documentation for \u0060asyncio.create_task\u0060: save a reference to the result); and nothing ever awaits it, so an exception it raises is never handled \u2014 it surfaces, if at all, as \u0022Task exception was never retrieved\u0022 in a log. Keep the task: \u0060await\u0060 it, gather it, start it in an \u0060asyncio.TaskGroup\u0060 (\u0060async with asyncio.TaskGroup() as tg: tg.create_task(\u2026)\u0060), or, for genuine fire-and-forget, add it to a set and \u0060task.add_done_callback(tasks.discard)\u0060 with a callback that also reads its exception."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"a681926c7dec85a89b014e7fd4b5a5563a60f0db22a8c66e3d06d0da04144704"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cast_to is not object and not origin is list and not origin is dict and not origin is Union and not issubclass(origin, BaseModel)\u0060 appears character-identically in 2 files \u2014 src/openai/_legacy_response.py, src/openai/_response.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":"src/openai/_legacy_response.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"557fcea979e4be4482bd11f1365e74883b95fcfb4e306d09ef2a1ea463d4de2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060default_headers is not None and set_default_headers is not None\u0060 appears character-identically in 2 files \u2014 src/openai/lib/_client_auth.py, src/openai/lib/bedrock.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":"src/openai/lib/_client_auth.py"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fb50447204a248bd8f86a9fe91624863fb7d65080192c9fbc0e4e11d1ac5c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060default_query is not None and set_default_query is not None\u0060 appears character-identically in 2 files \u2014 src/openai/lib/_client_auth.py, src/openai/lib/bedrock.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":"src/openai/lib/_client_auth.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc83f73c4dcb0c6501c00649196324bed1a06449c02cdc747d0bd5f472d1c472"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.type == \u0022agent.session.turn.completed\u0022 or event.type == \u0022agent.session.turn.failed\u0022 or event.type == \u0022agent.session.turn.cancelled\u0022\u0060 appears character-identically in 2 files \u2014 src/openai/lib/beta/agents/_result.py, src/openai/lib/streaming/agents/_streams.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":"src/openai/lib/beta/agents/_result.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a9991ee06fa86c66edecac7b828f864aa6a56873c78194ce7c57b85bfd17be"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event_handler or AssistantEventHandler()\u0060 appears character-identically in 2 files \u2014 src/openai/lib/_assistants_runs.py, src/openai/lib/_assistants_threads.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":"src/openai/lib/_assistants_runs.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4527be9b70140a299816cb84e7e54dd54e100d24aab7fed0391056789003abc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event_handler or AsyncAssistantEventHandler()\u0060 appears character-identically in 2 files \u2014 src/openai/lib/_assistants_runs.py, src/openai/lib/_assistants_threads.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":"src/openai/lib/_assistants_runs.py"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"31942a7784a8f034d94bab1a7e9fb8962098faa448fb1dd6e020fd849001e371"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event_type == \u0022error\u0022 and not specific and not generic\u0060 appears character-identically in 4 files \u2014 src/openai/resources/beta/responses/responses.py, src/openai/resources/realtime/realtime.py, src/openai/resources/realtime/translations/translations.py, src/openai/resources/responses/responses.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":"src/openai/resources/beta/responses/responses.py"},"region":{"startLine":5025}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aea199fb4cd7dc979b28722758723126008f7763cf084554f3cd3207bed2f5e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file_id is not None and (not isinstance(file_id, str) or not file_id.strip())\u0060 appears character-identically in 2 files \u2014 src/openai/lib/browser.py, src/openai/lib/computer.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":"src/openai/lib/browser.py"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"439fbd1989080f3a3e7a5ac216a15642e32762319fb44f1d9c4cec330c4fa377"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060image_url is not None and (not isinstance(image_url, str) or not image_url.strip())\u0060 appears character-identically in 2 files \u2014 src/openai/lib/browser.py, src/openai/lib/computer.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":"src/openai/lib/browser.py"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39422f92821de2799d3254a9eeb2e9365a0460be1fc7104cf4feb6ab5d2a8c9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inspect.isclass(origin) and issubclass(origin, response_types)\u0060 appears character-identically in 2 files \u2014 src/openai/_legacy_response.py, src/openai/_response.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":"src/openai/_legacy_response.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"778d4a2a266943603bb6cc12785e65425ef13cf61b3f245604a5f3e8c77113dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inspect.isclass(origin) and not issubclass(origin, BaseModel) and issubclass(origin, pydantic.BaseModel)\u0060 appears character-identically in 2 files \u2014 src/openai/_legacy_response.py, src/openai/_response.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":"src/openai/_legacy_response.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5719ba2c18777ae3e8e67f616b1c4b796d3c2a0c0e587bc0fd40efd7deb607b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(base_url, str) and not base_url.strip()\u0060 appears character-identically in 2 files \u2014 src/openai/lib/bedrock.py, src/openai/providers/bedrock.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":"src/openai/lib/bedrock.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7b42b392785b89198b0ab904d1facb1d31b0d5994efe820049f265624da8a8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(event_type, str) and event_type and event_type != \u0022error\u0022\u0060 appears character-identically in 3 files \u2014 src/openai/_websocket_connection.py, src/openai/resources/realtime/realtime.py, src/openai/resources/realtime/translations/translations.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":"src/openai/_websocket_connection.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48c6f7e4bac557cabdd7b25389e1dc0b0f044878d2f0975113483874728f62c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.type == \u0022message\u0022 and item.status == \u0022completed\u0022 and item.phase != \u0022commentary\u0022\u0060 appears character-identically in 2 files \u2014 src/openai/lib/computer.py, src/openai/lib/responses_tool_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":"src/openai/lib/computer.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1dad58d84a840761f10661d69c67c33fcb28f46f46cec79aa9eeb4ce57bae5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not self._token_unusable() and not self._needs_refresh()\u0060 appears character-identically in 2 files \u2014 src/openai/auth/_workload.py, src/openai/auth/_x509.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":"src/openai/auth/_workload.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ea2b9426a73b12079849a07cfac93b414afce1f96a1359ca3abe376655e019"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.environ.get(\u0022AWS_REGION\u0022) or os.environ.get(\u0022AWS_DEFAULT_REGION\u0022)\u0060 appears character-identically in 2 files \u2014 src/openai/lib/_bedrock_auth.py, src/openai/providers/bedrock.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":"src/openai/lib/_bedrock_auth.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"be750cf7819393a3022860dd701df94f548196748c195e1a5c3bbb22f0ca9a30"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060returns_awaitable is not None and returns_awaitable != asynchronous\u0060 appears character-identically in 2 files \u2014 src/openai/lib/browser.py, src/openai/lib/computer.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":"src/openai/lib/browser.py"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9bbb561affa09a16c2dd244181ac21ab0218a07e4d4f111516fe25275c6356"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.cancelled is not None and self.cancelled()\u0060 appears character-identically in 2 files \u2014 src/openai/lib/decisions_tool_runner.py, src/openai/lib/responses_tool_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":"src/openai/lib/decisions_tool_runner.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa6bc6774d7d1e2dc21e79ed40253452b51f97531308265fa47dd6d34193c2e"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060construct_type\u0060 is public and takes \u0060type_: object\u0060 from its caller, and it calls itself at line 665 (\u0060construct_type\u0060) with a piece of \u0060type_\u0060 (and at line 670, line 682, line 704) \u2014 and nowhere in \u0060construct_type\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 \u0060construct_type\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_models.py"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"9648a657e3c22f78fa39b17cb8877fde9485913fd19de03f785eaafbf7c4ceef"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060extract_files\u0060 is public, takes a document from its caller (line 41) and hands it to \u0060_extract_items\u0060, which calls itself at line 130 (\u0060_extract_items\u0060) with a piece of \u0060obj\u0060 (and at line 143) \u2014 and nowhere in \u0060_extract_items\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 \u0060_extract_items\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_utils/_utils.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ca900b24789ed874487f230e82e15ad085b410af0191296767232a9ef43e1d"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060json_safe\u0060 is public and takes \u0060data: object\u0060 from its caller, and it calls itself at line 429 (\u0060json_safe\u0060) with a piece of \u0060data\u0060 (and at line 432) \u2014 and nowhere in \u0060json_safe\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 \u0060json_safe\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_utils/_utils.py"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb97364b1b6c8dd2f0ed48d3ddd3ff294e129b965ce5c9113d0347218d0f193"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffbd4857b3977708d9190affaefda17da44a02f6df83b70a2232792ba721466"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060__del__()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"db945a028a8ae56d25faadd37d08d77b26695cb2ec7d6398af4b22b940e67ebc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060__del__()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"4745112273bddd4724b8ae8353c25cbb1a7482beb0c2695e086715d86b82dfbb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except 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":"src/openai/_base_client.py"},"region":{"startLine":2257}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d0d92897612e6d7c29cfc7808797efc906d34db9502e30117f3572c3809343"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except 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":"src/openai/_base_client.py"},"region":{"startLine":2331}}}],"partialFingerprints":{"codehealthFindingId/v1":"2249e5c8d65b9586082b6caf34e2d8aedcb3e4e834a585f1e311730c70144829"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except 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":"src/openai/_base_client.py"},"region":{"startLine":2338}}}],"partialFingerprints":{"codehealthFindingId/v1":"91750a0905608aeece9e63daed7dca61fc0f3fa5f5468f6eac51dae341502262"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except 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":"src/openai/_base_client.py"},"region":{"startLine":2345}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5235c2365523291a239f6c0a009c00218d52dc8b32f6712404016b207361fdf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_models.py"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5377a847124179781ddd8887b9e6fd0d4a8911ac7c14244fd3ea830ab527564"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except 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":"src/openai/_models.py"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2b1cf328ad0b948d1dfeb274f7a0492b1c0bd795b5b76ebe91c246861e0081"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except 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":"src/openai/_models.py"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3672fcbcb67bcbc44ef0f39b4eb8c35dedb7a73d2e9051387c86473f9d57b5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except 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":"src/openai/_models.py"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"374f47a6f187ccfbb70cb30d1a1693becdefe626c18c39a6188d2fb4f46b3416"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except 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":"src/openai/_websocket_connection.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"9676398cac8c32fc45e487f9f58f38992fb0824ab960249fb185fd2b59cfcc67"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except 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":"src/openai/_websocket_connection.py"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d89183329bba7ae5fd16b2621cb4486c7d56054d440cf9c94caf533273e4b64"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_websocket_connection.py"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf0aacf8913ef4fe722266d1d87f4226024a6ff86fc4eefcd55154515afd5eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":2168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c841b241767aaeaff03b539c014462ce7242b63b709300105f40ee67944417"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d37b627ec146dbbdbf043822b3cd8df343497db38769f8e13264cfe2603a466"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":2180}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ca9c62a06b965812769d4a05248cf21612fb13fd41b387d8a6785d8b84c05b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":2647}}}],"partialFingerprints":{"codehealthFindingId/v1":"b455fbab8d39868a6065e07e50dfd0910d12abd590fcceb7ff0703fbf55d9f98"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":2653}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c90ef2f735f44169f053f222753e6c667dbc6e266542d8dac5a26917207e8f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/responses_tool_runner.py"},"region":{"startLine":2659}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e86883e7818fb775a2411be4bd0bd1dac81cc48fcdc15ebde451a988e0a391"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/lib/tool_diagnostics.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f551d67ca2f59287957adb1046c46433da54bfb8fda5da4161fd8a892c71312"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except 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":"src/openai/_utils/_utils.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8f67a6fc4ad3e65186929e59dbe8e41b908538c56c05ef2bfc0631007cbb2f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060get_platform\u0060 swallows every exception into \u0060return \u0027Unknown\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":2257}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8283b9bddfee924667b3ce4d03347d8d468535cf91e6523db1a63daaa01303"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060get_python_runtime\u0060 swallows every exception into \u0060return \u0027unknown\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":2331}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadfac862f4511d97fe8f6890e95c8f900180310914641df48fa04d5998d8725"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060get_python_version\u0060 swallows every exception into \u0060return \u0027unknown\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":2338}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3deaa9f8c7c916aec13bccad661e2442a2acb126706914360967ab1f4c2d728"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060get_architecture\u0060 swallows every exception into \u0060return \u0027unknown\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_base_client.py"},"region":{"startLine":2345}}}],"partialFingerprints":{"codehealthFindingId/v1":"8810e86d74adca95f4ae68809b529ffeba287f498b74804771534242b07044a8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060get_async_library\u0060 swallows every exception into \u0060return \u0027false\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/openai/_utils/_utils.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be7565761e2dbedc8083305a20eed55cce5a9d7901c2b3b586b2187516cea04"}}],"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-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":232,"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."]}]}