{"$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":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"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":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"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":"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":"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":"requests.build_request (cyclomatic 79): requests.build_request has cyclomatic complexity 79 (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":"dspy/clients/requests.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d3221da16baaac9852d4723f30ecd0ee08ee80559053cd7f6e1622ecd272de"}},{"ruleId":"D1","level":"warning","message":{"text":"GRPO.compile (cyclomatic 57): GRPO.compile has cyclomatic complexity 57 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b07845a4959edbf68d9f58119e91ff3ae5ee4ee64ec9cc7119ef61c4436936b"}},{"ruleId":"D1","level":"warning","message":{"text":"backend_selection.select_backend (cyclomatic 48): backend_selection.select_backend has cyclomatic complexity 48 (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":"dspy/clients/backend_selection.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf68c46d502b3427198b2f28650f7793a125ceb2444731112293d8bbd5d96cc"}},{"ruleId":"D1","level":"warning","message":{"text":"_ChatStream.feed (cyclomatic 42): _ChatStream.feed has cyclomatic complexity 42 (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":"dspy/clients/engines/litellm_engine.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"042c5c25afa1af815622d662ff2710e330baef48af43f102a7975fd61ad73806"}},{"ruleId":"D1","level":"warning","message":{"text":"capabilities._capabilities (cyclomatic 39): capabilities._capabilities 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":"dspy/clients/capabilities.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b2b2a4b796be80665e189268e2a3f7d4a978a682df059cbc597776370a5bcf"}},{"ruleId":"D1","level":"warning","message":{"text":"XMLAdapter._elements_to_value (cyclomatic 37): XMLAdapter._elements_to_value 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":"dspy/adapters/xml_adapter.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d70d35813bf45cc63c272693444df0812a232e668d41d649dae98708ad8166b"}},{"ruleId":"D1","level":"warning","message":{"text":"costs._estimate_cost (cyclomatic 35): costs._estimate_cost has cyclomatic complexity 35 (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":"dspy/clients/costs.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4345a6e7d8134b5b91341dcefa4720806f0fc8e9e8e1693aba6c31dc8cb5348b"}},{"ruleId":"D1","level":"warning","message":{"text":"DspyAdapter.make_reflective_dataset (cyclomatic 35): DspyAdapter.make_reflective_dataset 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":"dspy/teleprompt/gepa/gepa_utils.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ffcc0f48924cb6394b0466856a2e54cb8f8016cf494474b054c095e5d52008"}},{"ruleId":"D1","level":"warning","message":{"text":"_XMLParser._children (cyclomatic 31): _XMLParser._children 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":"dspy/adapters/xml_adapter.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"a448e84d3760bfa5c880786a45466130e9ec1b99db8fff62caef17082cf3fb93"}},{"ruleId":"D1","level":"warning","message":{"text":"_XMLScalarParser.read (cyclomatic 31): _XMLScalarParser.read 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":"dspy/adapters/xml_adapter.py"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"30adccbad745c5ebdd6c4995003c4d819c7fd6742ab709635471ac1e147468fc"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamListener.receive (cyclomatic 30): StreamListener.receive 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":"dspy/streaming/streaming_listener.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f83c81b07c89fcb0017f42e27011aab518418945d38f8b80c5c47fce27495a"}},{"ruleId":"D1","level":"warning","message":{"text":"Embedder._preprocess (cyclomatic 28): Embedder._preprocess has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/embedding.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8072ce4606070c01410da0cb4b4a6e4a7269a212f146d7de14bf05f0fbe6300c"}},{"ruleId":"D1","level":"warning","message":{"text":"Predict._forward_preprocess (cyclomatic 28): Predict._forward_preprocess has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/predict/predict.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1b81911506442501e8d7f1947f32a14f09dbe6ef2b0773e47ba8a1ebace6fc"}},{"ruleId":"D1","level":"warning","message":{"text":"signature._parse_type_node (cyclomatic 28): signature._parse_type_node has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/signatures/signature.py"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19c49462229d74f5ff3c264842106d2eb3d5266996eced5c9a0c38ed1808799"}},{"ruleId":"D1","level":"warning","message":{"text":"SIMBA.compile (cyclomatic 28): SIMBA.compile has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/simba.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7ceb15cb3721f198ea5e9b9cbd053c713a88ab6851847244ef7134ab07f176"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_errors.to_lm15_error (cyclomatic 27): litellm_errors.to_lm15_error 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":"dspy/clients/engines/litellm_errors.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"094557f85481e18fd52707ece3263c3da21ae5049c04c4b9db98d9f7665e4ff7"}},{"ruleId":"D1","level":"warning","message":{"text":"Adapter._call_postprocess (cyclomatic 26): Adapter._call_postprocess 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":"dspy/adapters/base.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f542637621c21f4c45a3dffb99e41bfdfc5c7dcd0ad5ca13fc4dc4c4eb8c1e"}},{"ruleId":"D1","level":"warning","message":{"text":"COPRO.compile (cyclomatic 25): COPRO.compile 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":"dspy/teleprompt/copro_optimizer.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a0f62c9fb55327c77997058c40d0a9d09612bfc0d84875fc045202e64c45cd"}},{"ruleId":"D1","level":"warning","message":{"text":"History.format (cyclomatic 24): History.format 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":"dspy/adapters/types/history.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"400d00135ab421d8d14b7b9aac638ddf46885200ffb6a9e9eca69dca54e86356"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionState.__init__ (cyclomatic 23): DecisionState.__init__ 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":"dspy/adapters/decision_state.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5052cb25db23402b65eb52d5dcd9b399298f12240bf07d9f296516cb292b74"}},{"ruleId":"D1","level":"warning","message":{"text":"lm15_boundary.response_value (cyclomatic 23): lm15_boundary.response_value has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/lm15_boundary.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8167a5d79d124a0ee4d4481792bd10099b19a2a1b0018abb97f2618f1c9015"}},{"ruleId":"D1","level":"warning","message":{"text":"predict._check_type (cyclomatic 23): predict._check_type 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":"dspy/predict/predict.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e61339ffe662785264e10c26c33f03c1f65487834877ec5a19f32042984481a"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalInterpreter.execute (cyclomatic 23): LocalInterpreter.execute has cyclomatic complexity 23 (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":"dspy/primitives/local_interpreter.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"7354efa099ce4920aff3f435a21945d1dfdb39193e1f94ac1a6df98fcee08efe"}},{"ruleId":"D1","level":"warning","message":{"text":"PythonInterpreter.__init__ (cyclomatic 23): PythonInterpreter.__init__ 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":"dspy/primitives/python_interpreter.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa31c9cafc2b703ba6addc1119be657b21b5f70f3cf161e6960ddc15b459950"}},{"ruleId":"D1","level":"warning","message":{"text":"MIPROv2.compile (cyclomatic 23): MIPROv2.compile has cyclomatic complexity 23 (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":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fe1940ec7aea5e76df722f75ccd8bb5583b692df6c53b71ac3fdd7ab1e1fac"}},{"ruleId":"D1","level":"warning","message":{"text":"execution._select_engine (cyclomatic 21): execution._select_engine 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":"dspy/clients/execution.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea22defd82ccbd892138216836e0ee48e277006bd7001c69f770b124067f77f"}},{"ruleId":"D1","level":"warning","message":{"text":"PythonInterpreter.execute (cyclomatic 21): PythonInterpreter.execute 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":"dspy/primitives/python_interpreter.py"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05ae5b6552ad46a40789a3ed9be9b04aa64687ec985623795463efc87d120f8"}},{"ruleId":"D1","level":"warning","message":{"text":"Wire.encode (cyclomatic 21): Wire.encode has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/primitives/sandbox_guest.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a987c837ac4c3000f5b1779fc57850a4a4a36cb3618b7a10dda4e600e0e80f6"}},{"ruleId":"D1","level":"warning","message":{"text":"SignatureMeta.__new__ (cyclomatic 21): SignatureMeta.__new__ 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":"dspy/signatures/signature.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"08eedc12ac7688fe69626ef41d430647c5894c243685f2e85208d31581b195a3"}},{"ruleId":"D1","level":"warning","message":{"text":"baml_adapter._build_simplified_schema (cyclomatic 20): baml_adapter._build_simplified_schema 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":"dspy/adapters/baml_adapter.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb2e0e0e82a4f665eb97a6ca9981726691a7aacbb369c7be0b2d5831c75e973"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.parse_value (cyclomatic 20): utils.parse_value 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":"dspy/adapters/utils.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ad26ec59a0901244a634607537dcc8c3536da0a5b9396763540c6e24751aa8"}},{"ruleId":"D1","level":"warning","message":{"text":"LM.__init__ (cyclomatic 20): LM.__init__ has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/lm.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e5e572b09eb3a2b42d5bb43c26dd946ef6c121580a24571f30b77784efe5bf"}},{"ruleId":"D1","level":"warning","message":{"text":"requests.close_object_schemas (cyclomatic 20): requests.close_object_schemas 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":"dspy/clients/requests.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8bf88346f5a8d9a39d93f720f5a62f46e97bfef522b0d5e8608e7eef150c8d8"}},{"ruleId":"D1","level":"warning","message":{"text":"Evaluate.__call__ (cyclomatic 20): Evaluate.__call__ has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/evaluate/evaluate.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d248d94cdc4784268fff19f9a31d7cff7d75c0cef4fde343f753ea52a2e3f38b"}},{"ruleId":"D1","level":"warning","message":{"text":"Adapter._call_preprocess (cyclomatic 19): Adapter._call_preprocess 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":"dspy/adapters/base.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"441ccf9018219522b6c9ee4a574fd5b9d1682711dfca1cf950b23b28f52110d6"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionAdapter._prepare (cyclomatic 19): DecisionAdapter._prepare 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":"dspy/adapters/decision.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34732d47cfd7948501c0b89e1ce0a7301faf56fca30a4a0f8aafdd528da6ca8"}},{"ruleId":"D1","level":"warning","message":{"text":"_SDKChatLM._build_messages (cyclomatic 19): _SDKChatLM._build_messages 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":"dspy/clients/lm15_boundary.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bd61c11d2974768942e5d5d15e3c0f6809af41509bf384468b979b60a535e5"}},{"ruleId":"D1","level":"warning","message":{"text":"lm15.register_provider (cyclomatic 19): lm15.register_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":"dspy/lm15.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"280d8b255aba3a59e03e52e4281fbef582742bf3829a56478859dee8b6096a65"}},{"ruleId":"D1","level":"warning","message":{"text":"Wire.decode (cyclomatic 19): Wire.decode 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":"dspy/primitives/sandbox_guest.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba06fc2ceadc7747a56d74b0cf5360a58396a6cc230528dfd02556ce23130681"}},{"ruleId":"D1","level":"warning","message":{"text":"SignatureMeta._detect_custom_types_from_caller (cyclomatic 19): SignatureMeta._detect_custom_types_from_caller 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":"dspy/signatures/signature.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84839b1dcb02d8921f4254fe3a7c6d59abbc9a0b93a7a27fd02f259d7af2ed3"}},{"ruleId":"D1","level":"warning","message":{"text":"execution.prepare (cyclomatic 18): execution.prepare 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":"dspy/clients/execution.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b586701758e74eac16be0be3920ca22d45683cdc930d4543773160bcab7f1db"}},{"ruleId":"D1","level":"warning","message":{"text":"ctx._render_type_node (cyclomatic 18): ctx._render_type_node 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":"dspy/predict/flex/ctx.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3018c637fde425beeecff5207fcb3c986955ea52782324027418651fad32fb44"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamListener._xml_adapter_handle_stream_chunk (cyclomatic 18): StreamListener._xml_adapter_handle_stream_chunk 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":"dspy/streaming/streaming_listener.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69803761dff77f9b0b05a59e7eb23129adb62d320398433c0287e1262866ea2"}},{"ruleId":"D1","level":"warning","message":{"text":"GRPO.report_validation_metrics (cyclomatic 18): GRPO.report_validation_metrics 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":"dspy/teleprompt/grpo.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"658bb00e24594caca19fa5957a20266ec16bae88620ed176cdaab5b5d466407f"}},{"ruleId":"D1","level":"warning","message":{"text":"ParallelExecutor._execute_parallel (cyclomatic 18): ParallelExecutor._execute_parallel 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":"dspy/utils/parallelizer.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"18564dcd7b8f9c5168ad9ac5c8aea6acf0cb7ab22c41dd26f56de8c9689d219b"}},{"ruleId":"D1","level":"warning","message":{"text":"baml_adapter._render_type_str (cyclomatic 17): baml_adapter._render_type_str 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":"dspy/adapters/baml_adapter.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f108bc551614a866eb50b527af2e7bcbd10a9e91c18ccbe924b36e6adabacd78"}},{"ruleId":"D1","level":"warning","message":{"text":"tool._json_schema_instance (cyclomatic 17): tool._json_schema_instance 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":"dspy/adapters/types/tool.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c54ebf6fec99532917f530dac5fe4f6cbf0337b2aa12f7b74b04b29bf5071ad"}},{"ruleId":"D1","level":"warning","message":{"text":"dataset_summary_generator.create_dataset_summary (cyclomatic 17): dataset_summary_generator.create_dataset_summary 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":"dspy/propose/dataset_summary_generator.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a478380624a5b3fe047dceacfffd4e2e305090c8809a906e944893007cb77f0d"}},{"ruleId":"D1","level":"warning","message":{"text":"BootstrapFewShot._bootstrap_one_example (cyclomatic 17): BootstrapFewShot._bootstrap_one_example 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":"dspy/teleprompt/bootstrap.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"6808731429437d9e6b6fcabf635295f98d102a484e629492542e92d734d32e8f"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionState._validate_parameters (cyclomatic 16): DecisionState._validate_parameters 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":"dspy/adapters/decision_state.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce45a9c7d0d3ede7ca92e6710de4554302aca1f78757b4b516f0975e8883bd3"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionState._validate_question_config (cyclomatic 16): DecisionState._validate_question_config 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":"dspy/adapters/decision_state.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae89df15c38c6cdaea803f4bc58b6a5847f69789cf0b32650795886f64810dd3"}},{"ruleId":"D1","level":"warning","message":{"text":"Tool._parse_function (cyclomatic 16): Tool._parse_function 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":"dspy/adapters/types/tool.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f502f5c49257c799bbbfaa03e31f6f51045aea37d15f86c1a50661720c1bce6"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox_bundle._files (cyclomatic 16): sandbox_bundle._files 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":"dspy/primitives/sandbox_bundle.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff966b6c033aad190c0bdb823aba09b294af0a056be381dd15e7b44d38e2eb28"}},{"ruleId":"D2","level":"warning","message":{"text":"GRPO.compile (cognitive 155): GRPO.compile has cognitive complexity 155 (threshold 15). Drivers by points: if/else 25 (73 pts), loops 23 (59 pts), ternaries 6 (19 pts), boolean chains 4 (nesting depth added 97). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"37772d3d5d51230817995c495fdbbaabc703582f4e57ce2dceb77f46580aa3be"}},{"ruleId":"D2","level":"warning","message":{"text":"DspyAdapter.make_reflective_dataset (cognitive 105): DspyAdapter.make_reflective_dataset has cognitive complexity 105 (threshold 15). Drivers by points: if/else 24 (71 pts), loops 8 (22 pts), ternaries 2 (9 pts), boolean chains 3 (nesting depth added 68). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/gepa/gepa_utils.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc7677b75c05c26bd7ba7064d1905bbeb691e7c1acb072578e032b0d22f4c61"}},{"ruleId":"D2","level":"warning","message":{"text":"requests.build_request (cognitive 101): requests.build_request has cognitive complexity 101 (threshold 15). Drivers by points: if/else 35 (54 pts), boolean chains 30, error handling 4 (8 pts), ternaries 5 (8 pts), loops 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":"dspy/clients/requests.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0046c7050efd6b4779355044ec24e33324813c75d2b138ea5da961f7f2c0bfaa"}},{"ruleId":"D2","level":"warning","message":{"text":"backend_selection.select_backend (cognitive 75): backend_selection.select_backend has cognitive complexity 75 (threshold 15). Drivers by points: if/else 26 (48 pts), boolean chains 18, ternaries 2 (5 pts), error handling 2 (4 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/backend_selection.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcbf0707147bb52493968884221973cc8f7cc6b83ea9b2b59cbdbc0a4b77b43"}},{"ruleId":"D2","level":"warning","message":{"text":"Adapter._call_postprocess (cognitive 66): Adapter._call_postprocess has cognitive complexity 66 (threshold 15). Drivers by points: if/else 11 (38 pts), loops 5 (12 pts), error handling 2 (6 pts), boolean chains 5, ternaries 2 (5 pts) (nesting depth added 41). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/base.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"52afbd867f13b4d95efaf5813a5c2a8e4d23809714119ecedf4a34662e62b5f1"}},{"ruleId":"D2","level":"warning","message":{"text":"_XMLParser._children (cognitive 65): _XMLParser._children has cognitive complexity 65 (threshold 15). Drivers by points: if/else 11 (30 pts), ternaries 6 (16 pts), boolean chains 11, loops 3 (8 pts) (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/xml_adapter.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"894f036bf5e03edce148dd518575ec972a0b5707c6e8721ef96a0ec8ee3c9df1"}},{"ruleId":"D2","level":"warning","message":{"text":"_ChatStream.feed (cognitive 64): _ChatStream.feed has cognitive complexity 64 (threshold 15). Drivers by points: if/else 14 (29 pts), boolean chains 19, ternaries 3 (10 pts), loops 5 (6 pts) (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":"dspy/clients/engines/litellm_engine.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a660c657afea5a5af930081cdf2383cb3565b37619fd000c13c11a52ae2b8719"}},{"ruleId":"D2","level":"warning","message":{"text":"COPRO.compile (cognitive 64): COPRO.compile has cognitive complexity 64 (threshold 15). Drivers by points: if/else 16 (43 pts), loops 9 (20 pts), boolean chains 1 (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/copro_optimizer.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa148fbce0bcb59306d3d1e106ca53adcb2c6625b4b9ea45091a4aae737ccf6"}},{"ruleId":"D2","level":"warning","message":{"text":"SIMBA.compile (cognitive 62): SIMBA.compile has cognitive complexity 62 (threshold 15). Drivers by points: loops 11 (25 pts), if/else 8 (18 pts), ternaries 8 (16 pts), error handling 1 (3 pts) (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/simba.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f826988348bfaa7d51f17dd15c5567aa9a23bfe3a8a5658d924784711ae215"}},{"ruleId":"D2","level":"warning","message":{"text":"capabilities._capabilities (cognitive 58): capabilities._capabilities has cognitive complexity 58 (threshold 15). Drivers by points: if/else 25 (38 pts), boolean chains 11, ternaries 6 (9 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/capabilities.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f1f96a411397d3d802fa59f5f52e756bbad101e1f0e62eb707fabeec3e042e"}},{"ruleId":"D2","level":"warning","message":{"text":"XMLAdapter._elements_to_value (cognitive 56): XMLAdapter._elements_to_value has cognitive complexity 56 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 15, ternaries 4 (11 pts), error handling 1 (3 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/xml_adapter.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2671ee6cf42fa867a187d84442dceddad95fb9638a8c907ee373f8c3be9dbe"}},{"ruleId":"D2","level":"warning","message":{"text":"History.format (cognitive 52): History.format has cognitive complexity 52 (threshold 15). Drivers by points: if/else 12 (33 pts), ternaries 3 (9 pts), boolean chains 6, loops 2 (4 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":"dspy/adapters/types/history.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4211819702b20eaced63997b9377aa4f3f0e02ebaaa1adaebf21bf5d6efd9c70"}},{"ruleId":"D2","level":"warning","message":{"text":"_XMLScalarParser.read (cognitive 49): _XMLScalarParser.read has cognitive complexity 49 (threshold 15). Drivers by points: if/else 20 (34 pts), boolean chains 10, ternaries 2 (4 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":"dspy/adapters/xml_adapter.py"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a8bea4c627f8440c88d5463b21dc24c10f7e94c7460e8ec2f6f552f04b6150"}},{"ruleId":"D2","level":"warning","message":{"text":"Embedder._preprocess (cognitive 48): Embedder._preprocess has cognitive complexity 48 (threshold 15). Drivers by points: if/else 14 (27 pts), boolean chains 9, loops 3 (6 pts), ternaries 3 (6 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":"dspy/clients/embedding.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bcfb5a52784ca2fba0d06031f22c9f41772c9b787fada36d434bc69163b6e3"}},{"ruleId":"D2","level":"warning","message":{"text":"_SDKChatLM._build_messages (cognitive 48): _SDKChatLM._build_messages has cognitive complexity 48 (threshold 15). Drivers by points: if/else 7 (24 pts), ternaries 5 (16 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/lm15_boundary.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b87d5f4b363d244db39eb148e9bac2e85843703c2135929f32f7f8743bf40d"}},{"ruleId":"D2","level":"warning","message":{"text":"signature._parse_type_node (cognitive 45): signature._parse_type_node has cognitive complexity 45 (threshold 15). Drivers by points: if/else 25 (40 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/signatures/signature.py"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e999ea9c27faaac4126c9ec27e47953d43f3941a80f928087253e38c24e7f5"}},{"ruleId":"D2","level":"warning","message":{"text":"PythonInterpreter.execute (cognitive 43): PythonInterpreter.execute has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (38 pts), boolean chains 3, loops 2 (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":"dspy/primitives/python_interpreter.py"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bf1fb8370cfbddc1228a1ca73a7c712226b56fdbfb610eab7f1a0613249236"}},{"ruleId":"D2","level":"warning","message":{"text":"GRPO.report_validation_metrics (cognitive 42): GRPO.report_validation_metrics has cognitive complexity 42 (threshold 15). Drivers by points: if/else 22 (39 pts), boolean chains 3 (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":"dspy/teleprompt/grpo.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6b881ef8980b0ae7920f12bbe1488cd3fe300b56aa9d43c00956add093dfd7"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamListener.receive (cognitive 40): StreamListener.receive has cognitive complexity 40 (threshold 15). Drivers by points: if/else 20 (30 pts), boolean chains 9, error handling 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":"dspy/streaming/streaming_listener.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d683486d9263cd37ab2687b0f9eb315706a4e1784b093e6335527332c01ded7"}},{"ruleId":"D2","level":"warning","message":{"text":"Predict._forward_preprocess (cognitive 38): Predict._forward_preprocess has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 9, loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/predict/predict.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b6e37ba1893985df8d5de9bb59649047786bcc15b5d2282ae3c8b8725a0a3d"}},{"ruleId":"D2","level":"warning","message":{"text":"baml_adapter._build_simplified_schema (cognitive 37): baml_adapter._build_simplified_schema has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 3 (7 pts), boolean chains 4 (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":"dspy/adapters/baml_adapter.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62ee612872f1a6a4e3237ead60f7c3c473be2a4a0a46849c6cb67c41aaa70a2"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionAdapter._prepare (cognitive 37): DecisionAdapter._prepare has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (25 pts), ternaries 2 (6 pts), loops 3 (5 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":"dspy/adapters/decision.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"864b4e29c9f39512c3e81e26782097c908606c03efab4681be6ec9b17906d246"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionState.__init__ (cognitive 36): DecisionState.__init__ has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 7, ternaries 2 (6 pts), loops 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/decision_state.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa3637113fcd6eb4232ccc0ebf73e7332ee002968b238f0600caf317ffc6d5a"}},{"ruleId":"D2","level":"warning","message":{"text":"SignatureMeta.__new__ (cognitive 36): SignatureMeta.__new__ has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (29 pts), loops 3 (4 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/signatures/signature.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"af800b2db36829838d1df6f869967676f8129076db340f429097ccd325c148cc"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamListener._xml_adapter_handle_stream_chunk (cognitive 36): StreamListener._xml_adapter_handle_stream_chunk has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (25 pts), ternaries 3 (6 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/streaming/streaming_listener.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3a371faf9776355fdd9d489d6923ceb31fe287dd38b356bec0c9d93cbfdf6d"}},{"ruleId":"D2","level":"warning","message":{"text":"costs._estimate_cost (cognitive 34): costs._estimate_cost has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 17, if/else 14, ternaries 3. 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":"dspy/clients/costs.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"64dad1d60a923f54f8aaba6aaac0a643e24a73221485d1bbbfba913908fce6d1"}},{"ruleId":"D2","level":"warning","message":{"text":"predict._check_type (cognitive 34): predict._check_type has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (30 pts), boolean chains 4 (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":"dspy/predict/predict.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed89a1e3e84468632287c1a5a1c7d24ab2f10b7babf4aac6f830c6d4be3271c9"}},{"ruleId":"D2","level":"warning","message":{"text":"PythonInterpreter.__init__ (cognitive 34): PythonInterpreter.__init__ has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (19 pts), ternaries 5 (8 pts), boolean chains 6, 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":"dspy/primitives/python_interpreter.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9e1f13b553ffa3a7775a2c06fcee58d0aa8e38a7c751f0447d5fa3bcda5b63"}},{"ruleId":"D2","level":"warning","message":{"text":"ParallelExecutor._execute_parallel (cognitive 34): ParallelExecutor._execute_parallel has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 4 (7 pts), boolean chains 4, error handling 1 (3 pts), ternaries 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/utils/parallelizer.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97695964ee22e868885f105996b4b6604f3e0189b6e7430cd9a1937b7938f2f"}},{"ruleId":"D2","level":"warning","message":{"text":"Adapter._call_preprocess (cognitive 33): Adapter._call_preprocess has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 4 (7 pts), ternaries 2 (6 pts), boolean chains 4 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/base.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bce95f20527896e6a01892344b595523933e669a12f21569f616bb1028acfda"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionAdapter._decode (cognitive 32): DecisionAdapter._decode has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 3 (6 pts), error handling 1 (5 pts), boolean chains 3 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/decision.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"459ca387bdd9d250c1b7f76f701b88458c1058082f8f7f89159d64f551f8085e"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.get_dspy_source_code (cognitive 32): utils.get_dspy_source_code has cognitive complexity 32 (threshold 15). Drivers by points: if/else 5 (15 pts), error handling 4 (12 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/propose/utils.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b73551e98dcb9bbbeff597fd7ee27ecb7a967bef308f996651f05847d65db6"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.parse_value (cognitive 31): utils.parse_value has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (21 pts), error handling 3 (6 pts), boolean chains 4 (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":"dspy/adapters/utils.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be4ad7f590fe00ad88e9ad84060f8378f3c42e0679aed4caf60d3ba8a985a11"}},{"ruleId":"D2","level":"warning","message":{"text":"execution._select_engine (cognitive 31): execution._select_engine has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 8 (14 pts), if/else 8 (12 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/execution.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f556837993db0b4d1b2c78f2862c9e2efbb079a8506fc25327ecf3b210dec29d"}},{"ruleId":"D2","level":"warning","message":{"text":"BootstrapFewShot._bootstrap_one_example (cognitive 31): BootstrapFewShot._bootstrap_one_example has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 4 (8 pts), loops 4 (6 pts), error handling 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":"dspy/teleprompt/bootstrap.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"23453b1d63b3de455ab5f56c193fdaf699651a158dda61528e43ad33f8767635"}},{"ruleId":"D2","level":"warning","message":{"text":"lm15_boundary.response_value (cognitive 30): lm15_boundary.response_value has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 11, if/else 7 (10 pts), loops 3 (6 pts), ternaries 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/lm15_boundary.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a37ba2aae1c29d6ed78b95431bb3cf7585803af0cb77840093e997f46936752"}},{"ruleId":"D2","level":"warning","message":{"text":"tool._json_schema_instance (cognitive 29): tool._json_schema_instance has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 3 (9 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/types/tool.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"572f84281f339e23900f8e4ed6bb19c817f57e69169561075c48cd1a8ff8e176"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_errors.to_lm15_error (cognitive 28): litellm_errors.to_lm15_error has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 11, ternaries 3, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/engines/litellm_errors.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f052ac68a2322ffc01efeab626175f57efb6c72917f63d47735fdb541cdd02"}},{"ruleId":"D2","level":"warning","message":{"text":"base._place_tool_result_media (cognitive 26): base._place_tool_result_media has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 6 (11 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/base.py"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"247395c667501908c7c4e1ec700d814ffcaec7f69e79f9f4025f5c09ede4b097"}},{"ruleId":"D2","level":"warning","message":{"text":"Evaluate.__call__ (cognitive 26): Evaluate.__call__ has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 12 (16 pts), if/else 7 (8 pts), loops 1 (2 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/evaluate/evaluate.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f173e9a5aada9ea101803655484b765e2e80f81a889bfaacbc072856a0c87544"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionState._validate_parameters (cognitive 25): DecisionState._validate_parameters has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 6, ternaries 2 (4 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/decision_state.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f5cd2f05589db7c69039737b10f75bf33a73a3b0ba730416a7f043f8cc3870"}},{"ruleId":"D2","level":"warning","message":{"text":"requests.close_object_schemas (cognitive 25): requests.close_object_schemas has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 4, loops 3, 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":"dspy/clients/requests.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50cd0bbb6e945f72e6f35b41d207f282c4b6b0c7258494cb11be7799c2e8e76"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalInterpreter.execute (cognitive 25): LocalInterpreter.execute has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11, ternaries 5 (7 pts), error handling 2 (3 pts), boolean chains 2, loops 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/primitives/local_interpreter.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe00b3d7d2ad0abc09f6bf664ec4da7dbf9015827b1547c7cad858b0e736e1c"}},{"ruleId":"D2","level":"warning","message":{"text":"Wire.encode (cognitive 25): Wire.encode has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (18 pts), ternaries 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/primitives/sandbox_guest.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"999d3951bfb34b9e74e4957a4e526232756bfcb0c1f8e562241ba19bcd792134"}},{"ruleId":"D2","level":"warning","message":{"text":"SignatureMeta._detect_custom_types_from_caller (cognitive 25): SignatureMeta._detect_custom_types_from_caller has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 5, loops 3 (4 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/signatures/signature.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b729fa36fb7b6ef252ae05fc5129bba7208bdab7859bdc909c04a6325d5814b"}},{"ruleId":"D2","level":"warning","message":{"text":"_SkillLoader._parse_frontmatter (cognitive 25): _SkillLoader._parse_frontmatter has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (4 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/gepa/instruction_proposal.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c80faf64397cef2f47d4b36766938cf2f6e3d9e71188034aa24568d4546f67"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionState._validate_question_config (cognitive 24): DecisionState._validate_question_config has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5, error handling 1 (3 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/decision_state.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44905debf107e90f3ae3c9fc83b5a5c479ab2cd1368e241ea8677cb6bf8f13e"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_bundle._files (cognitive 24): sandbox_bundle._files has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 2 (5 pts), boolean chains 4, 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":"dspy/primitives/sandbox_bundle.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7deb3d7cd022f1e0e1fcf799b4fd9b05bde5e499d17e7fc4c4a80a477a26ac5"}},{"ruleId":"D2","level":"warning","message":{"text":"dataset_summary_generator.create_dataset_summary (cognitive 24): dataset_summary_generator.create_dataset_summary has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 1, error handling 1, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/propose/dataset_summary_generator.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10809a479333c5309df0bd4645becd3bf02e60e7452ef80bc63cfd013cd40ae"}},{"ruleId":"D2","level":"warning","message":{"text":"GroundedProposer.propose_instructions_for_program (cognitive 24): GroundedProposer.propose_instructions_for_program has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/propose/grounded_proposer.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5a0dc9406ccd0214f04b6259c7df6727daec5cbcd28e78253c9470e0f14144"}},{"ruleId":"D2","level":"warning","message":{"text":"lm15_boundary._raw_tool_arguments (cognitive 23): lm15_boundary._raw_tool_arguments has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 6, loops 3 (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":"dspy/clients/lm15_boundary.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"50910fa98b6e90e6690c8dec1ee67fd119a92f54a35e22d955dd55ceb7965ca0"}},{"ruleId":"D2","level":"warning","message":{"text":"ctx._render_type_node (cognitive 23): ctx._render_type_node has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5, ternaries 3 (4 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/predict/flex/ctx.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b583b3b1166075184ab52006215b178b82e9d16cedcfe2c29f68bac3dfbf2f"}},{"ruleId":"D2","level":"warning","message":{"text":"Unbatchify._worker (cognitive 23): Unbatchify._worker has cognitive complexity 23 (threshold 15). Drivers by points: loops 5 (11 pts), error handling 3 (8 pts), if/else 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/utils/unbatchify.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d0fd0eb04426ca36cb511671b5066e4310d6cc61b38feec9bba5c126a7f288"}},{"ruleId":"D2","level":"warning","message":{"text":"Tool._validate_and_parse_args (cognitive 22): Tool._validate_and_parse_args has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, error handling 1 (2 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/types/tool.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34bc0c8a226e49134d857f5c2bf832868e585fa63d0951347025770eb508bed"}},{"ruleId":"D2","level":"warning","message":{"text":"Wire.decode (cognitive 22): Wire.decode has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (16 pts), error handling 1 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/primitives/sandbox_guest.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eecc47dd5535faaf7499a41f5a6abd5f4d5d2a98c1dd9c94457d8bab475bd42"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCalls.validate_input (cognitive 21): ToolCalls.validate_input has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 11). 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":"dspy/adapters/types/tool.py"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f8e427af63e371ab282e9af3d85f11023c63dbedf329c6bf7c2be711555692"}},{"ruleId":"D2","level":"warning","message":{"text":"execution.prepare (cognitive 21): execution.prepare has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 3, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/execution.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"85692d0c8a5b9300923974f12fcfc2fcbcf758a8455fadf37c208dc568921197"}},{"ruleId":"D2","level":"warning","message":{"text":"LM.__init__ (cognitive 21): LM.__init__ has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 9, ternaries 1 (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":"dspy/clients/lm.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b77d1e7d313863590f6b7a095e34efef1e3146ab355c5e39c333fa94804908"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabricksRM.forward (cognitive 21): DatabricksRM.forward has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10, loops 2 (5 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/retrievers/databricks_rm.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd66bb9b8440f0edd41a3f2ca7ef381e3148d4fd59b7a5a2c4bfef5544274f98"}},{"ruleId":"D2","level":"warning","message":{"text":"MIPROv2.compile (cognitive 21): MIPROv2.compile has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 8, if/else 7, ternaries 6. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"624d469ce49985d903f82d42c13a3a979dbc2f0880653cc3417eb0e1a53ff4d6"}},{"ruleId":"D2","level":"warning","message":{"text":"baml_adapter._render_type_str (cognitive 20): baml_adapter._render_type_str has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 2, error handling 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/baml_adapter.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"05551ceb403e1691876e82d78ede7fda062e8e634327da5b4d74cef79cb2c922"}},{"ruleId":"D2","level":"warning","message":{"text":"Tool._parse_function (cognitive 20): Tool._parse_function has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 7, ternaries 3, loops 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":"dspy/adapters/types/tool.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"8195b21774439b6b2ac837f1767fa7081b5971ed06c0dd3d24317019b8057f12"}},{"ruleId":"D2","level":"warning","message":{"text":"XMLAdapter.parse (cognitive 20): XMLAdapter.parse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 2 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/xml_adapter.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7720153fdc626dfd1478c5a0b2a08f88289c21f548e21362cf9e93531263b4"}},{"ruleId":"D2","level":"warning","message":{"text":"_XMLPrefixParser.feed (cognitive 20): _XMLPrefixParser.feed has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/xml_adapter.py"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dd2a0ad0ce1cc55c183072d79cd1bd8e0bf33988fec744cea1b4dc5bcec9bc"}},{"ruleId":"D2","level":"warning","message":{"text":"lm15.register_provider (cognitive 20): lm15.register_provider has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 8, 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":"dspy/lm15.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d97cb85677a1af2bc272baa1e8708a4486e34f7521286411b8fe569d377fd0"}},{"ruleId":"D2","level":"warning","message":{"text":"Refine.forward (cognitive 20): Refine.forward has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, error handling 1 (2 pts), ternaries 1 (2 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":"dspy/predict/refine.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adb205d45a69bf6e03b1900e6a8639444fb01584649be121cc06e0ca146357b"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect_history.pretty_print_history (cognitive 20): inspect_history.pretty_print_history has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/utils/inspect_history.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"531d7bf66ae1022a6559f2189b52df6f78cd52a4f9e600a6343f6940dcf1b3d3"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_api_docs.build_index_links (cognitive 19): generate_api_docs.build_index_links has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/scripts/generate_api_docs.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"df642782727d5b53bbabaaee072f84fab40cb868637be4cbf41aa139a7ed8b55"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseModule.named_sub_modules (cognitive 19): BaseModule.named_sub_modules has cognitive complexity 19 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 4 (8 pts), boolean chains 1 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/primitives/base_module.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c4e5ea4273ad5451dd110ad88c7fe40e8f410599bfb23ba847885cf0568609"}},{"ruleId":"D2","level":"warning","message":{"text":"calibrate._fit_weights (cognitive 19): calibrate._fit_weights has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/reanchor/calibrate.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea7cbc47509f8f806eac781df525cb243289f2d9a59ea1b33f657ffa1001cd6"}},{"ruleId":"D2","level":"warning","message":{"text":"zensical_build.page_markdown (cognitive 18): zensical_build.page_markdown has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (8 pts), loops 5, if/else 2 (3 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/scripts/zensical_build.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05ab20a2ff5a2457e8723fcbe87092fd0432eb687530388fd02316a1daa78c0"}},{"ruleId":"D2","level":"warning","message":{"text":"Cache.__init__ (cognitive 18): Cache.__init__ has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 1 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/cache.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cc1355b53486e6794375a02210f836dc07b3654e665d38189cc0ae220e0fa7"}},{"ruleId":"D2","level":"warning","message":{"text":"ListenerBridge.chunk (cognitive 18): ListenerBridge.chunk has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/engines/streaming.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb236246a4bc090588dddf965d003ef3ff2359e786d098fda11f763ba3e3ca4f"}},{"ruleId":"D2","level":"warning","message":{"text":"lm15_boundary.repair_tool_arguments (cognitive 18): lm15_boundary.repair_tool_arguments has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, error handling 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/lm15_boundary.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eae38a607c1c8a1430d67ef293d78a9287b9c6b057dfee92c18140bda622a0e"}},{"ruleId":"D2","level":"warning","message":{"text":"HotPotQA.__init__ (cognitive 18): HotPotQA.__init__ has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (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":"dspy/datasets/hotpotqa.py"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fc247146292ee73e294fe20edd61a00044e8397cd828c67fcea79879e4ba37"}},{"ruleId":"D2","level":"warning","message":{"text":"BridgeRuntime._to_prediction (cognitive 18): BridgeRuntime._to_prediction has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 3, error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/predict/flex/bridge.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2ba5f7d46e8a7de3dbaab5f19045912d7d77041a8d01c7c33e81b745c3a467"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerateModuleInstruction.forward (cognitive 18): GenerateModuleInstruction.forward has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 1 (2 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/propose/grounded_proposer.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0ae89440cc039550fd29cda05350fbb6f279c9ef45637aa721231a1ca569dd"}},{"ruleId":"D2","level":"warning","message":{"text":"signature.make_signature (cognitive 18): signature.make_signature has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/signatures/signature.py"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c30580bce042e549a6b0c387cbb756dfed982f17200ff7c54414de52d2ec64"}},{"ruleId":"D2","level":"warning","message":{"text":"BootstrapFinetune.compile (cognitive 18): BootstrapFinetune.compile has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 4 (7 pts), loops 3, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bootstrap_finetune.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"25160f0dd8339541c84a5abad9bc035a9dd3eeae75feda1eb92aad7d5596f8bb"}},{"ruleId":"D2","level":"warning","message":{"text":"BootstrapFewShotWithRandomSearch.compile (cognitive 18): BootstrapFewShotWithRandomSearch.compile has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, 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":"dspy/teleprompt/random_search.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c64842dac1b766d91eb665d27f79382c78135aaf3682bc82357f95e1dd9696"}},{"ruleId":"D2","level":"warning","message":{"text":"zensical_build.generate_llms (cognitive 17): zensical_build.generate_llms has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (11 pts), loops 3 (6 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/scripts/zensical_build.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd3830f8df36831bee04811067fddc489f0099dd38feed828d0092477c696df"}},{"ruleId":"D2","level":"warning","message":{"text":"zensical_build.social_cards (cognitive 17): zensical_build.social_cards has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/scripts/zensical_build.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6d6318c20d234ee36cea4aac7689fca21039f394bdc1b5706379f1f0c1cf7a"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionState._decode (cognitive 17): DecisionState._decode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 2, ternaries 1 (2 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":"dspy/adapters/decision_state.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29c320a22d95acbbd11d0dc2e6e9b99c4399417eb7c84914ba58dd4a853b2a7"}},{"ruleId":"D2","level":"warning","message":{"text":"base_type.parts_from_text (cognitive 17): base_type.parts_from_text has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (6 pts), ternaries 2 (5 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/types/base_type.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5871815b4f244fa282566e7a62f93d4092a7d77a2a4efb00b905f7e45190473"}},{"ruleId":"D2","level":"warning","message":{"text":"lm15_engine.timeouts_for (cognitive 17): lm15_engine.timeouts_for has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, 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":"dspy/clients/engines/lm15_engine.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c81e10c34710f52904db966a4cb8c7a1197b89d361e7fa00315cd79978bd75"}},{"ruleId":"D2","level":"warning","message":{"text":"lm_local.encode_sft_example (cognitive 17): lm_local.encode_sft_example has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/lm_local.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"378a892bae98ed40db50899f749abe3e8c46fa3788c276688f17fa73021f97fc"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseModule.named_parameters (cognitive 17): BaseModule.named_parameters has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (11 pts), if/else 3 (6 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/primitives/base_module.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01ab519d19240c840977c573ef8e28509ad80861b531aac8131e805b64c6e1c"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_bundle._prune (cognitive 17): sandbox_bundle._prune has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 3 (4 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/primitives/sandbox_bundle.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff83738742c8f02e730021f7167fa107edad48a80e153d05bfd0118848133de"}},{"ruleId":"D2","level":"warning","message":{"text":"streaming_listener.find_predictor_for_stream_listeners (cognitive 17): streaming_listener.find_predictor_for_stream_listeners has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 4 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/streaming/streaming_listener.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0870f16f7228f74497cc8dcb151b55f975c4b51509917153f389c1cdb79a5d2"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.old_getfile (cognitive 17): utils.old_getfile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (17 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":"dspy/teleprompt/utils.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"983942542d70ff3ec7daa0bd2fd638fd72140309d09e07b9a1e26efb92fa8258"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_api_docs.generate_md_docs_submodule (cognitive 16): generate_api_docs.generate_md_docs_submodule has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2, boolean chains 1, error handling 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":"docs/scripts/generate_api_docs.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"0038b4d483e41ba48f0731b535236115b55aa0c12f2e0e88f2ed2c3fd3797877"}},{"ruleId":"D2","level":"warning","message":{"text":"publish_versioned_docs.publish_site (cognitive 16): publish_versioned_docs.publish_site has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 2, loops 1 (2 pts), 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":"docs/scripts/publish_versioned_docs.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"c620fdb4ef09ae2e3296254f390d01f9e5d1aefc4486aa2554b8caa5675cf554"}},{"ruleId":"D2","level":"warning","message":{"text":"base._candidate_calls (cognitive 16): base._candidate_calls has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/base.py"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e7fe793f8a768d62a5ea5d455688636e603604704f648d4fa13c610eb0c2e2"}},{"ruleId":"D2","level":"warning","message":{"text":"decision.decision_type (cognitive 16): decision.decision_type has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/types/decision.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2508ec96336f0e5caaed1ac6ac51d9eb64efe6e459cd5c8767d2a51744b477"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseLM.load_state (cognitive 16): BaseLM.load_state has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/base_lm.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"697e927ad49f8866b9d6da9dfb0d4be61969285c8b03b396f76511eceb7a77cf"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseLM.copy (cognitive 16): BaseLM.copy has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, loops 1, 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":"dspy/clients/base_lm.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2fdd61dd5dfb478f253dcdaae71b0a1a1861d25b3bfbc99ca53ff2aa27e653"}},{"ruleId":"D2","level":"warning","message":{"text":"_RestrictedDisk.fetch (cognitive 16): _RestrictedDisk.fetch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/disk_serialization.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e5dd16406237162c64985dc69f52cda2c2e3501c7832b4ecf97dcd61fabcec"}},{"ruleId":"D2","level":"warning","message":{"text":"execution._attempt (cognitive 16): execution._attempt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 4, error handling 2 (3 pts), loops 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. This shape REPEATS in the file: one other method here (execution._aattempt) 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":"dspy/clients/execution.py"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"92000c98c3d05ae51a0ddf0c1ac1a817a764aed9acf7d932059e5dd0309c0022"}},{"ruleId":"D2","level":"warning","message":{"text":"execution._aattempt (cognitive 16): execution._aattempt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 4, error handling 2 (3 pts), loops 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. This shape REPEATS in the file: one other method here (execution._attempt) 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":"dspy/clients/execution.py"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb539727d7d4b8af1a0eb0d8bf650a6f8a25c7db5166023d8159ee18ec73775"}},{"ruleId":"D2","level":"warning","message":{"text":"execution.aexecute (cognitive 16): execution.aexecute has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 2 (4 pts), loops 2 (3 pts), ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/execution.py"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"763e16283529a7b32c9ca1f99ddd4c2d49a9de6f91a5a314f5b942fbf7a82fbb"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamListener._json_adapter_handle_stream_chunk (cognitive 16): StreamListener._json_adapter_handle_stream_chunk has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 2 (4 pts), error handling 2 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/streaming/streaming_listener.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9aee48af89411084298cd4d9229a048f99ead3626a10cb5f0b26baa94cbcf8f"}},{"ruleId":"D2","level":"warning","message":{"text":"COPRO._drop_duplicates (cognitive 16): COPRO._drop_duplicates has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/copro_optimizer.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1363e3a4de90cd293f46f436e19f94abf26a8fc1a4287aa99bfb5a8659c8007f"}},{"ruleId":"D2","level":"warning","message":{"text":"GEPA.compile (cognitive 16): GEPA.compile has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (7 pts), if/else 6, boolean chains 2, loops 1 (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":"dspy/teleprompt/gepa/gepa.py"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd08e25dba87e2f3ab8049142c2b21bd8ef2daa00af57f470354b679dc190a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: predict/rlm.py: FileTooLong \u2014 875 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 375 over it, 1.75\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":"dspy/predict/rlm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3257273ba8a0fcdb372fc406348197abca766912c9b7f2e4235b1ce9b6db8610"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: primitives/facade.py: FileTooLong \u2014 703 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 203 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":"dspy/primitives/facade.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf381e0d55b6253804ad41a8abb4dc94f7c9c122ba085efceee54158efb3954"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: primitives/python_interpreter.py: FileTooLong \u2014 697 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 197 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/primitives/python_interpreter.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"790d9f27ec44a892a79b33a42564f4b789a0b4955ea73c69cd5eadf8eae19eea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: teleprompt/mipro_optimizer_v2.py: FileTooLong \u2014 672 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 172 over it, 1.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d00167b0748454a6c4ede347676a7ad839cb0014534a362b1465b1835460e77"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PythonInterpreter: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/primitives/python_interpreter.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"4319a1f05f9f3a5bebb83c19ca0ba13f449d2a46b13edd8eedbe220235f1ad1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: adapters/xml_adapter.py: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 40 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/xml_adapter.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ba7e7bf070edd9f5e9913d3429d8b33d98e185324167172aa98e8727561ac8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RLM: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/predict/rlm.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"27af9ac45a23c00b6b0df4da0f6b2996bdc0ef1ec39e9f20e97bc331827bdd04"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: primitives/sandbox_guest.py: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 21 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/primitives/sandbox_guest.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e231e0c272aa082b39c742ae0c7d64e025b36f27d6dab628fa4e151394ee1592"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (35 shared lines): dspy/predict/react.py:140-178 | dspy/predict/react.py:181-219 \u2014 These two members are variants of one another: 35 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":"dspy/predict/react.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e92cbb350f278fd414a57f53d5eb4eee5057068e43f5f85cf9483fbfe16c57e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): dspy/predict/refine.py:181-197 | dspy/teleprompt/simba_utils.py:215-231 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/predict/refine.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9435ecd25cb3fe927755aba042008292d1d334488a63bfe292e53dd5c141fac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (79 corresponding lines): dspy/predict/rlm.py:1094-1178 | dspy/predict/rlm.py:1248-1326 \u2014 These two members are one piece of code written twice and then edited apart: 79 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/predict/rlm.py"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5895487d0b7b0aefebb4150248a443691e959bc373657471122ca68f62d646"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): dspy/clients/execution.py:413-449 | dspy/clients/execution.py:453-485 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/execution.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41ccb3f249acc83daf400a54b9b69eafa9313f1e6682951831295b7d77bb9cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): dspy/predict/react.py:302-334 | dspy/predict/react.py:343-375 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/predict/react.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb0f1ffd65c5ac8be848e26152b6e012eebef42ec7bbb793465314c9740e398"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): dspy/clients/execution.py:489-516 | dspy/clients/execution.py:520-546 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/execution.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd44c84db73d4ab8243d5c8a3a266f18b0a207bba1dce458b9c9e61dfa1e14c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): dspy/predict/rlm.py:1059-1081 | dspy/predict/rlm.py:1219-1239 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/predict/rlm.py"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"4523cd720ccf108291d8bf27ab13886e428fd41e739e177271ba166d96f8d256"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): dspy/predict/react.py:234-254 | dspy/predict/react.py:257-277 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/predict/react.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a445d360db78d9da38259daa9b95a61a236858ef176b69b5785d024f718882"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): dspy/utils/callback.py:429-453 | dspy/utils/callback.py:457-481 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/utils/callback.py"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d1b8ff19ecdd1665c134fc871b637f209d0f9a793a03ddf96077a5c04937c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): dspy/predict/predict.py:263-274 | dspy/predict/predict.py:277-287 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/predict/predict.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bb8b572a6eaf03a0fd5d95f38aa772a039f527c72c467b460145fcfd82ca8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): dspy/adapters/base.py:272-296 | dspy/adapters/base.py:307-315 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/base.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bd164ee118c86dd2a05907ac97c20525cd666a5275a689fcbe65757047e268"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): dspy/predict/rlm.py:909-928 | dspy/predict/rlm.py:1187-1206 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/predict/rlm.py"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ceba9db08e20fe932aba26898d748b4c0765d8081cc0a9b5cda9c0e180a58d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): dspy/primitives/module.py:95-110 | dspy/primitives/module.py:114-129 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/primitives/module.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe935395ca356ad363efd7b4a7b9eccc0567b84cd93374025604202b37a9a70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): dspy/predict/refine.py:202-222 | dspy/teleprompt/simba_utils.py:236-253 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/predict/refine.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a77b7ae8027937593aa737a2023df441a4b9611c2f9cb03b23c62a7dcb1cd1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): dspy/adapters/baml_adapter.py:260-281 | dspy/adapters/chat_adapter.py:155-168 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/baml_adapter.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f5e015c27160fe386d2886d2fbe9b1599ac270d00c0a6f45d7e7866dd635d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): dspy/adapters/chat_adapter.py:121-140 | dspy/adapters/json_adapter.py:84-100 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/chat_adapter.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d5be8718c7ba2d4da3985a352c97fceba23a0edc2532a96d76aa783b7b8516"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): dspy/dsp/colbertv2.py:42-57 | dspy/dsp/colbertv2.py:70-82 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/dsp/colbertv2.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6e1e9771a702e3e7f19d7839e0ed84fdbcd9acbdec7a3b043568b3274efb41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): dspy/clients/engines/litellm_engine.py:243-257 | dspy/clients/engines/litellm_engine.py:275-290 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/engines/litellm_engine.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc4191dc849f5c41156d006b2ddc4d083b1edb37964de576db7e896dde569ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): docs/scripts/generate_api_docs.py:177-204 | docs/scripts/generate_api_docs.py:326-346 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/scripts/generate_api_docs.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"adeee9d4755b49357c4ec557c91ec6f7e8b778602de1955cdf132262adf8b0c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): dspy/predict/parallel.py:21-75 | dspy/utils/parallelizer.py:46-62 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/predict/parallel.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e575fc8a9557197618ba9cbc35e0aa8be08288c5af12d519ae04faa2ab5db2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): dspy/adapters/types/tool.py:387-396 | dspy/adapters/types/tool.py:451-459 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/types/tool.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89ed80c5debc8ea7162f9202c7f6bca95949797cc789dc4c7198bb50947752b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): dspy/evaluate/metrics.py:145-180 | dspy/evaluate/metrics.py:222-256 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/evaluate/metrics.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ed1aabd23f51ea9223da346b1da4bb68ab5f4592e9df3b9afbcaa8fe649f83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): dspy/adapters/types/decision.py:202-205 | dspy/adapters/types/decision.py:223-230 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/types/decision.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"6517f531bc7f0b22fc15eab6d90e66451210cfa12544998a1e2815490281ddc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): dspy/adapters/chat_adapter.py:86-94 | dspy/adapters/chat_adapter.py:104-112 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/chat_adapter.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f944482e9f094f9e1ad5cdfebeb43a8051639e3c75cc147631848baccabb646e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): dspy/adapters/chat_adapter.py:171-199 | dspy/adapters/json_adapter.py:103-115 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/chat_adapter.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"397e0eefc255d3e84c611e53bba48ba555c0361d7d220ce77e53b3cbec9f0f7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): dspy/clients/databricks.py:307-322 | dspy/clients/utils_finetune.py:81-93 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/databricks.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"889a6164edca40a31361ca0128836b470afada309b11d2633f7a4d24e9832ee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): dspy/clients/engines/litellm_engine.py:235-240 | dspy/clients/engines/litellm_engine.py:267-272 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/engines/litellm_engine.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"8608a58ceb0e2913218ddfde38c3b158b627cb72d020c374383f17dccc0f3ef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): dspy/teleprompt/random_search.py:41-55 | dspy/teleprompt/teleprompt_optuna.py:31-46 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/random_search.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a18cb8977163b75359cac7b94bae3383d470357635bd299ce4d5f0583cc253"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): dspy/clients/embedding.py:175-198 | dspy/clients/embedding.py:201-208 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/embedding.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7171facf6e1a565bc813df96076ace3f07bd9ab8374285738d5832d83fd8e792"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): dspy/adapters/json_adapter.py:123-127 | dspy/adapters/xml_adapter.py:96-100 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/json_adapter.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbe59bb28c41c6d02fba69dc534c1133ab81001bd6c3b2558b612e871e95147"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): dspy/primitives/local_interpreter.py:213-217 | dspy/primitives/python_interpreter.py:613-616 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/primitives/local_interpreter.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"996a885ce545126f1e9177ca81f2e4fe737c62595424a65d475c4ab3904890cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): dspy/clients/utils_finetune.py:65-69 | dspy/utils/caching.py:20-24 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/utils_finetune.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f24c8171b5f94a6e63513080a56af7f50ece87c89b45d07d888a0d1f8b72acf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): dspy/predict/rlm.py:1094-1143 | dspy/predict/rlm.py:1248-1297 \u2014 both copies are in the same file, so extract the block 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":"dspy/predict/rlm.py"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c15bf1e8ad4776d3f6774c4784f97576c55b12e15a0ea49b0ce3cd71208ee61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201334 lines \u00D7 2): dspy/evaluate/metrics.py:145-176 | dspy/evaluate/metrics.py:222-255 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dspy/evaluate/metrics.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/evaluate/metrics.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa758b1dacf739a85c7eacdca34f7adb1040e7c72b96a7c216073b8297f00fff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): dspy/predict/rlm.py:1146-1170 | dspy/predict/rlm.py:1299-1323 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dspy/predict/rlm.py:1146\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"dspy/predict/rlm.py"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"381fb27e76181fec57405e3929b5cb4ee2ae5f8f93fe59621aa2d4c1ecdb5aed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): dspy/teleprompt/grpo.py:148-167 | dspy/teleprompt/grpo.py:172-191 \u2014 both copies are in the same file, so extract the block 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, \u0060dspy/teleprompt/grpo.py:171\u0060 calls \u0060isinstance\u0060 and \u0060dspy/teleprompt/grpo.py:147\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":"dspy/teleprompt/grpo.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df16d0e9296daf0a255bae90378cf48a6ad86660fae1243afb711ca80a6a6b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): dspy/predict/react.py:149-167 | dspy/predict/react.py:190-208 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dspy/predict/react.py:149\u0060 it begins part-way through the construct above it, so those exact 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":"dspy/predict/react.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8a52eee1ab9a791e7b07403c84a92a99e447993263396742ec1ff61daa47b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): dspy/predict/rlm.py:1064-1081 | dspy/predict/rlm.py:1222-1239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dspy/predict/rlm.py:1064\u0060 it begins part-way through the construct above it, so those exact 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":"dspy/predict/rlm.py"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13d02978d15bf5339c6da9de311652d414ecdd323563176709f78abf18ca14a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): dspy/predict/react.py:305-320 | dspy/predict/react.py:346-361 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dspy/predict/react.py:305\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/predict/react.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"01751eaafedd43f297f29598796f1d114b537550cb0116a45177fd6a9cf04222"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): dspy/predict/rlm.py:914-928 | dspy/predict/rlm.py:1192-1206 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dspy/predict/rlm.py:914\u0060 it begins part-way through the construct above it, so those exact 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":"dspy/predict/rlm.py"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd461422986b86f2d78e6d5d90b44fe1ca777faafeed157bf6d8af22c91c3c00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dspy/predict/react.py:323-334 | dspy/predict/react.py:364-375 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"dspy/predict/react.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4477e72330b70da6400765592a6af3e0642d478b2c319c0e578df0c7ae968cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): dspy/teleprompt/grpo.py:126-136 | dspy/teleprompt/grpo.py:152-162 | dspy/teleprompt/grpo.py:176-186 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dspy/teleprompt/grpo.py:126\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d33eec7710b657914ce8beba379d88a329a8ec7f757b2b58b7cada70e350e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dspy/predict/refine.py:212-222 | dspy/teleprompt/simba_utils.py:243-253 \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":"dspy/predict/refine.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d1b229ea493f12df8476e80609e05d13b28fa0cb3c7f59c88ffcee1f4331e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dspy/utils/callback.py:371-381 | dspy/utils/callback.py:404-414 \u2014 both copies are in the same file, so extract the block 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":"dspy/utils/callback.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"fccf88519182752a40e865cb0c86850782959db534b35926cf865c2fbec9cf14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dspy/datasets/gsm8k.py:19-28 | dspy/datasets/gsm8k.py:30-39 \u2014 both copies are in the same file, so extract the block 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":"dspy/datasets/gsm8k.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ada0e078f56092770f5e577b00368e5d8ebc22a94031b8f4e9ae622d87a57d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dspy/utils/callback.py:383-394 | dspy/utils/callback.py:416-425 \u2014 both copies are in the same file, so extract the block 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":"dspy/utils/callback.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ecd5e13cebdf9062960073760d49dd03583857bde94a1bcc74cdf91976e02e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dspy/predict/react.py:246-254 | dspy/predict/react.py:269-277 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"dspy/predict/react.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c46f9fe86f0ceffbb89f7000abb1c9937f310bc378c4204a2f65a4d1a77ceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dspy/primitives/module.py:95-103 | dspy/primitives/module.py:114-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/primitives/module.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b546b00cee1c3512b7f4f7984d9d2ff75a6a19864c759e3013c3a8926a75ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dspy/teleprompt/reanchor/calibrate.py:312-320 | dspy/teleprompt/reanchor/calibrate.py:345-353 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/reanchor/calibrate.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"150d53f8566f29642a399c52ac93e7146bd26a1b62dc2c994c53cdc172f506ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dspy/dsp/colbertv2.py:46-53 | dspy/dsp/colbertv2.py:73-80 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/dsp/colbertv2.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abc2889399c40fd9e59165252098ec9b5610ed3d796236d2dfbd4558ca85223"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dspy/predict/react.py:140-147 | dspy/predict/react.py:181-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":"dspy/predict/react.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"421aea5c5250309c271c67d157398d2618d30ea78a7e774c7726392f29d303b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dspy/predict/react.py:169-176 | dspy/predict/react.py:210-217 \u2014 both copies are in the same file, so extract the block 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":"dspy/predict/react.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f741b7c37da7b16993cd4f6973f922e92ceb0edb4e69fb5f6918027f57b4aab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): dspy/predict/refine.py:185-197 | dspy/teleprompt/simba_utils.py:219-231 \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 \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":"dspy/predict/refine.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"faefad9d3ba5cbfd69ed6fbb2eb89cd5e6bc7ea8e3f4fd12ce1e3912e3713964"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): docs/scripts/publish_versioned_docs.py:146-154 | docs/scripts/zensical_build.py:93-101 \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":"docs/scripts/publish_versioned_docs.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b656bb556d04ed29ae106253708e06e8f6f3b015177715ec7849d70fd1730b23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): dspy/teleprompt/copro_optimizer.py:252-256 | dspy/teleprompt/copro_optimizer.py:294-298 | dspy/teleprompt/copro_optimizer.py:339-343 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/copro_optimizer.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4f37f26287e4277035b4dd7c79a70e9fec1bafe81eea58035b45586eb5236a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LM (LCOM4 6): LM\u0027s methods fall into 6 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 6 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":"dspy/clients/lm.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"124b87a14cae51969783835c7ffc4e23df5ca748cec5e5ca4073393a9147bef1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Settings (LCOM4 4): Settings\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/dsp/utils/settings.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2306d7e32d527b5e88798d57b34bc1a2069835cb27d44a204e3544e74614c2a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/clients/requests.py: dspy/clients/requests.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 79 in requests.build_request at line 116. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/clients/requests.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":"dspy/clients/requests.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d13578091c64f1fe0998da1fcf66830ebcbc04a7ec430c32362932e44bd0a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/adapters/base.py: dspy/adapters/base.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in Adapter._call_postprocess at line 178. 5 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/adapters/base.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":"dspy/adapters/base.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"71377839d23faca521e87aac221b279738fea2c29bda21c0ee4965d494e092cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/teleprompt/gepa/gepa_utils.py: dspy/teleprompt/gepa/gepa_utils.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in DspyAdapter.make_reflective_dataset at line 341. 1 of those changes was a fix/bug commit, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/teleprompt/gepa/gepa_utils.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":"dspy/teleprompt/gepa/gepa_utils.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd03f23b8cb84c1d2188a038e10d1925e56142bc4be7f079257b508b21b87e3c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/adapters/xml_adapter.py: dspy/adapters/xml_adapter.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in XMLAdapter._elements_to_value at line 281. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/adapters/xml_adapter.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":"dspy/adapters/xml_adapter.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"179298489340171a004d33104f43fe11490ba7832b2909d755e6f8696c73002f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/clients/backend_selection.py: dspy/clients/backend_selection.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in backend_selection.select_backend at line 45. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/clients/backend_selection.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":"dspy/clients/backend_selection.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f03d6f007ffd9909de0da241cedd0f74fb6a0f795b813205f522c920f23d93d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/clients/lm.py: dspy/clients/lm.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in LM.__init__ at line 157. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/clients/lm.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":"dspy/clients/lm.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0995dfde3ed32a1b59dc0bbdb88f035fe68edcbf5c669eba1cd69ccd7309290"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/streaming/streaming_listener.py: dspy/streaming/streaming_listener.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in StreamListener.receive at line 145. 2 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/streaming/streaming_listener.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":"dspy/streaming/streaming_listener.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8917f1dce156931a08f5bf12bdd828b610150e9f732555700e585083e8c79314"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/primitives/python_interpreter.py: dspy/primitives/python_interpreter.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in PythonInterpreter.__init__ at line 233. 1 of those changes was a fix/bug commit, and the other 8 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/primitives/python_interpreter.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":"dspy/primitives/python_interpreter.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"415aeab05f04c6d5ba4c4cd083cdb86df97359962cbd28ac2895ef543cb39636"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/adapters/types/tool.py: dspy/adapters/types/tool.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in tool._json_schema_instance at line 31. 5 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/adapters/types/tool.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":"dspy/adapters/types/tool.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5975070d519723dda9d644b3ce4844aeb48f523d8cde0b1d0b14a7fc8849d0b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/clients/costs.py: dspy/clients/costs.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in costs._estimate_cost at line 28. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/clients/costs.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":"dspy/clients/costs.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e0293be8ff42a23f24bbd4b7ff06ab99b3a639774e1cc0366e5ee692e81ac3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/clients/execution.py: dspy/clients/execution.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in execution._select_engine at line 191. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/clients/execution.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":"dspy/clients/execution.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"70802d314c29578e39407a542f9217c239a3edfb42fbe8b4a10164807d05ae8e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/adapters/utils.py: dspy/adapters/utils.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in utils.parse_value at line 216. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/adapters/utils.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":"dspy/adapters/utils.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f60ffb563c71f804bf481b8212779a5b0e7f54928302b012fe25cf67d106bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/clients/capabilities.py: dspy/clients/capabilities.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in capabilities._capabilities at line 153. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/clients/capabilities.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":"dspy/clients/capabilities.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4035b1fd46cca47eb495ac675a34edd149024280f613e37c15cb29f23f0b6bf2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/teleprompt/grpo.py: dspy/teleprompt/grpo.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in GRPO.compile at line 236. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/teleprompt/grpo.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":"dspy/teleprompt/grpo.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3939d187f96d37de82f6df3a8155d74a785d05035e34cadd2eca493d5d9467"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/clients/model_metadata/__init__.py: dspy/clients/model_metadata/__init__.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in model_metadata.model_info at line 109. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/clients/model_metadata/__init__.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":"dspy/clients/model_metadata/__init__.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b46962515f8ed5ff9f8d6812e661d58d02a919d4c672f04da0576cad57e6a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/predict/predict.py: dspy/predict/predict.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in Predict._forward_preprocess at line 152. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/predict/predict.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":"dspy/predict/predict.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bc8c32f15873a4c054cf68916e0d2f1d12eeec95b7a7a18b1277cffb1cde03"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/lm15.py: dspy/lm15.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in lm15.register_provider at line 111. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/lm15.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":"dspy/lm15.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb201bc28fd92e39941ee4600aa85c1b818705f70bb89143aecc49480e019022"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/adapters/decision.py: dspy/adapters/decision.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in DecisionAdapter._prepare at line 80. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/adapters/decision.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":"dspy/adapters/decision.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fb64b8f9d1e00e61cc7a703068ab3e9a075a7832341826c7e550ef45c1d79c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/adapters/types/history.py: dspy/adapters/types/history.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in History.format at line 95. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/adapters/types/history.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":"dspy/adapters/types/history.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b075717d9145eb2be6d3824e852a28a9a70fc64ac5f6184744002fea5cb379"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/clients/lm15_boundary.py: dspy/clients/lm15_boundary.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in lm15_boundary.response_value at line 227. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/clients/lm15_boundary.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":"dspy/clients/lm15_boundary.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"963969a63f5da8576484e405ffd598962e838de87ecc51cfe90d91f0332c02ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/teleprompt/bootstrap.py: dspy/teleprompt/bootstrap.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in BootstrapFewShot._bootstrap_one_example at line 185. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/teleprompt/bootstrap.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":"dspy/teleprompt/bootstrap.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f062c2b8877f509dab3a73e29df4b5baaf6dce5ef3a534dba7bedbd9e197f2a1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/evaluate/evaluate.py: dspy/evaluate/evaluate.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Evaluate.__call__ at line 117. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/evaluate/evaluate.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":"dspy/evaluate/evaluate.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"caac95e4c0687ea9bfaeb4f75750542d75c3808841bb662e3c1b095c62a545a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dspy/utils/parallelizer.py: dspy/utils/parallelizer.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ParallelExecutor._execute_parallel at line 129. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 09:09:40 -05:00\u0027 --until=\u00272026-11-12 09:09:40 -05:00\u0027 --full-history --no-merges -- dspy/utils/parallelizer.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":"dspy/utils/parallelizer.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e5643896e94dabaf3cd4b6ac780ea7cb1c4f9ff93fd6c9e8ff6a3a426b6d13"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 4 significant file(s) lose their only recent owner: dspy/primitives/repl_types.py, dspy/primitives/local_interpreter.py, dspy/adapters/decision.py, dspy/clients/disk_serialization.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7a41747813fb8c0ca4759f9439794fd31f2a934c44b9610bf5fc90330369615c"}},{"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":"tests/teleprompt/test_finetune.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a75ba3070b3a5cc1a84144d505d56a320cb2a4f50c7709620c175a8dbfedee1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Test not working yet \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/teleprompt/test_knn_fewshot.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3c6cec9159de188b1b539e821616cf0816eaef420ef392d773cefd7bbd7ac7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(isaacbmiller): Support the cases without direct dspy.Image coercion \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/signatures/test_adapter_image.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f53b9b7fddc9e1794d0782a7ba695130235995ed68f05af0481e1b600532d25"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: prepare second model for testing this unit test in ci \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/primitives/test_base_module.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14b8b564ac12561cfc1ec78e416076fd6c8f5666b8c945281db4d21957e0251"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Find a way to make this test run without openai \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/examples/test_baleen.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"038c85ad6c8fccfd3a2ad8000193406093431d954b611169666ebfcadec49593"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Find a way to make this test run without the slow hotpotqa dataset \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/examples/test_baleen.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d758b38ad485a2ebbd783d62a8b0159dd821ecb98483afe7e3e2ca3ca674ab78"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Some optimizers like BootstrapFewShotWithRandomSearch reset predictor LMs during compilation, \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":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc01fabf0bfcbfdea1fc480b94fd26f4243469d2db13caf6dd8db403707d7d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: metrics should return an object with __bool__ basically, but fine if they\u0027re more complex. \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":"dspy/teleprompt/bootstrap.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4435f6d3b0f35c91c21b2348d1f5213a5beabd91b5199afe9fb5326d1d20a6f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Switch here from dspy.dsp.Example to dspy.Example. Right now, it\u0027s okay because it\u0027s internal only (predictors). \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":"dspy/teleprompt/bootstrap.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f3fec236ca6b908427f020df70b094c815bcfda6e356936963c3687f3c6277"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: the max_rounds via branch_idx to get past the cache, not just temperature. \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":"dspy/teleprompt/bootstrap.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed3f168a59e2d49b79a159c4c52e3f9f7cf0eeb88f875d4eb639f1cb993409f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: When this bootstraps for another teleprompter like finetune, we want all demos we gather. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bootstrap.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2b8147d92a3206b902be25f6fde42430b23045f7c69de2ebac818fef8029e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Add baselines=[...] \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":"dspy/teleprompt/bootstrap.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4493b9c9999f060976ac2cc97c80c6898f70f2cefb2641a9e78750b07b3bfc02"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: # FIXME(shangyint): This is an ugly hack to bind traces of \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":"dspy/teleprompt/bootstrap.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"395a8aaede7a4798a04581b14b1efcd928c2828e3ce80d043960cad003ff5ddb"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: # FIXME: ! \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":"dspy/teleprompt/bootstrap.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"6929bd8eb88b2c2245a0dd73546ea86c65f0a2b1aaa654bcd72db4dcc717f89f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # # TODO: Look closer into this. It\u0027s a bit tricky to reproduce. \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":"dspy/teleprompt/bootstrap.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e80126d85746435f881cf7a94f8548fa90437ffcfd6f0440bf3513ff564b490"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(feature): Inputs train_kwargs (a dict with string keys) and \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bootstrap_finetune.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f4ec450a324c2e04ecf7b7502c8f34bc35bbb26451ddb8505858ae7d9bbac1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Print statements can be converted to logger.info if we ensure \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":"dspy/teleprompt/bootstrap_finetune.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e3022899c48953cabde1d1a2ae4aa225d1f523fe868d8367073cbdb750054a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(feature): We could run batches of fine-tuning jobs in sequence \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":"dspy/teleprompt/bootstrap_finetune.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"386bfb104947e33dc7f9156eaaacefe5c9d8b489f0cad4abedf8ce44d1c7146c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: What should the correct behavior be here? Should \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":"dspy/teleprompt/bootstrap_finetune.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaee95962c1e95995ff99a6987d87440888a8abeca1a656c4fa87350729126a1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(nit) Pass an identifier to the job so that we can tell the logs \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":"dspy/teleprompt/bootstrap_finetune.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0825deefea1ad27525e4e39aafbc343413d7460c1cc3fabc15814b0c52def14e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: The following line is a hack. We should re-think how to free \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":"dspy/teleprompt/bootstrap_finetune.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c07ca164211058203fd9ecc715a4007aba5acec6ca8e391847b7f8d411404e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(nit) Log dataset details/size; make logs nicer \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":"dspy/teleprompt/bootstrap_finetune.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59768388b123757dc5acfd3642a75cd63b5be5259020eeb725924a532c5dad7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # # TODO(PR) check with team \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":"dspy/teleprompt/bootstrap_finetune.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"172493ab66c48800ec685f0f76e946525a8cfab42657127f3a4589d923e8597b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Should we use reset_copy here? How would it affect the student \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":"dspy/teleprompt/bootstrap_finetune.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb66836328733bf8209f52b5e050f2cd4b8d12bca2dfb799287bf10a6db98ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Should there be a deepcopy 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":"dspy/teleprompt/bootstrap_finetune.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"40dc46afd0fead47013314b277a1cac5b30a25e6d6c4f53e54d8cd65649c5c44"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(check with team) \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":"dspy/teleprompt/bootstrap_trace.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7caeef22a7e1d6b4b07280e37f6c8180d3f8fedc6d802d0fba074cfb86a2abac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(check with team) \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":"dspy/teleprompt/bootstrap_trace.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b713d00ba63c5bf5d72f8183a4deee9802901828020729d91be51636204f78c7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(check with team) \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":"dspy/teleprompt/grpo.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"920da14b778a227fe7cc9e7e07bab010c851b58f5cf5b46fa4fa76cfb7c52240"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(check with team) \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":"dspy/teleprompt/grpo.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd69b28d3eea8ef85a5044ada6af43bc02431f6767c29ffe19c3913eb9bdf947"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(check with team) \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":"dspy/teleprompt/grpo.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2247a6dc57317ce047d863c0257bc7cdda30ae8599a9fdcb3ddde260a586db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(check with team) \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":"dspy/teleprompt/grpo.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57c1da7aeec7a002727aa516f8ccbed5bef319e6272ce04e349fc118f76a0f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(check with team) \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":"dspy/teleprompt/grpo.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"667fc72f2e35ab2e61369b9e3b9a39dd6e801b19397516e2fb77443f14c418b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(check with team) \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":"dspy/teleprompt/grpo.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"813caa421258fa2017c0715c4eeeb3bc27e514b7524e16a4f383bc50453d43a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(GRPO Team): Often during GRPO bootstrapping, the LLM response does not follow dspy formatting. This \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bootstrap_trace.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5ef986b96140c2c86abdeb76e064aaef84b35e668ee8a0544c583eda9fa744"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: fix this so that we eval the new batch of predictors with the new best following predictors \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":"dspy/teleprompt/copro_optimizer.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"548d0b2e2e5001d397386065db879fac278c88293393841d626340bb3cdacd86"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(GRPO Team): Ideally, once the dspy format issue is fixed, this change should be reverted back to being a normal assert. \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":"dspy/teleprompt/grpo.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebb1079a132e9c3b94f3582ab0a29351ac3530db0d8174dda59b615a7f74770"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(GRPO Team): Following checks are for unimplemented features. \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":"dspy/teleprompt/grpo.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fe3b539736957dd1cf88e364c8383bb07dec8e49a04b7d7938535ea4015610"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(GRPO Team): We want to make it possible to continue GRPO runs in \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":"dspy/teleprompt/grpo.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a37116db96c73e7b033708ff483fa11066cb883df4545ce569de34a4b292d71"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(GRPO Team): This should be True, once the dspy format issue is fixed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8c3193a26e4f17c628600261ce33c34f90b7eb0f0f9171ce52012798db47f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(Lakshya, Omar, Noah): Discuss what to do with the same module being invoked multiple times within a single dspy.Example \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"6acd1cc05467fb060f042d025741e9c85d66b7cfd4d82766c24c31e7ee0105bf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(Lakshya): Currently we exclude demos from the training data \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":"dspy/teleprompt/grpo.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"f271297961642276cec68044cf692bea6ea445da8288a7449fe200c222984963"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(GRPO Team): Use build_call_data_from_trace (from bootstrap_finetune) instead of \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":"dspy/teleprompt/grpo.py"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"512635276a93fb3068f4bc43e0a5222a59f828f244bce8d53d7d74e7812afd0a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Add support for demos \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":"dspy/teleprompt/grpo.py"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b7cd058d8ca47aad41f36f0d0001851af701caa1b5730f66197adc6b8acfa0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Add support for demos \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":"dspy/teleprompt/grpo.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c9d0eee34f120d4aefbc130b8d221c9f0dbb6efd2687a2c930a923097c6269"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(GRPO Team): How can we avoid this warning? \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":"dspy/teleprompt/grpo.py"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"09970d260d6615feae60df52994fad61f39a7b8a9b556e915c9028d67767673d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # * TODO(GRPO Team): This is inconsistent with how \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":"dspy/teleprompt/grpo.py"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4460440d485d1d03266f2ba2d0e5493392b7c6661cf66f82efb941a9d13d588"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(GRPO Team): This is very undesirable. This occurs only because in some of the generations, the model does not follow the correct dspy 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":"dspy/teleprompt/grpo.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"700f21fbf2646eba588c9e3f3f6d207177545c9f190891e991873044cf9063fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Consider how this handled \u0022incomplete\u0022 demos. \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":"dspy/teleprompt/infer_rules.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1a118354e3de68d34eae3abb994af8a8980657a68657213eb06ad95470852d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Add default run as a baseline in optuna (TODO: figure out how to weight this by # of samples evaluated on) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"00621d301e3583486f618a1fd40bbc07630b03c3b74f15d3877bcfbf280b988d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Don\u0027t forget dealing with the raw demos. \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":"dspy/teleprompt/random_search.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef2c78aae25fe7c3c245a8b4a6f2083585c05ecc3c916ebd3dc0897be80243d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Deal with the (pretty common) case of having a metric for filtering and a separate metric for eval. \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":"dspy/teleprompt/random_search.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"185924dd25b9c4d8f89e8f0b09995abe1c15c14c6692dcc56c78e31c1a49cca3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: This function should take a max_budget and max_teacher_budget. That\u0027s in the number of program calls. \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":"dspy/teleprompt/random_search.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a603614a10e4489130fc9a8e65ad2f0c53649f73f2fe93a8a2a29b7f20a3dac9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: FIXME: Note this choice. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/random_search.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3154589781c3895d0d4983710a95efd1bb08b78c67b27d2fd153dc4c6471d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: FIXME: The max number of demos should be determined in part by the LM\u0027s tokenizer \u002B max_length. \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":"dspy/teleprompt/random_search.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30e2a91fd3c9866b49844e23b175615684248c5def3cc7e84815ad8def99dc4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Handle this better, as -ve scores are possible \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":"dspy/teleprompt/utils.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5e49b706ce5f57124c0967dc44a6976c3d48e9cb5214a92a28f291625bf338"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: InstructionProposer now delivers images to the reflection LM as structured content. \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":"dspy/teleprompt/gepa/instruction_proposal.py"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"354c8f6467eb44149748d27b86dd26552ea8ba7558170a1dcaa77e193b27e77e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Put adapter streaming handling into individual classes, e.g., \u0060JSONAdapterStreamListener\u0060, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/streaming/streaming_listener.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03a84e5aa4134f98f422f8e0795f7f25e3e1ff916f776373548fad46afe36b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: we should unify the type signatures of dspy.Retriever \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":"dspy/retrievers/retrieve.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f401c919ab41c36044fb00873d0f4d8ca1c5df9bf10b32efbb755a97c25fd47f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Consider doing Prediction.from_completions with the individual sets of passages (per query) too. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/retrievers/retrieve.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"12353243a9412eeaa71a2cf5906cbd50a983951bca66caad2381cfc8401309ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: add tenancy scoping \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":"dspy/retrievers/weaviate_rm.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"1815d407bc0775d0e003829f3ae452a226a7eb5ceb5e08994d380f535cf765e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: add tenancy scoping \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":"dspy/retrievers/weaviate_rm.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b603cbe5a0f35f11f08c77a458a18266000976a4f48c1531c296675a3a537f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Hardcoded variables (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":"dspy/propose/grounded_proposer.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d1afe604639ba805085909c8583bd25906762a4972888b1b89e17a37b034de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: if type(module).__name__ not in [\u0022Predict\u0022, \u0022ChainOfThought\u0022, \u0022ReAct\u0022]: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/propose/utils.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1b2b314fcd9e6d5ea122d47fd11611ca5a1b419a7d89dac163447ca776c224"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Add a \u0060dspy.datasets.DataLoader\u0060 API link once the datasets API \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":"dspy/primitives/example.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f390152bb0a6a9adbf1c0cb851d617922826e742365586757f80f2f851049c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO later on add enable_run (--allow-run) by proxying subprocess.run through Deno.run() to fix \u0027emscripten does not support processes\u0027 error \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":"dspy/primitives/python_interpreter.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bc61163c236679cad6e060f81c64d86511beed45d749698301b2fd2267024d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: # FIXME: Saving BaseModels as strings in examples doesn\u0027t matter because you never re-access as an object \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":"dspy/predict/predict.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9bac9757d9ed7c850fb7441349af02509d092a712b67c65e70927bb858106e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # # TODO: FIXME: Hmm, I guess expected behavior is that contexts can \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":"dspy/predict/predict.py"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26562ee9723a52483364aa34443ca32c6ec04b8ea709d3c392719ee6e82282d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove the hint from the trace, if it\u0027s there. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/predict/refine.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"402a36b00230ce3cde249a52d37791847f7882f24cb9149141cfd2cabfe68bae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Optimize this prompt across a diverse benchmark \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":"dspy/predict/rlm.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1eac9f73fa55a7f1c2d0609b33e787714c33ad8efcec33ce113c330ff01c46"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Counting failures and having a max_failure count. When that is exceeded (also just at the end), \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":"dspy/evaluate/evaluate.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1aa2ddbbfad3fc2f0efe80fbea0512b1464f5d61501dd91c54b53b81b6c2cd1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: # FIXME: TODO: The merge_dicts stuff above is way too quick and dirty. \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":"dspy/evaluate/evaluate.py"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d55d4d1fc453648f0123c0de312b667078a13169eab4ec211ef68315407c074"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: the display_table can\u0027t handle False but can handle 0! \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":"dspy/evaluate/evaluate.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a0378662a23010d1a16162032720f4b03acfe934c4d5e937f0ca6c4d11f86e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: This should move internally. Same for passage_match. dspy.metrics.answer_exact_match, dspy.metrics.answer_passage_match \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/evaluate/metrics.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60803e88e538616a42c6578ec1ef8232e1c7a69385decbcab189a5c9bd569542"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Ideally, this takes the name of the index and looks up its port. \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":"dspy/dsp/colbertv2.py"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ad8c8fe406ffc2eb4a36340ac6eeb679c7b3b2415437d194d66d5a3264c976"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: NOTE: Ideally we use these uuids for dedup internally, for demos and internal train/val splits. \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":"dspy/datasets/dataset.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32a2f90fcbb4c7d9db4eed0de1086949016f4a4780b650bfcc504f2bbc6365d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(GRPO Team): Should we return an initialized job 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":"dspy/clients/lm.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab17d2fb0f309327d5f6059b08beaa9c6bb500209b3d3a098d82ba35944e239"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(enhance): We should listen for keyboard interrupts somewhere. \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":"dspy/clients/lm.py"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b88e3ea56bd7423cd123fe3ffda1e00032285634f84bafaa23cdb1b84cf1ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(upstream-lm15): Add native Chat audio/file serialization to lm15, \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":"dspy/clients/lm15_boundary.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2c34fbcc63dde3bb0eec2e6402ef19a5d1a79ea6b69f941a1cc06191c75131"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(feature): Could we stream OAI logs? \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":"dspy/clients/openai.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d72251c90c7e76dd79be42fa794c4f679b0f4d4b360779c526240b98811c0c7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(nit): This call may fail for other reasons. We should check \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":"dspy/clients/openai.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b34c30d7380dca87ef823b551576406f141b74362c222e88757fecda2396bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(nit): This call may fail for other reasons. We should check \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":"dspy/clients/openai.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"583a05856810812af8bbd8f7f2f51df0cbd74b16201c94c475331cc99220044a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: implement format_finetune_data method in JSONAdapter \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":"dspy/adapters/json_adapter.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0679793910ddc08964933e90c293359a9cecdbc490ae4ab463c1fabf8fb39b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(upstream-lm15): Preserve document identity and source/answer \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":"dspy/adapters/types/citation.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f66d1d9b446e39f4b9a3bc1f488eb26f80f3ba1c02e5e298952f0cb704c9e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(upstream-lm15): Add document citation opt-in, title and context to \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":"dspy/adapters/types/citation.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e007039606cc6b0ad40be101ffd19199ded6eb3c10d8e5b7d009408c045f2e0"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (33791 LoC, 749 module-visible types across 30 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":"f48eda2a3e33107396a0ef93acd5338e3ff3c4dc50d62e4a70a4e78308e7052f"},"properties":{"commitSha":"63540a03f9b2cce0b1e9f812a100b860f847bac0"}},{"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":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af0bf37da55fcaed67f2a97c350799bdc1aa0921ad8fd56565523e569567c935"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8eac0809e98bf71567c1d278ef7d46187775bef80af21f9aee4daa5c83887f6f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c516ca1bf16bec29d56f25284c38db14c560bf7b8b47ed7deea5b38b068bbb8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"47c49b50148a5ed3408bb695cb5e36cf0700d2e0bdb5a2980919e8b000ec04f7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a90aa036846373385ce9dd06b07dfe8862ba7f74e570a26a80ff1a256bcd5816"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fda6a4709219cfa2ec07af5d7a8944b901a34c7f2e997ad77c65780376377e07"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a5d302cea49a379142a3ba1660250f5a3e8ac53eebc9facdf853ec0f249afc47"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f2df2abf23cab3b411c6859ea2f9191f7abd488476efc86a257bc7e159bd7f2"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ed059458dc0d864f79fffc2c8cd3f09ac2213f256b255ba1e07734350228541"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d9e58d9c5d88d11df8c1a152f461cdbd2841b7c22c0614807c4a713b842e1847"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a27e4b20fbe570a5268225b072b64f1fcb5d77877965379a982ff2a4e71c0c33"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5117e3240594811ac5725b0e9cd4fc5b1dea4836d5c01747d9d6de96a844c41d"},"taxa":[{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e901513ea42aad6f02d6e293d1a75998c3dbb93021c1a49c4e37a7f4bf2cd4b"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f321c9b0f3e73badd6acbd890439d3a77a08fb40e5d0208daea3b80a6b2e467"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"8f3cc727edfc0863b83c45183c6f4f0308c51c2428bab0b8fb36d4e2697db67e"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"cd9c2514db22b580daf04aea8447f1a620c0b229b4bcabab7616b85d29dfbdca"},"properties":{"dependency":{"package":"authlib","version":"1.7.2","advisory":"[GHSA redacted]","aliases":["[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]","PYSEC-2026-4354","PYSEC-2026-4355","PYSEC-2026-4356","PYSEC-2026-4357","PYSEC-2026-4358","PYSEC-2026-4359","PYSEC-2026-4360"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","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","PYSEC-2026-4363"],"reachability":{"kind":"production","file":"docs/scripts/zensical_build.py","line":365}}}},{"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":"041ce66dfaf19f7320f95af54b0addd19bef1651ee4639465d26bbef12a137a0"},"properties":{"dependency":{"package":"pyjwt","version":"2.13.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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-4140","PYSEC-2026-4141","PYSEC-2026-4142","PYSEC-2026-4143","PYSEC-2026-4144","PYSEC-2026-4145","PYSEC-2026-4146","PYSEC-2026-4147","PYSEC-2026-4148","PYSEC-2026-4149","PYSEC-2026-4150","PYSEC-2026-4151","PYSEC-2026-4152","PYSEC-2026-4183"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d50ee91df62e7a6a33f13f01ef87a1a54dca0da2e965a25c03f4c3b80072298f"},"properties":{"dependency":{"package":"black","version":"26.5.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b1be6f85b680deb0891e599eea4691d5f6ab0b69303dfbe710a810669b8994a"},"properties":{"dependency":{"package":"datamodel-code-generator","version":"0.72.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4205"],"reachability":{"kind":"test-or-tooling","file":"tests/reliability/generate/utils.py","line":16}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1cd5edb55bbbb627ab2f3a485a1a65f2b7d9e94a298b940d9d0c04d4a4bc987f"},"properties":{"dependency":{"package":"filelock","version":"3.32.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aed0f6944c1dc195949f2b036dd27c2be50863ae8fe274ba3ea5b4781e348ef2"},"properties":{"dependency":{"package":"joserfc","version":"1.7.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f268873f65bdaa9fa0eb6931555627e85a8ff8143ca35ae482b4a7d5ea5ae3e9"},"properties":{"dependency":{"package":"urllib3","version":"2.7.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4175","PYSEC-2026-4176","PYSEC-2026-4177"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c3ca7c7947b4cef891a6935b9f44005f4821ae24d46e9405db8fcd23299dddc2"},"properties":{"dependency":{"package":"virtualenv","version":"21.14.12","advisory":"[GHSA redacted]","aliases":["BIT-virtualenv-2026-115586","[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"192d71e31f5b218b409fbc8278ed8879311fdc1a2ee38721d0d47695d04f91f5"},"properties":{"dependency":{"package":"diskcache","version":"5.6.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2447"],"reachability":{"kind":"production","file":"dspy/clients/cache.py","line":78}}}},{"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":"824273282d060f6f01752806488cfbf4b212f4d7faeb13ca0070719506e8945a"},"properties":{"dependency":{"package":"mako","version":"1.4.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4243"],"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":"88539b28437730a2fcdecac83ed6be559f084de2df2b28020f53d2dfc7a50de6"},"properties":{"dependency":{"package":"mcp","version":"1.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"dspy/adapters/types/tool.py","line":21}}}},{"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":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 25 of 134 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 134 of the 189 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: dspy/propose/grounded_proposer.py, dspy/teleprompt/simba.py, dspy/teleprompt/simba_utils.py, dspy/clients/lm_local.py, dspy/dsp/colbertv2.py, dspy/propose/utils.py, dspy/dsp/utils/utils.py, dspy/teleprompt/infer_rules.py (and 17 more). 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":"dspy/propose/grounded_proposer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28359845f65472ee8107504bf6ac435df81e3f8954fdefc1b0191bd92bff9f6b"}},{"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":"dspy/teleprompt/simba.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b2caae0520a3d3206a2c25f8df78ac1dfa3c17083c31f8b9cc5aeb0013319b"}},{"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":"dspy/clients/lm_local.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"908f2c7ec656ddc94eb28c1dccd3f3ad8840024f30b85fa3c0974dc993c6e8cd"}},{"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":"dspy/teleprompt/simba_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ed49c0fc95cb2c01f3845f0a2e598c237ab7e39dbab6dc61874949107011a2"}},{"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":"dspy/clients/provider.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3ff9d868b8d10febe193bb73854ad435da382ce7ee88b91d5ea0e6c4cad20d"}},{"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":"dspy/dsp/colbertv2.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b68875733226d4f0ea970b27756af438bdc5ba1f4bcec14c09214df00bc9549"}},{"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":"dspy/propose/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d9076308db4f8f8dabd19c36d9bf61af3b7e96408e1a57f342e5cf2aa8a103"}},{"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":"dspy/dsp/utils/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f712029b7146da1d9b78ccb8bb49dec9efd572b7a93aa8be15de3ea740d086"}},{"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":"dspy/teleprompt/infer_rules.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"474cae81491ee7c70954bc4acb045dbbe446e35d5b1850ed7b79960076884634"}},{"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":"dspy/primitives/prediction.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f8eaf668ee126c8f8823715360a8b65c07f367db2cf6868e78d27ef79f670f"}},{"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":"dspy/evaluate/auto_evaluation.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be4bd8c947010a924d74e7b22210b698c6402b0e27b38b02cfe679502e08225"}},{"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":"dspy/clients/utils_finetune.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"688592d653a884cbfb29a317357eec214e5efe1fe019596e8d5df64b3657ec23"}},{"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":"dspy/predict/avatar/avatar.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48313d28ca085fe1b842c32ea5d82dcf794f7b0f6c4663c3e1578f50d68ba89e"}},{"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":"dspy/predict/parallel.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02a03ec0020e155cf75af700038127d042e67c993113c8a779f1a50fe6fb2a2"}},{"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":"dspy/propose/dataset_summary_generator.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa016997fef67ae6a1037acd06a21900386075d7061a0de05cc7354cc6bbf3c"}},{"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":"dspy/datasets/alfworld/alfworld.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2d284d0b9f859b2f027828b86115f1a925435aeeda46e757ac42e0b2a2bdcb"}},{"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":"dspy/utils/magicattr.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa6fb8a2997c21cead8554bcb56b9f439d9c74288234013702078154ebd9bad"}},{"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":"dspy/adapters/types/code.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"331f3052dd272e3f4aa2850dee6bd053bc381839e4b5bcc9299df3a088566773"}},{"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":"dspy/teleprompt/teleprompt_optuna.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e0c65ca63ffd4df532a1df398b65e0d795b2f0054f91b68f1b60e714265790"}},{"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":"dspy/datasets/colors.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6deda0c09663ed6d6e170c22c692308eda6baca7dce25713b15152f0e00430"}},{"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":"dspy/datasets/hotpotqa.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c4e3b284b1f9d6fd77287a2db5cd7a72d92e46eab7717d5fb80330b37770d4"}},{"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":"dspy/predict/retry.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3935b0aa6ee5fa4d5fac7f89c70783c2dbed9e1311b2c496e229b189dbc90f6b"}},{"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":"dspy/teleprompt/knn_fewshot.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"614f22736d6909b70041292ecec0b9d7482d94f8e442fc5a4e0e7a30789752fe"}},{"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":"dspy/teleprompt/signature_opt.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b525bfc599ba35d7467ae7e1c095584676ad05629032bb19d726bba120526c1d"}},{"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":"dspy/datasets/gsm8k.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"712cb815e07ad1a9ba370090be13f275e1ca904624a36e74e91b4bb62f4143ef"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"ADRs not easily discoverable: 1 ADR-shaped document(s) detected by content \u2014 \u0060docs/docs/tutorials/jev_decisions/index.md\u0060. They are not under a conventional ADR folder (docs/adr/) and are not named NNNN-title.md, and this check found them by their decision signature rather than by where they live \u2014 so a reader who does not already know these paths has no route to them. Detected by content signature only: records kept outside the repository, or written without a Status/Decision/Consequences shape, are not visible to this check and are not counted here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ea921cf64dae701abd877090b3279ff10d03c2e3250e26c8c299d7c5665e0d3f"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/2 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060docs\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add bandit, \u0060semgrep --config=p/python\u0060, or CodeQL\u0027s python pack as a CI step. What was searched, so you can tell an absence from a miss: the 6 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/dependency-range.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"Changelog looks stale/thin: The changelog this check read carries 0 versioned entries, against a bar of 3. Counted as either the distinct \u0060x.y.z\u0060 versions it names (a link\u0027s target is not counted) or its version-shaped section headings (\u0060## [1.2.0]\u0060, \u0060## V14.x.x\u0060, \u0060## Updates in 8.0.x\u0060), whichever is the larger \u2014 so a log sectioned by minor series counts its sections, not its individual patch numbers. Entries recorded somewhere this check does not read \u2014 release notes generated at tag time from a generator config it did not recognise, or a log kept outside the repository \u2014 are not counted here, and this row is about what is re-findable in the tree rather than about how often you release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9a74c249fe67853238d9c15085f7f97d31f51bb82455046aa10c2cef82f67b8"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060vercel.json\u0060 configures this repository\u0027s static hosting, including its response headers, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/vercel.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e04a5991953416814cfdc2a07fced0ff408cd72ea16d11b77014ff03d4913f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060citation.get(\u0022cited_text\u0022) or citation.get(\u0022text\u0022) or citation.get(\u0022supported_text\u0022)\u0060 appears character-identically in 2 files \u2014 dspy/clients/engines/litellm_engine.py, dspy/clients/lm15_boundary.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":"dspy/clients/engines/litellm_engine.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cc462170b18ecc6f6155e9481db5bb24cc481bbc615040da2748f882a48936"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060citation.get(\u0022document_title\u0022) or citation.get(\u0022title\u0022)\u0060 appears character-identically in 2 files \u2014 dspy/clients/engines/litellm_engine.py, dspy/clients/lm15_boundary.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":"dspy/clients/engines/litellm_engine.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cfad2331b6bdeb60ea3835c1f38d326aefb308251194513f69da6acb1640cd0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060clients.get(\u0022api_base\u0022) or clients.get(\u0022base_url\u0022)\u0060 appears character-identically in 2 files \u2014 dspy/clients/backend_selection.py, dspy/clients/execution.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":"dspy/clients/backend_selection.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ed40ca00db96a502a747bf3626279c32cda763d810860409a9c1ceab43af4d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inspect.isfunction(func) or inspect.ismethod(func)\u0060 appears character-identically in 2 files \u2014 dspy/adapters/types/tool.py, dspy/predict/rlm.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":"dspy/adapters/types/tool.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57c406c786c2c654a5858da05cf7f71ad2d926cca639b5311d5f0e85cb63fc4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(node, ast.BinOp) and isinstance(node.op, ast.BitOr)\u0060 appears character-identically in 2 files \u2014 dspy/primitives/facade.py, dspy/signatures/signature.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":"dspy/primitives/facade.py"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bc876240cd69370a1a7c508aacb2ac9eaea4973c4381e0a4b3374c52850279"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, type) and issubclass(value, pydantic.BaseModel)\u0060 appears character-identically in 2 files \u2014 dspy/clients/cache.py, dspy/primitives/sandbox_guest.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":"dspy/clients/cache.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7634b45091ede49f1bb51e56c6ffb584326e29dee5a365e9b58a581c08112e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key.startswith(\u0022__\u0022) and key.endswith(\u0022__\u0022)\u0060 appears character-identically in 2 files \u2014 dspy/dsp/utils/utils.py, dspy/primitives/example.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":"dspy/dsp/utils/utils.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9ad6fc0ec5fcf29e5be2afc1e75139ec92f4fe3a84d89763a7225790a27de4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(message, dict) or not isinstance(message.get(\u0022type\u0022), str)\u0060 appears character-identically in 2 files \u2014 dspy/primitives/local_interpreter.py, dspy/primitives/local_interpreter_worker.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":"dspy/primitives/local_interpreter.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9190c58c066a611a5f9145acb9dabc546c6b4537d9f9df49321c67d07c7fc2ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(name, str) or not name.isidentifier() or keyword.iskeyword(name)\u0060 appears character-identically in 2 files \u2014 dspy/primitives/local_interpreter.py, dspy/primitives/local_interpreter_worker.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":"dspy/primitives/local_interpreter.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef32d9a55c2b7b3cd91a60b02c63801f7c7d062bf59694cc2412bff94f0695b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060origin is Union or origin is types.UnionType\u0060 appears character-identically in 2 files \u2014 dspy/adapters/utils.py, dspy/predict/predict.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":"dspy/adapters/utils.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3239d57d7b812291668c78365dde6144e380f630bb620ef59f975e47082f1f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.module.get_lm() or dspy.settings.lm\u0060 appears character-identically in 2 files \u2014 dspy/predict/best_of_n.py, dspy/predict/refine.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":"dspy/predict/best_of_n.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea18296a912b3be95bcb0c3fa4ce6a1b4a3b7e0ec786ad2e18fc071a282f054d"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060execute\u0060 is public, takes a document from its caller (line 862) and hands it to \u0060_to_json_compatible\u0060, which calls itself at line 771 (\u0060self._to_json_compatible\u0060) with a piece of \u0060value\u0060 (and at line 773, line 776, line 778, line 784) \u2014 and nowhere in \u0060_to_json_compatible\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_to_json_compatible\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/primitives/python_interpreter.py"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"4134f9ba1acd19f7f67125bea0cbb39dc1f48fdf4c4171744de2259df596759d"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060execute\u0060 is public, takes a document from its caller (line 862) and hands it to \u0060_serialize_value\u0060, which calls itself at line 834 (\u0060self._serialize_value\u0060) with a piece of \u0060value\u0060 (and at line 848, line 855) \u2014 and nowhere in \u0060_serialize_value\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_serialize_value\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/primitives/python_interpreter.py"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a59b31747a3aafd7c2012888994b1f8eef364a90a41b78bae745ac061809c1"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060encode\u0060 is public and takes \u0060value: Any\u0060 from its caller, and it calls itself at line 100 (\u0060self.encode\u0060) with a piece of \u0060value\u0060 (and at line 103, line 104, line 113) \u2014 and nowhere in \u0060encode\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 \u0060encode\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/primitives/sandbox_guest.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c4a7c03ebc5853497749d7869462c5723590a79737fffe5c4b1ff0925b5220"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060decode\u0060 is public and takes \u0060data: Any\u0060 from its caller, and it calls itself at line 127 (\u0060self.decode\u0060) with a piece of \u0060data\u0060 (and at line 132, line 134, line 141, line 143, line 156) \u2014 and nowhere in \u0060decode\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 \u0060decode\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/primitives/sandbox_guest.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3dbc77a5e875f41c07406ee6caeb5a5bac16c2209b306c014d3e3826c324a1b"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060encode\u0060 is public and takes \u0060value: Any\u0060 from its caller, and it calls itself at line 408 (\u0060self.encode\u0060) with a piece of \u0060value\u0060 (and at line 410) \u2014 and nowhere in \u0060encode\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 \u0060encode\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/primitives/sandbox_guest.py"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4da59afdc6c29052207b6c752645435cc212d465f362b1d5ab47e0500063af8"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060render_annotation\u0060 is public, takes a document from its caller (line 175) and hands it to \u0060_render_type_node\u0060, which calls itself at line 202 (\u0060_render_type_node\u0060) with a piece of \u0060annotation\u0060 (and at line 204, line 212, line 213) \u2014 and nowhere in \u0060_render_type_node\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_render_type_node\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/predict/flex/ctx.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce885f9bc39aba30c12198aa61b812bd4d7ae3f830dbbcfdab83ea0496c0d53"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060plain\u0060 is public and takes \u0060obj: Any\u0060 from its caller, and it calls itself at line 86 (\u0060plain\u0060) with a piece of \u0060obj\u0060 (and at line 88) \u2014 and nowhere in \u0060plain\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 \u0060plain\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/lm15_boundary.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4bf2f08a6330878366b368286df21e3bc66de1383af9989c8da0de1f748acc"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060close_object_schemas\u0060 is public and takes \u0060schema: Any\u0060 from its caller, and it calls itself at line 67 (\u0060close_object_schemas\u0060) with a piece of \u0060schema\u0060 (and at line 70, line 73, line 86) \u2014 and nowhere in \u0060close_object_schemas\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 \u0060close_object_schemas\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/requests.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2b3cb1f4e4e83dd0401c3382af3942b66b8c64abd08e5c744b9fb894503d82"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060annotation_allows_none\u0060 is public and takes \u0060annotation: Any\u0060 from its caller, and it calls itself at line 41 (\u0060annotation_allows_none\u0060) with a piece of \u0060annotation\u0060 (and at line 44) \u2014 and nowhere in \u0060annotation_allows_none\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 \u0060annotation_allows_none\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/adapters/utils.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"497e79738bcc97fb93d4f2d886c5aa8d31b8ef54b9759618bd29039a09d5b0a7"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 114 is called with an argument built by \u0060list(signature.fields.values())\u0060 (line 114), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/copro_optimizer.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb08d961673350c8cfa29563f89566042c1a502e2ea6ee35315f1ba8c6605da"}},{"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":"dspy/utils/parallelizer.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"113bcf4963521930a2c58710572492a9452c5b608fcf3f4b896b0c5beded23cc"}},{"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":"dspy/teleprompt/gepa/gepa_flex_utils.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ccbad6e4e84e0410063012f168e96db1aab3e916591babdbf0f80d4ba95272"}},{"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":"dspy/streaming/streaming_listener.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d3cda9d3def00555b331fbcc9df5358c8c05c33e1071aa33212767a82fdb1c"}},{"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":"dspy/streaming/streaming_listener.py"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1fffd49a3e60a14c23f9ee4226b11268bab014b0ad44d36ae63886d0c07e6d"}},{"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":"dspy/primitives/base_module.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f3e81a0fe17c1d6dd1bf819e8dc84904c16cb96efc3b418ef69a956ca338e3"}},{"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":"dspy/primitives/facade.py"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9bf415e4f220850d2d7b8948fb22f85d6679151a6324e2b9c115fb893c0101"}},{"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":"dspy/primitives/facade.py"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"5797d3feefa8af892fee815c8e62ff043f389eb8ba303c7d421cbc59afad7881"}},{"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":"dspy/primitives/sandbox_guest.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"49af38d7d17c9ab26ec4252b06e59d21eb2aadb71476b7521fb0f4a76fb6ea8c"}},{"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":"dspy/primitives/runner.js"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d63578f888992ea1fbba1a76cd6d97e70e61169f95090545d4a8bb39463964"}},{"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":"dspy/primitives/runner.js"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc8ea37825702f96f2a940036acd4a648569d2c66f8f748b75be9b34af54671"}},{"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":"dspy/primitives/runner.js"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a76a83bcc4fdf8b214692117a32d620f9d88b1695fb61c45b17599c3b05dd45"}},{"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":"dspy/primitives/runner.js"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fbd2083135d4297d43cb2faa58896608fc52e4665da37062fcd18693acbff2"}},{"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":"dspy/predict/aggregation.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d49fda4690e819a782bccc2191502d249bcd0136e8d143faca9b1fcc992463"}},{"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":"dspy/predict/react.py"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ccd82f8a0ccdff4c941640a40d322fc28f335e75aa7a98ffa3f9672fef3dcb"}},{"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":"dspy/predict/rlm.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f6bc2a8de7073461ca04822c028fee535df80d1c10a6eaac031e3cb081aeeb"}},{"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":"dspy/predict/rlm.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a962ddaeb80193211ca01674dcd96dcb3bb6c6d0d5b28302da2eb700c1ee3d"}},{"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":"dspy/clients/costs.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"18df7133f6c1fea5d0457a9bc4186c77408409c96ad90a24beb8922077c7c316"}},{"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":"dspy/clients/execution.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d8ed61443f13979daba7d8c564a84845e142ec7c59e66e685f62bbb375f6cb"}},{"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":"dspy/clients/execution.py"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"242c3c67392fc3165aef3b417220c8adc6471eb9ecafaa4afa2c3bacc82ad8a4"}},{"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":"dspy/clients/lm_local.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd0de2610b0f1913d89e9abb16aa30322dde24d71b9195e492bf33d9e8147f6"}},{"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":"dspy/clients/openai.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"25669eaed50831d6d46e89d0788d8e5c248634d3365defa63df6fddc5f156aed"}},{"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":"dspy/clients/openai.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"990233306d0a4d7bfe0d49b523a15ab7d6fecb4c73b4a78444fd9fcd2c0a3aef"}},{"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":"dspy/adapters/types/citation.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dda505909c4574b68f58b9961deffd5bf0f485ebc7cabcfbc01cd912807eaf5"}},{"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":"dspy/adapters/types/reasoning.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"082b9a25d0fea953b595854ed3ffab80c7483f0ea174fc12b73a6a3bdc7119ee"}},{"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":"dspy/adapters/types/tool.py"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"353ca2cd3d359a9a45c82d027e03edc3e20661414cce0282fc5c6c73bda85c3a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 337 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/utils/callback.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d664392d2149ee9e766d5d13bcfb292f485ab86507ac897be10008674e6d35"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 356 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/utils/callback.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e788cee0741b792f12ff43288ea8c1511e2d4b71aeb72ef1ffd7b20a7173e7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 89 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/utils/parallelizer.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e354dd80b616e1ed21044b91251dfe0ae2d3d7f2bc73bf57d980e9e4320fbff5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 91 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/utils/parallelizer.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8045e2c0aa456162eb159b2445d4a0e22731907c613b623436629e53039a124"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 57 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/utils/saving.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ce2feb4aa67f7c1493af13aa04022a324252f0295aa203a59c57ffb1c9ed86"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 277 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"334c242c59c59d40e75cfa409c7f6e8222d3b9d3099669d193945afe26df798c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 278 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"57eb144f60108903f4a45f6ae3b4e503d470d0af94d99f797a2ed41ae58df309"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 279 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b69af8773e29d672c0f251cf09655de4e34c3ed51707d925c48b67139b4adc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 302 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56166b328b74e6e8b3dbee3bd8312bd41179a958dea3f1be15ca5381dcd45c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 303 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb24ba3705d8cd2f449aefdda8d6e2e0c492d6b031e3526a33b8d835fcbad4b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 333 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"b149bb333043e6eab0ea4b6eb549fdbaaaea9d446d52ed6287b455c23b46d36d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 340 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fb503c39c0d7d16373b5381232fce04dc3229eec7c2adcdf4afa884e932928"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 344 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2854581a79febbea5993c5d82073705637b5e707862af5102cab3f42fbe825"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 438 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d21a8f707304b863a48db3218b54dce212de42ac28bd2c31074397bfc0d342"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 445 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b73810dcafe2827c9458605252dd5b1d1580704047a0803f98fe8c245aa149"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 446 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec1f9819e472fedd210232716bfa24a4232101a476d248afefa59f1018bc271"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 447 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e5146447e98942779e094db360b0dd7091e7f39052145262aa8e1948a164a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 467 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"382d6de0c5c0ba0677c47ceb6db12d906e5e8761ba5b4b9fe203c71d0d6b2712"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 469 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"3638cdfcd31fe34599b3a98ecf4b9f73986337aa9508854dab00a97c736cf3d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 473 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"db71ff88247443e376b7d2c0ad181e2e86dfefd03bf2d695ea95688bd57c44e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 476 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f6c045ba4f563e453fd4768453edef3061cc65c856160e9de43d4ae5f82bbb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 508 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eff3f17c6cdca35215d4e1df488b56eb6224adae2f38e22ed497bd6b60af7e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 510 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"2100f06d5a164957124729dc1cd40860dc279ff80744dbad332422d9e5396641"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 511 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"2471b0c1d60f8a370d8d4d6e250b2c42a0e8fb6693ae1693539b7b4707df2243"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 543 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fef97f3aed989a426a6acedc589f47828ebd5eee6f33b5d241c21f859aa3bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 559 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ed44ea3db9c2d5133a8e3095500e97d2754776856d0b69dcadef5021bdf7bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 621 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bettertogether.py"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"81aa76515e2d47f2de332d4ad4f33e6a4df6282b3d98a11a00f61e23a60bfeff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 224 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bootstrap.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d12bc81117692c74599ffd11fea102b476194419b28a0bc633b701e9578325"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 93 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bootstrap_finetune.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d6e80f803687276a34e98e89e4e4d28751d3265c459747ae9175b1b696822a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 115 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bootstrap_finetune.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceea34b75ddca5d9fe7b5129f3d323851526d924df551320b025be5c4e945c02"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 138 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bootstrap_finetune.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0de545ee855b856ff1d8612eded3beeec927b489255a478709afdf6517ccb3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 163 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bootstrap_finetune.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"597bfc1dcca2d50d7ff2b2affc35f309154bee63fda1f5906616a0308f323aca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 170 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bootstrap_finetune.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a205c36a7a02da68b607269e147898c564fe8e9877f9ec67a42a583066706a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 172 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/bootstrap_finetune.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17a1967551fb5cf4f2e31d1a5608032a762dbfa129053c5b98fb83cc0f3b6c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 113 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/copro_optimizer.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e2cbd965c4bea0d6666a67650f2cb170241faa71dbcf44842c50fb5f2ef57e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 114 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/copro_optimizer.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3882c5a22f3eaf7082d4f8a7938db8bbd62d2f9f15b96d3402f5dad8c2e7c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 177 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/copro_optimizer.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"617ac6833ea0f7fb4cd5e2ce6892d2b3ab395f436b052a5795937e388c0a57ac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 188 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/copro_optimizer.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"765bae7c4cd75f7033245aa89681b5022e1dadd93e8834e7b18ddd7901ed6aa8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 221 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/copro_optimizer.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aea5de54353f2191087a42c3acfee23d3b993ce822d8793b1d03630582e1859"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 223 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/copro_optimizer.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e0c39e86e1e574646f8cce86ba699a910bc4488cd88eb2bd55fa8e447e1e2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 229 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/copro_optimizer.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"b416a74c8a013e9c4a7d868ee20d8f234e0fb3dfff90a6b3c1429558b2d1e767"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 233 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/copro_optimizer.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"415eba7937902d51cdf3a9be8b5dc7db1e8ff6b4154e91fd7f6b834ee47aa063"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 269 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/copro_optimizer.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"969f989ee5195d85777678e05206ff2a63e0b6179ee9037c70b078f52081892a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 275 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/copro_optimizer.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2b0603a88514e27fa0247e2748746604867ef2c7f4920c0a57f3bb7f156a6f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 100 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f535751c154e455195149d928afc606b3785293070ba3c2d09f1de64590d5e14"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 135 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f271511239385ae7964919ce098efa5fc1376d824a94473cee1428a86628964"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 142 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8f5adece25a61b62b4bb6c313238ca14af3796649dcfb7382aaa85c3274f7f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 143 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d96cf51e4d0b010309c5af2a4db5ec72b9f5b30c75cc54357ada9762c9a8b00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 145 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d2cb127d8414f32a5144ff6e41228a6d4aafaff82858a4981e297ce2ac47d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 146 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"202f2ed52d555b9edc66bb595c5ce3529233904605176acff6cb3d048f62a2d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 161 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1cae1241d6cd7591ce17caf3d1320ddf33bd4b84dce27e55dd423c0cf50930"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 164 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0b731c1741501c4b441a3c665e3d214420cdb1df68951b4074b0ec3fbf4265"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 166 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f532f9035f7078fe005a0cc11be1da0db74a6000fe1c3af822bc78d56d4073"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 185 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb889618001a1f4d215713a5fd870f1aa7b5c29565b8eaf23dbd2f3e3553f60"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 188 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2e96da5157e25efabd506e27ebe16319663e756ef753f7f76c4da09743710a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 190 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6679ac6d652e8a4a921c56235e46fe29cb8e026f87796f9c434c7099995fd13e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 222 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f7ebb802795c07f39b5fac09d548a408b7451cb5be4ce41922e1582e75f6f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 250 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"1299269707266df77039675c4c23077a52f11af29e27e59afd784530c039180b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 256 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f125e948f619a1c248a4cf7aba23514bb7a47b315a2cec9afbc22342c7892f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 353 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"6485dce5ac1f5cc345218f199bc7c9f4c2e0afb56f037f97bc5dc269223171bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 427 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"52461b6e9dbc7a07d31e392c0d142be2444bec6f302723a1285b17e5cd1b0b29"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 430 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"945bd4812e7065ba3929f24963332164d842677b1cc560457ad94bbd88245c43"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 435 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"e134b63b3aa3fd34d4d2dbab30c5ffe934927f0d63291afab31c5332845ea5bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 489 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2b653f2aea31b759afc2bdfe3cf3d40f972a04f80b5209b188b7c367d84dfa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 518 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7fa445431f0e033ab76a27e8f9e8bae94eee075b143a8597b35fa1e08c45ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 522 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd91e86979e8eb71d72a6b7166a99095b2610eb74b37d30578fc4b29c221250"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 592 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/grpo.py"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1e6a21ae5f354db63b864b47594cf24c935855ae3bd0848c9fcfeb1ba1175e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 55 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/infer_rules.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"57927fe4d92840dad5fc8ac442faadf8e76984090105515036cfe8bf9effa2ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 57 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/infer_rules.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f953d0fc42805061bc5c43ca8fc6d12edff9cf7f992a3881f5c77c95c534e35"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 344 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b788bd23e1b9e2cbe017e4fab541d6acdfe8e18d082098047e0dbdfef42b43"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 422 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9ccc79a77fa9aa0086c49c9eb8b9e8c5f84debbf029e74ae65b7efec72d55e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 489 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e52a68bc1bf2c1d8067702bba0bc7eb785074a433473c2e7f27740a2b635468"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 499 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5d9142c7be0912ca801ff41a5445aa811e4a335cdd4916e7adbca6d48d04b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 502 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e63a17f5d81fa3e8c784e1df32030ebc71110fe9163a84f541079e51ec61324"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 536 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2a762c7e7ff2292e5d090720c9bef3886e811a2b6bc4a320838fe30fa2b1fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 539 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead7b5ae2e233dba52c3d76f3508c957b0abfc5b396a7831d9ccaa6b0b8f786f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 562 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f85f06c26972efecb01cb8dea2d6d2a15ab1678e4fab8872dbd01fa139c2f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 564 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ecb8a6e970c817bf2f5934626be10b425d38c2759be363cc36b4e6b4b8273c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 595 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6ac7780692adb7bd9e8896d9b44107b4637af6d51ac4f397f897e6ed9b94ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 690 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1da0c61b0a741150df5338d242ba1fc018117f55913a226d2b52d5b228c4edf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 713 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"354827acf2d10cd87381b267422f5894a4da32eec8eedff68bb0b11525ac9f96"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 715 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbda2b0b4ca1ef61d8938768a29c118009003b8fef44a05d81d6cdab795b9ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 718 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bea47c35b10ca7b0345d602d898ae22f31601db70250cb9bce48affec9e9c83"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 719 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0390187562632dc5a4c38a3a3835078f190dac001f0ae3c362df4e9e197fb6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 720 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f78fe496d29db57720d8c2b119692ebce7f0ead3baf8ab19bd68cd019c78b47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 746 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b02dcf5c6819976f78def297c89d1075105fa9336d4f4812de409af99f1bba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 748 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d6d4cc0383a29c6e29cf6a68da33475d952d1f3ed415c35a8ddf61fbc7086b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 749 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec4d9a5b4bfe04b151f8c20ea615d314250e777328981be8cdf0f832d986553"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 750 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7d6e24c640d1099e4196f74d7a3dfff136802c226130a9913e54e9be6a4a93"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 819 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"395369b4fc9f131af4328ce7f41bf25d41e36488e316d95bfef0eec0055fc517"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 825 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"7296365e08c754b89561562042ce74726cf0dc63f1d56b459e15d037d5affa42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 856 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbf735c82380a5a57b4d602edb13b9c81811a74bc5a9d65579cf3997aadba9f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 861 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bde5333d279fe08ca6f14f1646f94687d0f4f4d17009116a6eb21de943aa530"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 862 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/mipro_optimizer_v2.py"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"791663382281e25935f6db22300a32920f06676f3120eca5bbd5223154f1d6a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 175 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/simba.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"167432992058848e8073421033bdd0c62cdd017a2f8604b9fc26283e2c0af0a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 209 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/simba.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"abca3e693e6d5d68c7b18581445c5fc41cd7655a23bce8304771a85fe21446e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 241 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/simba.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"f686c4b0cf05871ab101d47d01556a0e4f6e6041acc281256e9c7c6df432e5a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 247 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/simba.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf7713629a9e20d91ceb08868d34ef0fff3ec7f3e9d222b33c13813aab71c86"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 294 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/simba.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ae00b6555d4f9e2482f189c58d118a7b222ed32106a02faff2fbb485458cb8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 304 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/simba.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b1246df4ea41341e0561b389bdcb9cd51b63323dff7554057a4c1573fabd88"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 319 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/simba.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac85623e5b79d0797f1551ddad25f6089f6be4c3a05c00b8c4f6f69057da783e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 347 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/simba.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b153dc56436c10d3f0e8f7308837c1c91d8282da9bad9f6d96dcafdcffab94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 368 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/simba.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"732f836d120b6546ba4352c84f407a980f1311dae4996dcee142889bce388803"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 83 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/simba_utils.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c894b7ae337ef47ca0ca9efcb667683857e58d9eb16d40c0b8f8795ddc49334"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 102 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/simba_utils.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"029fdaee661dbb4567f4907ba0f62f63a847e3796468baf2ddb419a0ac9165e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 118 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/simba_utils.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a69a7970fad03b55533829e4b357477ad6946c206e6ff1bca96da9bc315cff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 168 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/simba_utils.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c001bb156a05cd1531f93bd43abaa647718d232c7a7e34ad603b3bfe1e449b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 583 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/gepa/gepa.py"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"669d2e27d36c17bd3d0f9921389cf6241c140ca08c89a5626ad86f1476759946"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 596 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/gepa/gepa.py"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2ada30fbd51c9d5810bbee626db88b1e4ac692a721f137d8808e948cacf01b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 600 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/gepa/gepa.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c88e5279b250aa1a656ed06b945f40239875a6d558bdb1638c0f2aaa0920751"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 465 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/teleprompt/gepa/gepa_utils.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2ccf870cfaccd001feccb603465def5d4ee1597940cc3d8fb1ef586e955305"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 120 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/signatures/signature.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"659ef79fa4305b8695870df6debf8e995f446185b5b1e3ad00ce7f3aa5dba8f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 135 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/primitives/base_module.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"753471d6b69b9704c71f731a97c4c62c1c3b64e9e029fe96909b436f02725d5e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 282 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/primitives/base_module.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47e6550f375461a4b27a36cf4eee4e5e33f9f9c80b80a2ac688c56dae4c0327"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 344 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/primitives/module.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fba7b176eb3238af37648d430157605ed390bfda8e1328f1c58a41fef94b1c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1070 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/predict/rlm.py"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f39150a5a56379a3768160f928936a796ede4053bb284ef4aafa0245c61f1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1228 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/predict/rlm.py"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6c9b305de7fef04461b6e9355f4a100981e33f9e7f297f8948be8f5a5ed5b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 161 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/evaluate/evaluate.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3d8886f01c745fbdcc1bf652f345cc078a83e1bc0f3a6e3c10b32c695ef851"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 185 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/evaluate/evaluate.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b1f6eecc96d2e3ce8b1dadb2676474766d28664de607f120662cc1931a1aff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 94 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/databricks.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6427ff14c2331fe8d728c9256488c1a44cdcc34fbcedc7bad1ecc87038bd30"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 114 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/databricks.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"874c9b667b8b384e1e5be043b03c14b512dcfe6874b55f4105f36ee3a9e797df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 134 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/databricks.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0e2cbbc2a43fae295db708e7c44fc2d4c853890188d73e4e5f23435c46fc16"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 140 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/databricks.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"22fb818785a0a8c30f717a01cd456b3e42f9d35d0601a8517fec0556f82958d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 158 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/databricks.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14746eb821cf2123e8b65baccf048e20cd562c7f3a2eba999b82cfc1b4dab34"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 298 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/databricks.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1c7bef1f2f156fd5ba0e3b57d6447879490cc35a6cbff790674974726e9a7d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 301 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/databricks.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41d1db40ac6c9e1f8c85ad54e071b9db5d660f6a039dde41dc17601531166e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 303 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/databricks.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"048b36ec7a01a7d0559f1c67d293eec9bffe3cc3cb163c60298dabcadd07860a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 54 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/lm_local.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d48df475c7bf708c7d35e9e8c3b2f4fb4279cd036d77acf9f7145c3d8b4e54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 55 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/lm_local.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a61c68dfacfaa301fff551cee8690c5c8403e7c013a686f2a5f3b76780eef3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 80 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/lm_local.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91a9f32995dfee6fcabbe773431c4e779f729aceb6cc5a6c983ea07337c6128"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 122 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/lm_local.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2346e21cb3cd56d049ca816e5c4fb00a7d004954dcc045c176ebd8f59bef3b0c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 162 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/lm_local.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"534febc7d003ed5bc5f88b3acf6616a31d304f833512433c1fe78f998d7e01a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 180 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/lm_local.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf0544e89a1dc71c39b918b56f228bf9d74df37a5694100f6535c6c63a86de1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 214 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/lm_local.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c65f78cf623629cff577cc4106eedbdad9a285cfc0ea09896b377eb388ac36"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 232 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dspy/clients/lm_local.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae046ba938a6468a0cd1957256dc1450724962e71c75c971d1901c8c4fc8f8c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_json_body\u0060 returns \u0060{}\u0060 when \u0060ValueError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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":"dspy/_vendor/lm15/cloud/chains.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b379d63be7033e5a2d609b781f72b44e1fafd4badd729651ba0bf65f8af2fc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_redacted_url\u0060 returns \u0060\u0027\u003Curl\u003E\u0027\u0060 when \u0060ValueError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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":"dspy/_vendor/lm15/profiles.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f408d6e96862bd540fda2eb28595c60f95be1932d817ce540c069fc7d469eb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060n\u0060 (in \u0060_anthropic_batch_status\u0060) returns \u00600\u0060 when \u0060(TypeError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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":"dspy/_vendor/lm15/providers/anthropic.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5ab4190d48d049c194a87099c654cc273803832f0a6fc94617ebc8581f868e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_decode_live_server_event\u0060 swallows every exception into \u0060return []\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":"dspy/_vendor/lm15/providers/gemini.py"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f9e1e8ee93c90d15b7f3fd54305e24e96cd661fa8bb4bfc58596ba3aea131f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_decode_live_completion_stream_events\u0060 swallows every exception into \u0060return []\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":"dspy/_vendor/lm15/providers/openai.py"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72559962982a3300d5dbcf4ed30c69280c5588b39238e8b2c09f25b04e5c90c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_decode_live_server_event\u0060 swallows every exception into \u0060return []\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":"dspy/_vendor/lm15/providers/openai.py"},"region":{"startLine":1823}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb7907dcf3059e6d5bc6d1b34c967a1d9e4c5da3ddde94af2eeec13f609d996"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_metric_scoring_kwargs\u0060 returns \u0060{}\u0060 when \u0060(TypeError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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":"dspy/teleprompt/gepa/gepa_flex_utils.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fac97e175fa37d0e853769050c37ed7bc0cc0d5db7ac7a9d1156cb1776993f3"}}],"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-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-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"Deserialization of Untrusted Data","shortDescription":{"text":"Deserialization of Untrusted Data"},"helpUri":"https://cwe.mitre.org/data/definitions/502.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-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-611","guid":"1afbae66-ea29-2d59-aaa2-134e3ae2e85a","name":"Improper Restriction of XML External Entity Reference","shortDescription":{"text":"Improper Restriction of XML External Entity Reference"},"helpUri":"https://cwe.mitre.org/data/definitions/611.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-95","guid":"400bba4e-483c-5c50-a695-114fa9168003","name":"Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/95.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"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/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_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":34,"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."]}]}