{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"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":"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":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"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":"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":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"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":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"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":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"PortfolioPage.PortfolioPage (cyclomatic 253): PortfolioPage.PortfolioPage has cyclomatic complexity 253 (threshold 15). Of this number, 105 points are the body\u0027s own statements and 148 belong to 40 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f3c181676dcfd1fa48a7ad89f9738a10d882c9430f729d1dbbe5b67cbeeefd"}},{"ruleId":"D1","level":"warning","message":{"text":"StockScreeningPage.StockScreeningPage (cyclomatic 251): StockScreeningPage.StockScreeningPage has cyclomatic complexity 251 (threshold 15). Of this number, 94 points are the body\u0027s own statements and 157 belong to 41 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f0e0e3b787f84ddd1ebdb3a7bee4aae9949b00ee7d73de954559491751af4b"}},{"ruleId":"D1","level":"warning","message":{"text":"HomePage.HomePage (cyclomatic 213): HomePage.HomePage has cyclomatic complexity 213 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 170 belong to 59 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/HomePage.tsx"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"6578a43b333d95b13ff358397d3bd36145c2452d99a3ed7b9c9474774732d8b6"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsPage.SettingsPage (cyclomatic 169): SettingsPage.SettingsPage has cyclomatic complexity 169 (threshold 15). Of this number, 115 points are the body\u0027s own statements and 54 belong to 20 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/SettingsPage.tsx"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"99afcdad410a87363c8d8e46fffe83fa69b72b62e5d6774a8067ccdc14a934ec"}},{"ruleId":"D1","level":"warning","message":{"text":"Config._load_from_env (cyclomatic 129): Config._load_from_env has cyclomatic complexity 129 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config.py"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e010786ad6cb4a8c3334138e51622e8121704e4ae4c1257bf53f684bbbdc2b"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.validate_structured (cyclomatic 122): Config.validate_structured has cyclomatic complexity 122 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config.py"},"region":{"startLine":3261}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50ea49bfbcdac4292cd5be5852c1f1f82aa3fc80a488a3a62d14622bbaeccf8"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiAnalyzer._format_prompt (cyclomatic 109): GeminiAnalyzer._format_prompt has cyclomatic complexity 109 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":4353}}}],"partialFingerprints":{"codehealthFindingId/v1":"defd6b20977a0e69526791335b39494ebf2a187467ce9ff6237e32bb50f85c79"}},{"ruleId":"D1","level":"warning","message":{"text":"RunFlowGraph.RunFlowGraph (cyclomatic 94): RunFlowGraph.RunFlowGraph has cyclomatic complexity 94 (threshold 15). Most of this is not in the body itself: 6 of the 94 points are its own statements and the rest belongs to 25 function literals inside it that branch (lines 568, 746, 392, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdafdc1d1f4233fcea994733fa8d143461af5a9cdbc8f72d31b9052aa9ef4368"}},{"ruleId":"D1","level":"warning","message":{"text":"main.run_full_analysis (cyclomatic 90): main.run_full_analysis has cyclomatic complexity 90 (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":"main.py"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ba9fe3a76638aa85790162bf0e1f45029729da091f68aa41e1586932fdb4dc"}},{"ruleId":"D1","level":"warning","message":{"text":"DataFetcherManager.get_realtime_quote (cyclomatic 88): DataFetcherManager.get_realtime_quote has cyclomatic complexity 88 (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":"data_provider/base.py"},"region":{"startLine":2441}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04aa270259a9b67851b1e137ae6d9846d01b19489d4f29dfdbad57b654021af"}},{"ruleId":"D1","level":"warning","message":{"text":"StockAnalysisPipeline.analyze_stock (cyclomatic 85): StockAnalysisPipeline.analyze_stock has cyclomatic complexity 85 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b249e6f79abdbaef4e6289180f9cfe13bd375e8e35cb9707d13683fca0ab36c"}},{"ruleId":"D1","level":"warning","message":{"text":"StockAnalysisPipeline._analyze_with_agent (cyclomatic 80): StockAnalysisPipeline._analyze_with_agent has cyclomatic complexity 80 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a2bdb73b1bec1c5862200198a7bacf42cf57f4a950c877af9ba9309be3e76a"}},{"ruleId":"D1","level":"warning","message":{"text":"main.main (cyclomatic 78): main.main has cyclomatic complexity 78 (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":"main.py"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"f981e8dfedc4c54e3dfd259a04d711358279a89f69e80544df207453e9aeb54c"}},{"ruleId":"D1","level":"warning","message":{"text":"stockPoolStore.useStockPoolStore (cyclomatic 77): stockPoolStore.useStockPoolStore has cyclomatic complexity 77 (threshold 15). Most of this is not in the body itself: 1 of the 77 points is its own statement and the rest belongs to 22 function literals inside it that branch (lines 886, 714, 851, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/stores/stockPoolStore.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b45a094a191d9c861b2774ebb6ea5be0b82a502a782f000c627401f620f200"}},{"ruleId":"D1","level":"warning","message":{"text":"StockAnalysisPipeline._send_notifications (cyclomatic 75): StockAnalysisPipeline._send_notifications has cyclomatic complexity 75 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":3806}}}],"partialFingerprints":{"codehealthFindingId/v1":"f166547c107be2c0ba7bb7590e1976ac39d0de13a9483a09c09bdcae800354de"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOrchestrator._finalize_dashboard_payload (cyclomatic 73): AgentOrchestrator._finalize_dashboard_payload has cyclomatic complexity 73 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/orchestrator.py"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c76a6e6a151312935229082cc37390502d5d4952c36b9821872efa7e0935849"}},{"ruleId":"D1","level":"warning","message":{"text":"pipeline.screen (cyclomatic 69): pipeline.screen has cyclomatic complexity 69 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/pipeline.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca141f04064762f705f1f7b108293fcc1dda12d94739664cbbc38e5c47c3c19f"}},{"ruleId":"D1","level":"warning","message":{"text":"YfinanceFundamentalAdapter.get_fundamental_bundle (cyclomatic 63): YfinanceFundamentalAdapter.get_fundamental_bundle has cyclomatic complexity 63 (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":"data_provider/yfinance_fundamental_adapter.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8eff25831dc91f164edc6d44a7269067864a0f69b29f29ab958403808008ddf"}},{"ruleId":"D1","level":"warning","message":{"text":"LLMChannelEditor.ChannelRow (cyclomatic 63): LLMChannelEditor.ChannelRow has cyclomatic complexity 63 (threshold 15). Of this number, 59 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"444e65555b01dda3ab696f8c3bb2bee4900f7ec508d292880bf49485fb6f8828"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationService.generate_dashboard_report (cyclomatic 60): NotificationService.generate_dashboard_report has cyclomatic complexity 60 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"876edf571fffe45993f123da8ccbff70ce56f2ab2f07a6cb1060b2fed8e09083"}},{"ruleId":"D1","level":"warning","message":{"text":"BacktestPage.BacktestPage (cyclomatic 60): BacktestPage.BacktestPage has cyclomatic complexity 60 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 37 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/BacktestPage.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da6e3d7ac1d498bc8d9335c67b27004e5eded5e5e34b688138ede2aee3939ae"}},{"ruleId":"D1","level":"warning","message":{"text":"share_image._market_data (cyclomatic 59): share_image._market_data has cyclomatic complexity 59 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87c3b3515e5765fd9a14c87e8e6f3ff66ded9a68a8a9bf94b264dbb9fbab8af"}},{"ruleId":"D1","level":"warning","message":{"text":"HistoryService._generate_single_stock_markdown (cyclomatic 57): HistoryService._generate_single_stock_markdown has cyclomatic complexity 57 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/history_service.py"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06417f4c9dba42fb960e209868248c54ca243e13636cbfbd3ae2c9f36341268"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatPage.ChatPage (cyclomatic 57): ChatPage.ChatPage has cyclomatic complexity 57 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (ChatPage.ChatPage::getCurrentStage) 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":"apps/dsa-web/src/pages/ChatPage.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f22a1c7a69a928d2671a2dae1ab1a799ae1b1a97d3034ff3d591c9147f9654"}},{"ruleId":"D1","level":"warning","message":{"text":"Config._parse_llm_channels_with_issues (cyclomatic 55): Config._parse_llm_channels_with_issues has cyclomatic complexity 55 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config.py"},"region":{"startLine":2508}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc7991b1509e33bfffb48cdcf6f2f1f8c4642cd32a21fb6b35a4da7f4f22da4"}},{"ruleId":"D1","level":"warning","message":{"text":"screening_service._attach_candidate_explanations (cyclomatic 55): screening_service._attach_candidate_explanations has cyclomatic complexity 55 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":3984}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1927570b7b8c47686c3c71db26c63ea86a099e086179d8745c67fd57325599"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiAnalyzer._call_litellm_impl (cyclomatic 54): GeminiAnalyzer._call_litellm_impl has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":3638}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07176bddcfbceaffd65917ac83ee9ca97740ec3be30c5d487ea07693070b23a"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchService.search_stock_news (cyclomatic 54): SearchService.search_stock_news has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":4021}}}],"partialFingerprints":{"codehealthFindingId/v1":"186ba4c7a61ce66f370cfc29cc2148c5b5aec4ad3ac26cae64d66f83316cb251"}},{"ruleId":"D1","level":"warning","message":{"text":"IntelligentImport.IntelligentImport (cyclomatic 54): IntelligentImport.IntelligentImport has cyclomatic complexity 54 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 34 belong to 14 function literals inside it that branch. 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":"apps/dsa-web/src/components/settings/IntelligentImport.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda79116c7b8c25e6471feabcaf71750aae47ee1778e724b7c759b58f97b55d5"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemConfigService._validate_value (cyclomatic 53): SystemConfigService._validate_value has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":2651}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17b67c108de2761bf79398a6f5b44c6ea9b2b891743bb4fff3add9cdd37ebfb"}},{"ruleId":"D1","level":"warning","message":{"text":"MarketReviewReportView.MarketReviewReportView (cyclomatic 52): MarketReviewReportView.MarketReviewReportView has cyclomatic complexity 52 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 23 belong to 10 function literals inside it that branch. 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":"apps/dsa-web/src/components/report/MarketReviewReportView.tsx"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"787451e921b454e298bd99edd1f64302ac7b9cffa3453da20f8129bdda540a59"}},{"ruleId":"D1","level":"warning","message":{"text":"RunFlowNodeDetails.RunFlowNodeDetails (cyclomatic 52): RunFlowNodeDetails.RunFlowNodeDetails has cyclomatic complexity 52 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 24 belong to 10 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowNodeDetails.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca82f880cea3d90e489f01f3a6558ca055d4724bd0c010192fd2d5331adf6f3"}},{"ruleId":"D1","level":"warning","message":{"text":"DataFetcherManager.get_daily_data (cyclomatic 50): DataFetcherManager.get_daily_data has cyclomatic complexity 50 (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":"data_provider/base.py"},"region":{"startLine":1927}}}],"partialFingerprints":{"codehealthFindingId/v1":"499df5d3b9f67eca0ac3c658154b3c38a548b3dae593772460fd18d1c9586f3f"}},{"ruleId":"D1","level":"warning","message":{"text":"DataFetcherManager.get_fundamental_context (cyclomatic 50): DataFetcherManager.get_fundamental_context has cyclomatic complexity 50 (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":"data_provider/base.py"},"region":{"startLine":4308}}}],"partialFingerprints":{"codehealthFindingId/v1":"7066d12e8b6dc95e5a8774fc93fe543d40fd3f5c72034730f3da59eb0260d7ed"}},{"ruleId":"D1","level":"warning","message":{"text":"chat_object_decision.decide_chat_object (cyclomatic 50): chat_object_decision.decide_chat_object has cyclomatic complexity 50 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/chat_object_decision.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d036b35a2ff39ef0f1779f470a21000acdd048ee3a56be2d6cb4e3c46d87591"}},{"ruleId":"D1","level":"warning","message":{"text":"usage.normalize_litellm_usage (cyclomatic 49): usage.normalize_litellm_usage has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/usage.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e5ea622a6e4a5d4e90fdaa588e8c3d63e46cf8fa8c8701b367a73e56e6fbc9"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationService.generate_daily_report (cyclomatic 49): NotificationService.generate_daily_report has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19161771cc9e3b41ec8a9e9f883f7f5e9b6adabcf27d7cbb209565270b5558d"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationBackendStatusService._parse_llm_channels_from_map (cyclomatic 49): GenerationBackendStatusService._parse_llm_channels_from_map has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c97b8a9be517ea14d5073005d306d4aa7fc0c026ad9bd69a713d24b473f0629"}},{"ruleId":"D1","level":"warning","message":{"text":"DataFetcherManager._build_offshore_fundamental_context (cyclomatic 48): DataFetcherManager._build_offshore_fundamental_context has cyclomatic complexity 48 (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":"data_provider/base.py"},"region":{"startLine":3959}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25f057bb4e4be035315e44a455b49b6c8355a44f03c36bf7a12e4d868ae0621"}},{"ruleId":"D1","level":"warning","message":{"text":"StockAnalysisPipeline.run (cyclomatic 48): StockAnalysisPipeline.run 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":"src/core/pipeline.py"},"region":{"startLine":3399}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf2d171ecd15ca468ee4a888c7712553765e682d28309a784b83ecf08ad4968"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationService.generate_wechat_dashboard (cyclomatic 48): NotificationService.generate_wechat_dashboard 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":"src/notification.py"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3ccdffd662d3073911cc60391a292cb4370b9970bf04c42ea9a9d3684741cb"}},{"ruleId":"D1","level":"warning","message":{"text":"hotspot.get_hotspot_detail (cyclomatic 48): hotspot.get_hotspot_detail 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":"src/services/screening/hotspot.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0926fc559eac0916e2ac48ebb4a88d66b90130f03d768cb760b5ebddff352e"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemConfigService._collect_setup_channel_models (cyclomatic 48): SystemConfigService._collect_setup_channel_models 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":"src/services/system_config_service.py"},"region":{"startLine":3551}}}],"partialFingerprints":{"codehealthFindingId/v1":"4843bdbfce8b40f2ea282a7105a885447d87279b5ea69bfb08656588196e67da"}},{"ruleId":"D1","level":"warning","message":{"text":"stock_code_utils.resolve_daily_stock_identity (cyclomatic 47): stock_code_utils.resolve_daily_stock_identity has cyclomatic complexity 47 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_code_utils.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ea0afdad29d0962ba03cf79fed4fa028d2a1ca1c5a4da50fbeabaf76b24c45"}},{"ruleId":"D1","level":"warning","message":{"text":"ReportDiagnostics.ReportDiagnostics (cyclomatic 47): ReportDiagnostics.ReportDiagnostics has cyclomatic complexity 47 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 18 belong to 8 function items inside it that branch. 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":"apps/dsa-web/src/components/report/ReportDiagnostics.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ed5921bf2aeb0621e7baa86d6e5dba6ec20c9e484bcec93e888e86911c66bc"}},{"ruleId":"D1","level":"warning","message":{"text":"stock_list_parser.parse_analysis_target (cyclomatic 46): stock_list_parser.parse_analysis_target has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_list_parser.py"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b3bdebffaa3f41d06d3ad6348b7e63191b540bd7a89de4cbadd9d3edceba30"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemConfigService._validate_llm_channel_map (cyclomatic 46): SystemConfigService._validate_llm_channel_map has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":4717}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d920e8d5b2f405a81f9363d832cdc878b8429ec8cee0d0c1e4797263b609a0e"}},{"ruleId":"D1","level":"warning","message":{"text":"StockAnalysisPipeline._enhance_context (cyclomatic 45): StockAnalysisPipeline._enhance_context has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d19a9054554f5b84f7917b4682934b29b5631f8fd6c823d2965ea0a9bb8c36a"}},{"ruleId":"D1","level":"warning","message":{"text":"run_flow._append_active_flow_events (cyclomatic 45): run_flow._append_active_flow_events has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_flow.py"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddb211a5f0686192e7f3c92a6306aac977987f90fcb9ee58090c79ac4b4a7e0"}},{"ruleId":"D1","level":"warning","message":{"text":"screening_service._build_dsa_candidate_context (cyclomatic 45): screening_service._build_dsa_candidate_context has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":3612}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c2ec875aae4d0a6397a09e2d909ed6bd45d75cf1d315e9d69c01322958bc5d"}},{"ruleId":"D1","level":"warning","message":{"text":"MarketAnalyzer._build_review_prompt (cyclomatic 44): MarketAnalyzer._build_review_prompt has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_analyzer.py"},"region":{"startLine":1662}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75649165276cdce5e474972985fd95c3119384d2db55be8da8efc1a571da297"}},{"ruleId":"D1","level":"warning","message":{"text":"HistoryService._history_code_filter_candidates (cyclomatic 44): HistoryService._history_code_filter_candidates has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/history_service.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"71068898dccb42cc14cd734541c3c21686535a408e12c8dd455ad6ba7ce11b02"}},{"ruleId":"D1","level":"warning","message":{"text":"web_intent_resolver._classify_rule (cyclomatic 43): web_intent_resolver._classify_rule has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_resolver.py"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb13557c73b8cf639bde6d1d45d2a608b3b7d7b60644366650d93a050bc34185"}},{"ruleId":"D1","level":"warning","message":{"text":"web_intent_resolver._consume_confirmations (cyclomatic 43): web_intent_resolver._consume_confirmations has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_resolver.py"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc972bd147b0fd288fe913cef04309a370d54f6676a309ff7039d10ae6f6105"}},{"ruleId":"D1","level":"warning","message":{"text":"PortfolioPage.buildExposureRows (cyclomatic 43): PortfolioPage.buildExposureRows has cyclomatic complexity 43 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"704d42c569ddbcb1ddaed2bc86f69a029624d6a303519f948a262fb980d39997"}},{"ruleId":"D1","level":"warning","message":{"text":"analysis_tools._handle_analyze_pattern (cyclomatic 42): analysis_tools._handle_analyze_pattern 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":"src/agent/tools/analysis_tools.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"467f84bad015060d22be53296d941b0e4a10aea28b9921901c8445ac335be3a7"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemConfigService._validate_llm_runtime_selection (cyclomatic 42): SystemConfigService._validate_llm_runtime_selection 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":"src/services/system_config_service.py"},"region":{"startLine":5174}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a98cbfed628b0b2dca0f6eabdc7dd120fe180976b3c71eda9d795797e1b942"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemConfigService._collect_llm_channel_models_from_map (cyclomatic 41): SystemConfigService._collect_llm_channel_models_from_map has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":4907}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d60e74319eeb3aa5e582afaa37864a928558a10ca4d758af1170fb38758ced"}},{"ruleId":"D1","level":"warning","message":{"text":"decisionAction.getLegacyDecisionAction (cyclomatic 41): decisionAction.getLegacyDecisionAction has cyclomatic complexity 41 (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":"apps/dsa-web/src/utils/decisionAction.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5be69a951c2ebd33c657be7bc08fa984adb138602924a2fe31db26d211667ce"}},{"ruleId":"D1","level":"warning","message":{"text":"analysis.get_analysis_status (cyclomatic 40): analysis.get_analysis_status has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/endpoints/analysis.py"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"029dc3db0e8e37dbe16b951841f5dde937d4dcfe2d2247f094b8305fccc1fe29"}},{"ruleId":"D1","level":"warning","message":{"text":"BacktestEngine.compute_summary (cyclomatic 40): BacktestEngine.compute_summary has cyclomatic complexity 40 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/backtest_engine.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60299e2c4f8bc3cef6f99c9f593f1cb17246dc3c30640ddea2ce15051ebe1e5"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchService._score_news_relevance (cyclomatic 40): SearchService._score_news_relevance has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":3186}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f741cc2b87d54219d2f2ad142ee9991c27084e334de5959824b5a908154ea3"}},{"ruleId":"D1","level":"warning","message":{"text":"share_image._stock_data_from_payload (cyclomatic 40): share_image._stock_data_from_payload has cyclomatic complexity 40 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f6aa80cf4fb1dcd938d5414e6ae0dee7bd4f7760706198a984f1d117b4e6c0"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionSignalsPage.DecisionSignalsPage::renderReassessPanel (cyclomatic 40): DecisionSignalsPage.DecisionSignalsPage::renderReassessPanel has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (DecisionSignalsPage.DecisionSignalsPage) 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":"apps/dsa-web/src/pages/DecisionSignalsPage.tsx"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"91139820e390ce16f38b41235e574d36277fd8bc7ebbb7114a0a37f1872ae197"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOrchestrator._execute_pipeline (cyclomatic 39): AgentOrchestrator._execute_pipeline has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/orchestrator.py"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"72182b09e088189f9e98bea98a5748858f87e9bd8194a65b7a1c209988f6dd4b"}},{"ruleId":"D1","level":"warning","message":{"text":"stock_index_loader._validate_index_rows_semantics (cyclomatic 39): stock_index_loader._validate_index_rows_semantics has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/data/stock_index_loader.py"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0c52a1c40f6eb028c8f9e17f9bc50af491e86ed7e76a29e4d828765c10a158"}},{"ruleId":"D1","level":"warning","message":{"text":"PortfolioService._replay_account (cyclomatic 39): PortfolioService._replay_account has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_service.py"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"e075ae761fca6b5b6a1c3164ed52d0db6e1c17114161ae757a801b3ae04876f7"}},{"ruleId":"D1","level":"warning","message":{"text":"share_image._stock_data (cyclomatic 39): share_image._stock_data has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bcb1db49e95e3899fd18fb67d058bbcf61845c0e56accfe7168bb3ba3ea1f1e"}},{"ruleId":"D1","level":"warning","message":{"text":"web_intent_resolver._merge_llm_result (cyclomatic 38): web_intent_resolver._merge_llm_result has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_resolver.py"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b85a3809eda07eeaa0fa7a9ce29d6a4f26a44f25f911798d1dac6c7c590ffe"}},{"ruleId":"D1","level":"warning","message":{"text":"StockAnalysisPipeline._agent_result_to_analysis_result (cyclomatic 38): StockAnalysisPipeline._agent_result_to_analysis_result has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":2134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5271c283bc95de2892761aa49f16cc242d514125b75862edc7ebf571de565f98"}},{"ruleId":"D1","level":"warning","message":{"text":"share_image._market_data_from_payload (cyclomatic 38): share_image._market_data_from_payload has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22aa9928bd6dfdba086906f072adfb0ba9afddf1a1a8c29091348532a148009"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthSettingsCard.AuthSettingsCard (cyclomatic 38): AuthSettingsCard.AuthSettingsCard has cyclomatic complexity 38 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 16 belong to 2 function items inside it that branch. 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":"apps/dsa-web/src/components/settings/AuthSettingsCard.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d01004a57195bbc82364b52856478d0fcf516200b79d2883d9f11c1aec11be"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionSignalsPage.DecisionSignalsPage (cyclomatic 38): DecisionSignalsPage.DecisionSignalsPage has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (DecisionSignalsPage.DecisionSignalsPage::renderReassessPanel) 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":"apps/dsa-web/src/pages/DecisionSignalsPage.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"af95c1e013f6a6a51173367ed159000268f9f5d0d09430b0c8656c55c0062787"}},{"ruleId":"D1","level":"warning","message":{"text":"YfinanceFetcher.get_realtime_quote (cyclomatic 37): YfinanceFetcher.get_realtime_quote has cyclomatic complexity 37 (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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"a963064332f39b94d06229cd465ccbf725d80014b2cca4b6703e0952cc75c0c4"}},{"ruleId":"D1","level":"warning","message":{"text":"web_intent_resolver._token_facts (cyclomatic 37): web_intent_resolver._token_facts has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_resolver.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"b315f32900d971c9cec9155b033eb61721eeacf123cae76285efc45238b14ad2"}},{"ruleId":"D1","level":"warning","message":{"text":"analyzer.stabilize_decision_with_structure (cyclomatic 37): analyzer.stabilize_decision_with_structure has cyclomatic complexity 37 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5be19525d9ada8a11e5067bea8e4a4c488d0974f288108892fc0b588f3568c"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalCliGenerationBackend.generate (cyclomatic 37): LocalCliGenerationBackend.generate has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":2095}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cb5aa0b9dfd3731c070f2d0b12fa5eae0306950c1f5c3b23c85fc09841a14f"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.run_agent_loop (cyclomatic 36): runner.run_agent_loop has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/runner.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ccb838bd87927da553b9190a011c540cc4db965cca643e1b5eafd5047916252"}},{"ruleId":"D1","level":"warning","message":{"text":"screening_service._normalize_candidate (cyclomatic 36): screening_service._normalize_candidate has cyclomatic complexity 36 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":3861}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d43ad13494dec487c34a18e306f416b09ec5b53a61a72f2a50bfda5c7187e7c"}},{"ruleId":"D1","level":"warning","message":{"text":"stockCode.normalizeStockCode (cyclomatic 36): stockCode.normalizeStockCode has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/stockCode.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b1d13fe9258d454d35f244e34743c4c17aa5fcab7ee0572b7ded787f74c083"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopUpdateIndicator.DesktopUpdateIndicator (cyclomatic 36): DesktopUpdateIndicator.DesktopUpdateIndicator has cyclomatic complexity 36 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/layout/DesktopUpdateIndicator.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e920961db7abadc7ae103272cda1960a08e92cb7a86187f50de974f6a73a91"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeStockWorkspace.HomeStockWorkspace (cyclomatic 36): HomeStockWorkspace.HomeStockWorkspace has cyclomatic complexity 36 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 18 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/watchlist/HomeStockWorkspace.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"8befdb5557e99a9211e95cfab19939ee6dfff1f2890ac4417d9390969d2229e6"}},{"ruleId":"D1","level":"warning","message":{"text":"TickFlowFetcher.get_sector_rankings (cyclomatic 35): TickFlowFetcher.get_sector_rankings 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":"data_provider/tickflow_fetcher.py"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4c6ef1154f1dc9e801c6c9ce8412297633b88e6ace53c27aea3708b85a3659"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiAnalyzer.analyze (cyclomatic 35): GeminiAnalyzer.analyze has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":4028}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4be9b54d3fa7ec1bd33ce3dabe6d79dd9eef767aa3a7a6a9f85fb5954d94cd"}},{"ruleId":"D1","level":"warning","message":{"text":"notification_diagnostics.run_notification_diagnostics (cyclomatic 35): notification_diagnostics.run_notification_diagnostics has cyclomatic complexity 35 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/notification_diagnostics.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdac5eb02c2f32c391633fe848e2f0e1882bcc33d227bb67af91476d1a82436"}},{"ruleId":"D1","level":"warning","message":{"text":"error.parseApiError (cyclomatic 35): error.parseApiError has cyclomatic complexity 35 (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":"apps/dsa-web/src/api/error.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf48769195a000baf1a53e34042e9dae98fcd0c6731ec619fa877733fe92f43"}},{"ruleId":"D1","level":"warning","message":{"text":"web_intent_resolver._reclaim_orphan_entities (cyclomatic 34): web_intent_resolver._reclaim_orphan_entities has cyclomatic complexity 34 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_resolver.py"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee22d033c8f08d49f1d0ceeb8375ac319fb789561a6d8d8d201ed4f725c10ed9"}},{"ruleId":"D1","level":"warning","message":{"text":"StockTrendAnalyzer._generate_signal (cyclomatic 34): StockTrendAnalyzer._generate_signal has cyclomatic complexity 34 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stock_analyzer.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"2160fe7a1cd0a4de1714695c806c55778e33336c9108fc30aee6521a3cb7162d"}},{"ruleId":"D1","level":"warning","message":{"text":"Input.Input (cyclomatic 34): Input.Input has cyclomatic complexity 34 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/Input.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"397bd64b8ae3c91c7b2a404d184e8f0c66fe124ad1923f53f1db83db892e69ed"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.decodeChatState (cyclomatic 34): agent.decodeChatState has cyclomatic complexity 34 (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":"apps/dsa-web/src/api/agent.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1739cf57bbd6d3252f4753a8056e2328da33bcf5ecb370a423714b39db18a68c"}},{"ruleId":"D1","level":"warning","message":{"text":"ShareImageButton.ShareImageButton (cyclomatic 34): ShareImageButton.ShareImageButton has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 15 of the 34 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 92, 62, 73). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ShareImageButton.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b8c2dc20de144a40cc5a1a8a502956a9397acdc646addd79af5241ebf721df"}},{"ruleId":"D1","level":"warning","message":{"text":"formatters.chunk_markdown_preserving_blocks (cyclomatic 33): formatters.chunk_markdown_preserving_blocks has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/formatters.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece31b249f66e005686886158531a05a5cc4621d30d0070c3e9bb05c3d16aa02"}},{"ruleId":"D1","level":"warning","message":{"text":"local_cli_backend._redact_multiline_sensitive_fields (cyclomatic 33): local_cli_backend._redact_multiline_sensitive_fields has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca276d2d4d1f429716f4dbd594e8d204234502f87aecc7263c61bd2517c28cd8"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationService.generate_single_stock_report (cyclomatic 33): NotificationService.generate_single_stock_report has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":1959}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ac29b04e0f5109546c472f41bbd1fbab6e2f3ddf5337cbd1b3f239a3ea3830"}},{"ruleId":"D1","level":"warning","message":{"text":"base.normalize_stock_code (cyclomatic 32): base.normalize_stock_code has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"948188cdaf339155601f969b0cd7ba620ba8f1101c941edd7189096e07be076f"}},{"ruleId":"D1","level":"warning","message":{"text":"LongbridgeFetcher.get_realtime_quote (cyclomatic 32): LongbridgeFetcher.get_realtime_quote has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/longbridge_fetcher.py"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a77da6e233821f8039032c9818695e889e4976407a6412afdd71b2852bcf5a"}},{"ruleId":"D1","level":"warning","message":{"text":"metrics.compute_stage_trajectory_metrics (cyclomatic 32): metrics.compute_stage_trajectory_metrics has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/agent_trajectory/metrics.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a66da675630324b53a6fef358c870dd9ce589e82855ae3cf896b2a8654b656f"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolSurface.execute_tool (cyclomatic 32): ToolSurface.execute_tool has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tool_surface.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0a35451cb17b7c83252eccf77ad53d8ec90193bc929b0c8f70a0d4d8269f1f"}},{"ruleId":"D1","level":"warning","message":{"text":"analyzer.apply_placeholder_fill (cyclomatic 32): analyzer.apply_placeholder_fill has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b548e6aee850a87d411fbdb47fa73bf6ec85b53dceeec606c6e96463e151114"}},{"ruleId":"D1","level":"warning","message":{"text":"MarketAnalyzer._generate_template_review (cyclomatic 32): MarketAnalyzer._generate_template_review has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_analyzer.py"},"region":{"startLine":1902}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf6e4b5a34b123d849211ae38a244078b0235917d5cb09c472d7ed592e6f215"}},{"ruleId":"D1","level":"warning","message":{"text":"import_parser.parse_import_from_bytes (cyclomatic 32): import_parser.parse_import_from_bytes has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/import_parser.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"767cd5d256b2102906860a22add9fac717a64c63efc09412ebdcc3b739f444aa"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemConfigService.discover_llm_channel_models (cyclomatic 32): SystemConfigService.discover_llm_channel_models has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd80566db8605968448bfda85d53758ec7e98aab0106f6ad12a2079dd10c40a5"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemConfigService.test_llm_channel (cyclomatic 32): SystemConfigService.test_llm_channel has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f828833888d0f74cb5e7363e2b108b8718e8444e13767e3d145a732c68b31dc"}},{"ruleId":"D1","level":"warning","message":{"text":"main.createWindow (cyclomatic 32): main.createWindow has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 13 of the 32 points are its own statements and the rest belongs to 3 function items inside it that branch (onHealthProgress, a function literal at line 2049, applyThemeBackground). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/main.js"},"region":{"startLine":1883}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbae688f75422749563b4b40da0e46943a3a26f1886bdbd3610da28136ce5802"}},{"ruleId":"D1","level":"warning","message":{"text":"agentChatStore.useAgentChatStore.startStream (cyclomatic 32): agentChatStore.useAgentChatStore.startStream has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (agentChatStore.useAgentChatStore.startStream::processLine) 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":"apps/dsa-web/src/stores/agentChatStore.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5ad9246034c121f8548e090729bfe26b21e19d182cc984bcfd610ccd04e25e"}},{"ruleId":"D1","level":"warning","message":{"text":"ReportOverview.ReportOverview (cyclomatic 32): ReportOverview.ReportOverview has cyclomatic complexity 32 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 13 belong to 5 function items inside it that branch. 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":"apps/dsa-web/src/components/report/ReportOverview.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64c74e2750409a48195b387afea7f1ce88a29e08137d5e41adedd1f7e9f7ce3"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalysisContextSummary.AnalysisContextSummary (cyclomatic 32): AnalysisContextSummary.AnalysisContextSummary has cyclomatic complexity 32 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/AnalysisContextSummary.tsx"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8198841e874450a7f5405342d9c86c32a689ee161df7428341c49c9efff472"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsPage.SchedulerSettingsCard (cyclomatic 32): SettingsPage.SchedulerSettingsCard has cyclomatic complexity 32 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 10 belong to 8 function items inside it that branch. 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":"apps/dsa-web/src/pages/SettingsPage.tsx"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7286259785e578eed7b31f44c23229029404a76fcd90e81fd20d6577dc52b57"}},{"ruleId":"D1","level":"warning","message":{"text":"AlertsPage.AlertsPage (cyclomatic 32): AlertsPage.AlertsPage has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 15 of the 32 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 132, handleToggleEnabled, a function literal at line 169, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/AlertsPage.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8074e814c73c9e297e3450efda105ce782bb9c57501aa35275c06744fcd210"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentChatSessionService._resolve_session_turn (cyclomatic 31): AgentChatSessionService._resolve_session_turn has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/agent_chat_session_service.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2c600c3345930002e92808bea777ff32eea8b8d08e370fc31ab46c43c0a291"}},{"ruleId":"D1","level":"warning","message":{"text":"image_stock_extractor._call_litellm_vision (cyclomatic 31): image_stock_extractor._call_litellm_vision has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/image_stock_extractor.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6ff9ef938a379087f34751595d5b31b5c91f13ef7256a40eac8c850e95447e"}},{"ruleId":"D1","level":"warning","message":{"text":"AlertRuleForm.AlertRuleForm::buildParameters (cyclomatic 31): AlertRuleForm.AlertRuleForm::buildParameters has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (AlertRuleForm.AlertRuleForm) 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":"apps/dsa-web/src/components/alerts/AlertRuleForm.tsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e03126869de6dfaadad2ba5e70cb01fe1d36984acb6cbbbc26c80383cf7ca0"}},{"ruleId":"D1","level":"warning","message":{"text":"MarketStructureCard.MarketStructureCard (cyclomatic 31): MarketStructureCard.MarketStructureCard has cyclomatic complexity 31 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"apps/dsa-web/src/components/report/MarketStructureCard.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c024293ade8436d4750b6383de57aafcf61a17a2fcf11d541458d3800c45278"}},{"ruleId":"D1","level":"warning","message":{"text":"auth.auth_update_settings (cyclomatic 30): auth.auth_update_settings 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":"api/v1/endpoints/auth.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"659b548ff756c5b59a34e0763850492315a658b74b16feeeddb23cf0e370e4ad"}},{"ruleId":"D1","level":"warning","message":{"text":"metrics.validate_golden_sample (cyclomatic 30): metrics.validate_golden_sample has cyclomatic complexity 30 (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":"evals/agent_trajectory/metrics.py"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"d852748f33d0add89d3ac2d2f8155edf348accaff293560ea7b93383bc41ed1d"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiAnalyzer._build_integrity_complement_prompt (cyclomatic 30): GeminiAnalyzer._build_integrity_complement_prompt has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":5247}}}],"partialFingerprints":{"codehealthFindingId/v1":"289993ab87142b873331e8f9b5e689cbafb65c8618b0dbbf969c7d4a39134252"}},{"ruleId":"D1","level":"warning","message":{"text":"run_flow.build_history_run_flow_snapshot (cyclomatic 30): run_flow.build_history_run_flow_snapshot has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_flow.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"db071abb16d94795407d54aaeef313d01f7cf59b374b4b277b82d4ae2483d965"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime_scheduler._terminate_analysis_process_tree (cyclomatic 30): runtime_scheduler._terminate_analysis_process_tree has cyclomatic complexity 30 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/runtime_scheduler.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5c2cd51feef5213aa61f64de741da6fe4cdb75f27fb5195f80e145315dc009"}},{"ruleId":"D1","level":"warning","message":{"text":"ScreeningService.hotspots (cyclomatic 30): ScreeningService.hotspots has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"89933b4151b0876aa159a1ae9df354322e03ab83364818e05325f9733506127c"}},{"ruleId":"D1","level":"warning","message":{"text":"RunFlowPanel.RunFlowPanel (cyclomatic 30): RunFlowPanel.RunFlowPanel has cyclomatic complexity 30 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 14 belong to 8 function items inside it that branch. 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":"apps/dsa-web/src/components/run-flow/RunFlowPanel.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6279ba0021e2bc355dcc8566ff6c961c895afef5c2193cc923479adaf6382ae"}},{"ruleId":"D1","level":"warning","message":{"text":"DataFetcherManager._normalize_belong_boards (cyclomatic 29): DataFetcherManager._normalize_belong_boards has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":1688}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e44f63fce03065e39e6313dcb82448fec148752dbb5f5eb54407f5ddc6c21e3"}},{"ruleId":"D1","level":"warning","message":{"text":"SerpAPISearchProvider._do_search (cyclomatic 29): SerpAPISearchProvider._do_search has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa33949d81bf11dbc49c8fa624d6dfec56950159ce3c8108f1894089c239f1d7"}},{"ruleId":"D1","level":"warning","message":{"text":"BacktestService.run_backtest (cyclomatic 29): BacktestService.run_backtest has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/backtest_service.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e3e27b75892e4dd2ee184a21ad8cd1ea8bceb54852d84ee6ce747f4bd7d4f0"}},{"ruleId":"D1","level":"warning","message":{"text":"useRunFlowSnapshot.appendDerivedEdge (cyclomatic 29): useRunFlowSnapshot.appendDerivedEdge has cyclomatic complexity 29 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/useRunFlowSnapshot.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb6832483f2abb24c814a92abe79c03cc0a1dd3becfc9badeb560c171fb5f02"}},{"ruleId":"D1","level":"warning","message":{"text":"TickFlowFetcher.get_main_indices (cyclomatic 28): TickFlowFetcher.get_main_indices 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":"data_provider/tickflow_fetcher.py"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"2296c82addadd3ab103977ef487e47b09902d6b92f3dd7dc39cb4b6e1b913a6e"}},{"ruleId":"D1","level":"warning","message":{"text":"runner._execute_tools (cyclomatic 28): runner._execute_tools 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":"src/agent/runner.py"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfb658e02ab9b5f434e6dcdd38417503fab9f9b2b4a44ba85da13e84ed79fd6"}},{"ruleId":"D1","level":"warning","message":{"text":"market_review.run_market_review (cyclomatic 28): market_review.run_market_review 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":"src/core/market_review.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6cc2af2a135a34ecb92648d2517d89aaa9dd7f1260e552aa715ffca4b1a1e5f"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationService.send_with_results (cyclomatic 28): NotificationService.send_with_results 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":"src/notification.py"},"region":{"startLine":2649}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae964ce1b8132d495e85313b18d271e695cd6f6e5f7c7cc761a41884e352b8a"}},{"ruleId":"D1","level":"warning","message":{"text":"PortfolioPage.buildPortfolioRiskFlags (cyclomatic 28): PortfolioPage.buildPortfolioRiskFlags has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff208f1db15330f5f03eef93954a88d136ab388ecab7d5cbf9077ae7f1999e80"}},{"ruleId":"D1","level":"warning","message":{"text":"AskCommand._analyze_multi (cyclomatic 27): AskCommand._analyze_multi has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bot/commands/ask.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"7638d84ebecaa955bb665bf00d0622b7bf7d9f1511831cd20fa8c9d8e8c4fb98"}},{"ruleId":"D1","level":"warning","message":{"text":"LongbridgeFetcher._get_ctx (cyclomatic 27): LongbridgeFetcher._get_ctx has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/longbridge_fetcher.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"990b33a4a1c95483e2e5e9cd4516d09887f99f4df60c0d15643037154237f9ca"}},{"ruleId":"D1","level":"warning","message":{"text":"chat_context._build_visible_history_state (cyclomatic 27): chat_context._build_visible_history_state has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/chat_context.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"199b37efa559de414d5700c102ac780345c1f81a56bda01e3f7cdc24cb275d15"}},{"ruleId":"D1","level":"warning","message":{"text":"StockAnalysisPipeline._augment_historical_with_realtime (cyclomatic 27): StockAnalysisPipeline._augment_historical_with_realtime has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":2734}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a948dafeea00fe6254278eb48621391974b4146d81f6bcc91b55babb33e031"}},{"ruleId":"D1","level":"warning","message":{"text":"PortfolioImportService.commit_trade_records (cyclomatic 27): PortfolioImportService.commit_trade_records has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_import_service.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"d833d9a21ef016f04caa343d3ee8358b140fb780620c73a88a54fec30262ff10"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeSchedulerService._run_analysis_with_watchdog (cyclomatic 27): RuntimeSchedulerService._run_analysis_with_watchdog has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/runtime_scheduler.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78d8d2a82f74b075bd572c91cfe22110d09bd8cb346fe607cd615b861841688"}},{"ruleId":"D1","level":"warning","message":{"text":"daily.fetch_daily_history (cyclomatic 27): daily.fetch_daily_history has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5948f0c38f373608726b088fbb82f02d9e6e29d804552c5b1aabe71b148365e4"}},{"ruleId":"D1","level":"warning","message":{"text":"SocialSentimentService._format_social_intel (cyclomatic 27): SocialSentimentService._format_social_intel has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/social_sentiment_service.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"116d9170c6dfc0e4b2580940f499c52cc416616f2a1c88a8f1c39325b4c93d7b"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemConfigService._collect_non_hermes_channel_models_from_map (cyclomatic 27): SystemConfigService._collect_non_hermes_channel_models_from_map has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":5039}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f46231d086cc316268d0d65ba11b784d84efdaa7a816cfec264611a0d96e3e"}},{"ruleId":"D1","level":"warning","message":{"text":"updateState.getDesktopUpdateNotice (cyclomatic 27): updateState.getDesktopUpdateNotice has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/desktop/updateState.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a1baf6f799c3ef1cff2480641575f90d9d044ced30f0f8b7f3eee489e7effe"}},{"ruleId":"D1","level":"warning","message":{"text":"topologyViewModel.buildRunFlowTopologyModel (cyclomatic 27): topologyViewModel.buildRunFlowTopologyModel has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 1 of the 27 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 306, 329, 235, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/topologyViewModel.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f183ad4c35cea24ca19de65a7b7d34cfe8175e1284742113d0bade4df349b93c"}},{"ruleId":"D1","level":"warning","message":{"text":"FeishuStreamHandler._parse_event_message (cyclomatic 26): FeishuStreamHandler._parse_event_message has cyclomatic complexity 26 (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":"bot/platforms/feishu_stream.py"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"4981a3e8e8c5db17046402c52be8ee2496d379b817304b9e34ffdd09236db3c3"}},{"ruleId":"D1","level":"warning","message":{"text":"FutuFundamentalAdapter._dividends_and_splits (cyclomatic 26): FutuFundamentalAdapter._dividends_and_splits 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":"data_provider/futu_fundamental_adapter.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"907cca160166427225e6fbca3f59c19cad298c2fae7b2511d3d380ed80818463"}},{"ruleId":"D1","level":"warning","message":{"text":"YfinanceFetcher._get_us_index_realtime_quote (cyclomatic 26): YfinanceFetcher._get_us_index_realtime_quote has cyclomatic complexity 26 (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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd20edcb61e69b93f7f7cf34bbfdb9109bdec24fa05241003301db66b2e14a77"}},{"ruleId":"D1","level":"warning","message":{"text":"chat_object_decision.object_mentions (cyclomatic 26): chat_object_decision.object_mentions has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/chat_object_decision.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7098fd366ab3a65aca7eb4346f77a019ce2ca9e08f3f8a039b0ae174ab78b11"}},{"ruleId":"D1","level":"warning","message":{"text":"local_cli_backend._redact_yaml_explicit_sensitive_fields (cyclomatic 26): local_cli_backend._redact_yaml_explicit_sensitive_fields has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"f608c1f85fbce98db53b2a3a9667cccfe3bd5b12af18bdf2b86eff08403abb42"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationService._send_to_static_channel (cyclomatic 26): NotificationService._send_to_static_channel has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":2582}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b141726633afdadbfa9bfc50ceb9b68475876bfa5005b05ed746d620ec3ba65"}},{"ruleId":"D1","level":"warning","message":{"text":"import_parser._parse_dataframe (cyclomatic 26): import_parser._parse_dataframe has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/import_parser.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6a0ff40184fbed9a7ee1510591f7a93542045fb357b6f0d229fc9b5b16fa62"}},{"ruleId":"D1","level":"warning","message":{"text":"hotspot._coerce_hotspot_summary (cyclomatic 26): hotspot._coerce_hotspot_summary has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/hotspot.py"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"df690fb7e13f853cd01202fa814f5ee335790e6fa5be18dd0c35e89301e267df"}},{"ruleId":"D1","level":"warning","message":{"text":"snapshot._read_last_good_snapshot (cyclomatic 26): snapshot._read_last_good_snapshot has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/snapshot.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c4ceeeda7057d86a96d944fa73682b7476ca54dd64aac04bf65a99e17cc708"}},{"ruleId":"D1","level":"warning","message":{"text":"sniper_points.parse_sniper_value (cyclomatic 26): sniper_points.parse_sniper_value has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/sniper_points.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"541d0dc8df458fab9faeeef56fe3d00c8bfe539ca8964d88c3386c3d3ad4be82"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarNav.SidebarNav (cyclomatic 26): SidebarNav.SidebarNav has cyclomatic complexity 26 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. 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":"apps/dsa-web/src/components/layout/SidebarNav.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"af86b82aba44dbe1714e9b7e4c42c19f239ea02322d0569395cdd105f5ebea17"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsHelpButton.SettingsHelpButton (cyclomatic 26): SettingsHelpButton.SettingsHelpButton has cyclomatic complexity 26 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 12 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/SettingsHelpButton.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b029947480557c8d6df8e2908a4d2bf01ff2cc55b3ba80f5a7c25b364fb86d"}},{"ruleId":"D1","level":"warning","message":{"text":"analysis._build_analysis_report (cyclomatic 25): analysis._build_analysis_report 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":"api/v1/endpoints/analysis.py"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6cbe5cd2a7687fa3e3aeb06d45d759a4ea31d8cccb701707efa4eb65de3e9e"}},{"ruleId":"D1","level":"warning","message":{"text":"EfinanceFetcher.get_realtime_quote (cyclomatic 25): EfinanceFetcher.get_realtime_quote has cyclomatic complexity 25 (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":"data_provider/efinance_fetcher.py"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb9b6da4766ede2022e0503d7639f0a858cf44270bfdd222ddf583bc15d7a03"}},{"ruleId":"D1","level":"warning","message":{"text":"EfinanceFetcher.get_main_indices (cyclomatic 25): EfinanceFetcher.get_main_indices 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57a89c569163a25c17b5ae4dbcffbf7b20bd66b7437b8a35e9a309170931ed8"}},{"ruleId":"D1","level":"warning","message":{"text":"AkshareFundamentalAdapter.get_fundamental_bundle (cyclomatic 25): AkshareFundamentalAdapter.get_fundamental_bundle 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":"data_provider/fundamental_adapter.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0b86c00d104b3976398f210380344a04e86eff396f0f46e1ea9a21d5426f8e"}},{"ruleId":"D1","level":"warning","message":{"text":"provider_trace.extract_provider_trace_turns (cyclomatic 25): provider_trace.extract_provider_trace_turns has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/provider_trace.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"965a3e03edcd2081689ed8c5c493cb15774498777328d1ffbad02cdaeb196a75"}},{"ruleId":"D1","level":"warning","message":{"text":"analyzer.check_content_integrity (cyclomatic 25): analyzer.check_content_integrity has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1978349a7d6629f0b0e0a9a3ccce52bb5b46f847272fc13fcb8f037a5997318"}},{"ruleId":"D1","level":"warning","message":{"text":"portfolio._filter_stock_codes (cyclomatic 25): portfolio._filter_stock_codes has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/brokers/futu/portfolio.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"57fd674947609dcc4e7f52bd545f1b4e7e5723c1c96773f395ec057f72360776"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationService.detect_configured_channels (cyclomatic 25): NotificationService.detect_configured_channels has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfbd0e1b25d225fdaa4db73fadb54b3f5252261d41a0ec2a9d761ddc7bc3cc7"}},{"ruleId":"D1","level":"warning","message":{"text":"notification_noise._evaluate_notification_noise (cyclomatic 25): notification_noise._evaluate_notification_noise has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_noise.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6b7ffa1da5658b4cdbb2e247cdfd209a7852a1b00a0f7483d918ac83ba5300"}},{"ruleId":"D1","level":"warning","message":{"text":"PortfolioService._build_symbol_filter_values (cyclomatic 25): PortfolioService._build_symbol_filter_values has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_service.py"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7f8cc59d7e2f68b54f9bc4a67331d5bd1241c0833c6d9d3436a516094e1163"}},{"ruleId":"D1","level":"warning","message":{"text":"industry.load_industry_map (cyclomatic 25): industry.load_industry_map has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/industry.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef5351688bdff5011ca63436512cc082e44087c126e799821e180d79e9225ad"}},{"ruleId":"D1","level":"warning","message":{"text":"share_image._market_body (cyclomatic 25): share_image._market_body has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":1863}}}],"partialFingerprints":{"codehealthFindingId/v1":"51afd585b5cab461fdf35e98af0307e1340a2c65f942669ce7dfca8c0b2a0f12"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsField.renderFieldControl (cyclomatic 25): SettingsField.renderFieldControl has cyclomatic complexity 25 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/SettingsField.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95e06ad0d4592211719911eafe260a3db8e67b2f99bc733d45a662b09e7aa5f"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsPage.FirstRunSetupCard (cyclomatic 25): SettingsPage.FirstRunSetupCard has cyclomatic complexity 25 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/SettingsPage.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"565238f8e0a2a4d5c677cdc965fb67bbda027ff86f9c8fa97550da1db8f351f6"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusCommand._collect_status (cyclomatic 24): StatusCommand._collect_status has cyclomatic complexity 24 (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":"bot/commands/status.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"10df22066f16402585ba5a88f7939cddc5245a2a764ed202c52cd7cead67f0d2"}},{"ruleId":"D1","level":"warning","message":{"text":"metrics.compute_trajectory_metrics (cyclomatic 24): metrics.compute_trajectory_metrics has cyclomatic complexity 24 (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":"evals/agent_trajectory/metrics.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b11f19bd3676a04842faf08fd0af03aba5c21266fb6f46b94157008cf0f301"}},{"ruleId":"D1","level":"warning","message":{"text":"web_intent_tokenizer._split_by_codes (cyclomatic 24): web_intent_tokenizer._split_by_codes has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_tokenizer.py"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"93545ee696681d20111a6a88feb8e441726d1a0a28887216056ed1faa90b55fd"}},{"ruleId":"D1","level":"warning","message":{"text":"etf_rotation.run_backtest (cyclomatic 24): etf_rotation.run_backtest has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/etf_rotation.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba025f3dcfea0b497455b70d4a24600f96cf2fdc3c6efba540c800b17d1dad0"}},{"ruleId":"D1","level":"warning","message":{"text":"stock_index_loader._build_stock_code_candidates (cyclomatic 24): stock_index_loader._build_stock_code_candidates has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/data/stock_index_loader.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"402c0277c23cf9d840ee136bcb253ee658ad161adc4ddb80a49fa099f8870314"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationService._get_fundamental_blocks (cyclomatic 24): NotificationService._get_fundamental_blocks has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":2230}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad09ba68c13e8c7aa57423e8fb66549d6df2435d95ad018f3ab72d995aaa416"}},{"ruleId":"D1","level":"warning","message":{"text":"MarketStructureService.build_context (cyclomatic 24): MarketStructureService.build_context has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/market_structure_service.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5a8749a6e94d78743a15d61dd913be816394ddee616fcbde5d641e1f5acf0f"}},{"ruleId":"D1","level":"warning","message":{"text":"ScreeningService.screen (cyclomatic 24): ScreeningService.screen has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"4629b12120b06ff1f751b431e0436f107d52dfaa48535c9e5d73f48ed453d3e8"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemConfigService._resolve_hermes_saved_secret (cyclomatic 24): SystemConfigService._resolve_hermes_saved_secret has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f4eda941293746805cb450fffa5194b2659da26fa094f28efd8626d829205e"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemConfigService._classify_llm_exception (cyclomatic 24): SystemConfigService._classify_llm_exception has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":4409}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1277fadf7d0299b157291ea847babf6d24ff5ef1fcea07a50ed34a07a5616d9"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeToggle.ThemeToggle (cyclomatic 24): ThemeToggle.ThemeToggle has cyclomatic complexity 24 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/theme/ThemeToggle.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3b8c7a591516cc3150e2e7db04a0affb7554d28ccb12b9627c84f7fd7dd191"}},{"ruleId":"D1","level":"warning","message":{"text":"LLMChannelEditor.LLMChannelEditor::handleSave (cyclomatic 24): LLMChannelEditor.LLMChannelEditor::handleSave has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (LLMChannelEditor.LLMChannelEditor) 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":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"7502a34e0ccc865d073bbc199ffaed28c7c62397428c87d3e3c49a9b70b27caf"}},{"ruleId":"D1","level":"warning","message":{"text":"AlertRuleForm.AlertRuleForm (cyclomatic 24): AlertRuleForm.AlertRuleForm has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (AlertRuleForm.AlertRuleForm::buildParameters) 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":"apps/dsa-web/src/components/alerts/AlertRuleForm.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1891aaa0b991f8dae3f85274c039efaf1f282585dfc7ab49937e3491c7e668"}},{"ruleId":"D1","level":"warning","message":{"text":"DataCenterPage.DataCenterPage (cyclomatic 24): DataCenterPage.DataCenterPage has cyclomatic complexity 24 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 11 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/DataCenterPage.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"730005bbc27985d14b77ef5b651924753f0324261eedecb0113961243cdaf93b"}},{"ruleId":"D1","level":"warning","message":{"text":"analysis.trigger_analysis (cyclomatic 23): analysis.trigger_analysis 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":"api/v1/endpoints/analysis.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"a966071975156d5276486a38dd710035f845fb083f116824f3035d93819686a1"}},{"ruleId":"D1","level":"warning","message":{"text":"analysis._build_task_analysis_result (cyclomatic 23): analysis._build_task_analysis_result 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":"api/v1/endpoints/analysis.py"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"866fcc0ee61dbb59a398c8d83fdd64226c0bd4f67d2017ed903efc7847527a43"}},{"ruleId":"D1","level":"warning","message":{"text":"DataFetcherManager.get_stock_name (cyclomatic 23): DataFetcherManager.get_stock_name 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":"data_provider/base.py"},"region":{"startLine":3071}}}],"partialFingerprints":{"codehealthFindingId/v1":"73650b862972b55e605ae792829cac8fe1a63cb62f20c69865e61f429cfddd32"}},{"ruleId":"D1","level":"warning","message":{"text":"DataFetcherManager.get_capital_flow_context (cyclomatic 23): DataFetcherManager.get_capital_flow_context 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":"data_provider/base.py"},"region":{"startLine":4675}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d05b4209483024d608cc6d03ca9f6a7c7711b237db2984fc239b471b60844a"}},{"ruleId":"D1","level":"warning","message":{"text":"FutuFundamentalAdapter._financials (cyclomatic 23): FutuFundamentalAdapter._financials 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":"data_provider/futu_fundamental_adapter.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"225695ad23c0f2ce38d406e2546ea927e7a6d2a8c5869f98829c6d062716d0a6"}},{"ruleId":"D1","level":"warning","message":{"text":"longbridge_fetcher._longbridge_config_kwargs (cyclomatic 23): longbridge_fetcher._longbridge_config_kwargs 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":"data_provider/longbridge_fetcher.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"35972425fc6097238e900318f41017fdfe4264e1fd64b110af33e9bf6338e340"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionAgent.build_user_message (cyclomatic 23): DecisionAgent.build_user_message has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/agents/decision_agent.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9504c7792b8969d4d06574ae1f78fc61073c5a83a5c008519d7809f209d029"}},{"ruleId":"D1","level":"warning","message":{"text":"LLMToolAdapter._call_litellm_model (cyclomatic 23): LLMToolAdapter._call_litellm_model 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":"src/agent/llm_adapter.py"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ace7d2baf467548a49bfeff0d16fc0236a8e84525b1d78ec8c72095af57d952"}},{"ruleId":"D1","level":"warning","message":{"text":"stock_scope.resolve_stock_scope (cyclomatic 23): stock_scope.resolve_stock_scope has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/stock_scope.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2c26ac1347d933797d5e7bd138cdef337e26a8a9b2e627a22c5fc3c704fed1"}},{"ruleId":"D1","level":"warning","message":{"text":"web_intent_tokenizer._dfs_match (cyclomatic 23): web_intent_tokenizer._dfs_match has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_tokenizer.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cffb97e4ec25a7b42de6ca62252b49b1d575d4778399fce065d8f8402f0c36a"}},{"ruleId":"D1","level":"warning","message":{"text":"local_cli_backend._extract_opencode_json_events (cyclomatic 23): local_cli_backend._extract_opencode_json_events has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"6beed77a682ab880fcee0d97273334bf6eb1d453fa9fc20c222128411b914e57"}},{"ruleId":"D1","level":"warning","message":{"text":"MarketAnalyzer._resolve_recorded_provider (cyclomatic 23): MarketAnalyzer._resolve_recorded_provider has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_analyzer.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d514bcc4c95e9019874685c9b94d0e2c884a463310d293e1701c64366f678c"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchService._normalize_news_publish_date (cyclomatic 23): SearchService._normalize_news_publish_date 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":"src/search_service.py"},"region":{"startLine":3601}}}],"partialFingerprints":{"codehealthFindingId/v1":"856bbdcfaa0749189f5e699a3412567134972f1c7d6b107723f50f8354f8a442"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionSignalService._backfill_analysis_signal_from_history (cyclomatic 23): DecisionSignalService._backfill_analysis_signal_from_history has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_service.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"2221ae2763fd671b2a2ad6cc5133523ac23387706240e8150a117909111901b4"}},{"ruleId":"D1","level":"warning","message":{"text":"filter.check_hard_filters (cyclomatic 23): filter.check_hard_filters has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/filter.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ffc0bc22b9b77da82cc70eff0abefdb8ea34dc294a1d3703b110bd0634a7a4"}},{"ruleId":"D1","level":"warning","message":{"text":"screening_service._build_dsa_analysis_summary (cyclomatic 23): screening_service._build_dsa_analysis_summary has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":3773}}}],"partialFingerprints":{"codehealthFindingId/v1":"310b5bb58a7d9cfaa5b9ac745111f8f3b1c0ad43ce95923ce4c6f84f0d1f104a"}},{"ruleId":"D1","level":"warning","message":{"text":"LLMChannelEditor.buildChangedItemKeys (cyclomatic 23): LLMChannelEditor.buildChangedItemKeys 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":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ca7e37184e7455c3093bca06eb3c0922f2b3d800265356f139d5aad71aecbe"}},{"ruleId":"D1","level":"warning","message":{"text":"AlertRuleList.formatParameters (cyclomatic 23): AlertRuleList.formatParameters 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":"apps/dsa-web/src/components/alerts/AlertRuleList.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d2934806c25ac6894ce61adcc1787b648058b0e8788ace93332aba43ceff65"}},{"ruleId":"D1","level":"warning","message":{"text":"HistoryCommand.execute (cyclomatic 22): HistoryCommand.execute has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bot/commands/history.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02e78b9cf344754adf7db366729695be7bca2ca689e1aab6104323532b0c64e"}},{"ruleId":"D1","level":"warning","message":{"text":"EfinanceFetcher._get_etf_realtime_quote (cyclomatic 22): EfinanceFetcher._get_etf_realtime_quote has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/efinance_fetcher.py"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1fc05befb956a7c00c35c656983da8401fbc0aefe4444d9dec539ee288784a"}},{"ruleId":"D1","level":"warning","message":{"text":"executor.prepare_agent_chat (cyclomatic 22): executor.prepare_agent_chat has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/executor.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecbbe1749668a5e1da5ceb663eaa36056b2f80c0520b44f5885c6b4cc6072ed8"}},{"ruleId":"D1","level":"warning","message":{"text":"LLMDeliberationMediator._coerce_responses (cyclomatic 22): LLMDeliberationMediator._coerce_responses has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/deliberation.py"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbd647b5f7e4e2ead6e6094cb98adff713043cd4f8cdffb9a2f05ce477553af"}},{"ruleId":"D1","level":"warning","message":{"text":"portfolio._load_position_codes (cyclomatic 22): portfolio._load_position_codes has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/brokers/futu/portfolio.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"85008b451da2f27b87c10d385cf4e956daeab45723eefad5e23402a940cbb222"}},{"ruleId":"D1","level":"warning","message":{"text":"Config._channels_to_model_list (cyclomatic 22): Config._channels_to_model_list has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config.py"},"region":{"startLine":2761}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c8dea71ebf630a6ff63277ac428e6f8159b0eef22ea18929559a0412931830"}},{"ruleId":"D1","level":"warning","message":{"text":"StockAnalysisPipeline._load_persisted_intelligence_context (cyclomatic 22): StockAnalysisPipeline._load_persisted_intelligence_context has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":3020}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6c7ef307680095f231739bf185ef1e32ec6743865550c5a8870b063d9278a1"}},{"ruleId":"D1","level":"warning","message":{"text":"hermes.parse_hermes_channel (cyclomatic 22): hermes.parse_hermes_channel has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/hermes.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2b7c57dafbd20e916dd2eb46343166ffe502fbbc631f1b6853dc1a80668ebb"}},{"ruleId":"D1","level":"warning","message":{"text":"local_cli_backend._consume_authorization_param_list (cyclomatic 22): local_cli_backend._consume_authorization_param_list has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":1634}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb588b28f20d0e363220b973f3456d2d299655e442dbdc3c030aa666f2e99cb"}},{"ruleId":"D1","level":"warning","message":{"text":"market_phase_summary.format_public_phase_pack_excerpt (cyclomatic 22): market_phase_summary.format_public_phase_pack_excerpt has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_phase_summary.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea97b30a8fb62600d4a357a03da6827914918ac53a828f62d7ef25e650d12e6"}},{"ruleId":"D1","level":"warning","message":{"text":"BochaSearchProvider._do_search (cyclomatic 22): BochaSearchProvider._do_search has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"77346b54259a7487aab838b19600ea070bee231cfac9ec1034319d366a519cd6"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchService._stock_code_identity_terms (cyclomatic 22): SearchService._stock_code_identity_terms has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":2827}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0075f3109589585267f023379fc54896fd4981a408d9bd20ecd41d72d978a3"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchService._parse_relative_news_date (cyclomatic 22): SearchService._parse_relative_news_date has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":3547}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd3cea4f856cb848e3aaf82955cbe86585ab08a6280103376b316fb3b66ae2b"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchService.search_topic_news (cyclomatic 22): SearchService.search_topic_news has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":3866}}}],"partialFingerprints":{"codehealthFindingId/v1":"d641354fd565a4619ec4da5a6e7eab350eebadee863c0ab24c3722fcfee48da2"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchService.search_comprehensive_intel (cyclomatic 22): SearchService.search_comprehensive_intel has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":4384}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b65c742d5b25422d0ad4139cad96cb1e90ce6a775dc63ad8ee507ddea69d85"}},{"ruleId":"D1","level":"warning","message":{"text":"DailyMarketContextService.get_context (cyclomatic 22): DailyMarketContextService.get_context has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/daily_market_context.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe3ef7c542a94a770f62a43d6c11e92bbd321758402614f74c044d2f87e4a7d"}},{"ruleId":"D1","level":"warning","message":{"text":"PortfolioRiskService._build_decision_signal_risk (cyclomatic 22): PortfolioRiskService._build_decision_signal_risk has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_risk_service.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ea22062d0886462b21396b011cf37820aa274d7941a6985b47664c09bcea5b"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemConfigService._build_explainability_warnings (cyclomatic 22): SystemConfigService._build_explainability_warnings has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":2163}}}],"partialFingerprints":{"codehealthFindingId/v1":"36859bbb89a51b549606ea446b76fb8dc548c328105af45e033ea7967696c06f"}},{"ruleId":"D1","level":"warning","message":{"text":"DatabaseManager._ensure_chat_session_schema (cyclomatic 22): DatabaseManager._ensure_chat_session_schema has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage.py"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"207e5b2450504e946cce12d9a1be474f14982ce34d3e46d20416033ff538a301"}},{"ruleId":"D1","level":"warning","message":{"text":"agentChatStore.mergeChatState (cyclomatic 22): agentChatStore.mergeChatState has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/stores/agentChatStore.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"8782d4a23526394e95d1818a264b43a49beb430936229e5851c613b3a48a8d2c"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskPanel.TaskItem (cyclomatic 22): TaskPanel.TaskItem has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/tasks/TaskPanel.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec4b55d5e96a5dadec50f749f29f0cb5c8140ba795ba735e29ed97885e0a050"}},{"ruleId":"D1","level":"warning","message":{"text":"PortfolioPage.hasCompleteSectorCoverage (cyclomatic 22): PortfolioPage.hasCompleteSectorCoverage has cyclomatic complexity 22 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. 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":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"31dd2885ea526250635c271804fba310e940c34af58c721b54ba8246fe27ac50"}},{"ruleId":"D1","level":"warning","message":{"text":"stocks.parse_import (cyclomatic 21): stocks.parse_import 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":"api/v1/endpoints/stocks.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef731880b5d872e09af9d4b5fdeab81cf5e5f81009647ca9b85f9e689cc7f5e"}},{"ruleId":"D1","level":"warning","message":{"text":"AskCommand._format_stock_result (cyclomatic 21): AskCommand._format_stock_result 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":"bot/commands/ask.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75e30bf988138de75a95562671173bdbccb2481f7ac43614ff9d595b9192a31"}},{"ruleId":"D1","level":"warning","message":{"text":"AkshareFetcher._get_stock_realtime_quote_tencent (cyclomatic 21): AkshareFetcher._get_stock_realtime_quote_tencent 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e56203a8122d1a5ade671f33bbd6441615a1fd52ae487491b2bec50d9fa36de"}},{"ruleId":"D1","level":"warning","message":{"text":"AkshareFetcher._calc_market_stats (cyclomatic 21): AkshareFetcher._calc_market_stats 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":2096}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c895d44044e39730fd7841fb1e1e9c610729805b713cbc70ffb9b081d112124"}},{"ruleId":"D1","level":"warning","message":{"text":"EfinanceFetcher._calc_market_stats (cyclomatic 21): EfinanceFetcher._calc_market_stats 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"223357d1df078e47f8a84c4da64059efa1a10619a2545db3997cf4f6b492253c"}},{"ruleId":"D1","level":"warning","message":{"text":"TushareFetcher._calc_market_stats (cyclomatic 21): TushareFetcher._calc_market_stats 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ef95394c3821d5e0435c5455195c41410e70a505c60a1ce8c995462a51d50d"}},{"ruleId":"D1","level":"warning","message":{"text":"events.validate_event_alert_rule (cyclomatic 21): events.validate_event_alert_rule has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/events.py"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"64adb9d2931f83cf11bbf49e67ea679c387bbb4d2803307e558cb8697e66e7ec"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOrchestrator._build_data_perspective (cyclomatic 21): AgentOrchestrator._build_data_perspective has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/orchestrator.py"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c8f456f714d16eb3a4023c46f0a91503c848542d66d186572e70aa900c40e5"}},{"ruleId":"D1","level":"warning","message":{"text":"analysis_tools._handle_get_volume_analysis (cyclomatic 21): analysis_tools._handle_get_volume_analysis 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":"src/agent/tools/analysis_tools.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efe50b232c5c35de47df409d13fbf7e3117b999987675504ea7d539f45cce57"}},{"ruleId":"D1","level":"warning","message":{"text":"analyzer.fill_price_position_if_needed (cyclomatic 21): analyzer.fill_price_position_if_needed has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"592fa34787e2ab74989486b64110e81d3c3b225fd6581ae4fb38a803c976e01c"}},{"ruleId":"D1","level":"warning","message":{"text":"usage._infer_provider (cyclomatic 21): usage._infer_provider 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":"src/llm/usage.py"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"628913015fb3ac220211ddf3361ad5df5ccafd10614a9b4781ac248d246c87cf"}},{"ruleId":"D1","level":"warning","message":{"text":"MarketAnalyzer.generate_market_review (cyclomatic 21): MarketAnalyzer.generate_market_review 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":"src/market_analyzer.py"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"b359b10902647eccce7f5044fb0feba4032bff5403e3e8e0679ebd349d0285e6"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchService._has_low_quality_news_page_signal (cyclomatic 21): SearchService._has_low_quality_news_page_signal has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":3030}}}],"partialFingerprints":{"codehealthFindingId/v1":"5128e111fcda5d32da9cbcf16a5fd5f573f3cabeaba0dfc06c20e3f00b4af269"}},{"ruleId":"D1","level":"warning","message":{"text":"etf_rotation_service.load_closes (cyclomatic 21): etf_rotation_service.load_closes has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/etf_rotation_service.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1106713212f6d6504aaeb01c45d856a82dc3b81beb3e3732d0f22fa18f646b41"}},{"ruleId":"D1","level":"warning","message":{"text":"PortfolioImportService._normalize_trade_row (cyclomatic 21): PortfolioImportService._normalize_trade_row has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_import_service.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6e13e67e9c5f8876be2ca6fe9d3d3bc128bb01a880e8a658488502bc22d487"}},{"ruleId":"D1","level":"warning","message":{"text":"daily.enrich_daily_features (cyclomatic 21): daily.enrich_daily_features has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2c852e4d32cfd04bc66c7fc1c3cb9ec9edf29369447870d0f103bd4c3f8467"}},{"ruleId":"D1","level":"warning","message":{"text":"industry.fetch_akshare_board_map (cyclomatic 21): industry.fetch_akshare_board_map has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/industry.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80ba38000ff68da86bf1ab2352522f7eaf32e40fe1156278d7e9e1ad6547ad5"}},{"ruleId":"D1","level":"warning","message":{"text":"ranker._format_dsa_context_for_prompt (cyclomatic 21): ranker._format_dsa_context_for_prompt has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/ranker.py"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"68587c9a585d7671a9ba177b6627b2ab96db6e0e4c579fb5dd5510e509974058"}},{"ruleId":"D1","level":"warning","message":{"text":"share_image._stock_body (cyclomatic 21): share_image._stock_body 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":"src/share_image.py"},"region":{"startLine":1817}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c2ad64152a95c92a6cb38c31861fa8374a02ac3b27393a58910b4a975ca178"}},{"ruleId":"D1","level":"warning","message":{"text":"DatabaseManager._backfill_canonical_ids (cyclomatic 21): DatabaseManager._backfill_canonical_ids has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage.py"},"region":{"startLine":2009}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2994ec5b92006e70fdb14178383dd44aa26b4d02d66c7cc756251b1e16d4083"}},{"ruleId":"D1","level":"warning","message":{"text":"agentChatStore.useAgentChatStore.startStream::processLine (cyclomatic 21): agentChatStore.useAgentChatStore.startStream::processLine 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. This shape REPEATS in the file: one other method here (agentChatStore.useAgentChatStore.startStream) 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":"apps/dsa-web/src/stores/agentChatStore.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf42fb28271fd91a85d8762eb07fefac14f227c5d5ab01742934ab7ffcd5309"}},{"ruleId":"D1","level":"warning","message":{"text":"stockPoolStore.fetchHistory (cyclomatic 21): stockPoolStore.fetchHistory 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":"apps/dsa-web/src/stores/stockPoolStore.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b90cd4ea4d5f4b67f729856b8b3868063c8327f4ef31326830e35ae6a5079ff"}},{"ruleId":"D1","level":"warning","message":{"text":"HistoryList.HistoryList (cyclomatic 21): HistoryList.HistoryList has cyclomatic complexity 21 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. 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":"apps/dsa-web/src/components/history/HistoryList.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4051602303e89d34e8dd2b12932d33a39e56db379a190dfa692f6d1f78976ce8"}},{"ruleId":"D1","level":"warning","message":{"text":"useRunFlowSnapshot.useRunFlowSnapshot (cyclomatic 21): useRunFlowSnapshot.useRunFlowSnapshot has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 484, 456, 496, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/useRunFlowSnapshot.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"388c85decc27fb53b9173f0e65b2a4680f5fe39bc79214f7c5574771eaa14c92"}},{"ruleId":"D1","level":"warning","message":{"text":"LLMChannelEditor.parseChannelsFromItems (cyclomatic 21): LLMChannelEditor.parseChannelsFromItems has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1484, 1492). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"9126d20a4f41daa645fd8e3c84f3b9d5bad1b48e950771acc8e17a72b14f129c"}},{"ruleId":"D1","level":"warning","message":{"text":"configureElectronAutoUpdater (cyclomatic 21): configureElectronAutoUpdater has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 1726, 1744, 1758, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/main.js"},"region":{"startLine":1684}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f670e9bb51199a9cde4a2c2f62d7f701568464675f694929f64408f1d200e6"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandDispatcher._try_nl_routing (cyclomatic 20): CommandDispatcher._try_nl_routing 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. This shape REPEATS in the file: one other method here (CommandDispatcher._try_nl_routing_sync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bot/dispatcher.py"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4a1727eef051897d929759d8c423588e32f0e5588210615ec92eac23ae6425"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandDispatcher._try_nl_routing_sync (cyclomatic 20): CommandDispatcher._try_nl_routing_sync 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. This shape REPEATS in the file: one other method here (CommandDispatcher._try_nl_routing) 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":"bot/dispatcher.py"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c0b24844b29b7414f49cd2f81fac677d0cc3c924a178c46f390469fc3f8427"}},{"ruleId":"D1","level":"warning","message":{"text":"DataFetcherManager.get_board_context (cyclomatic 20): DataFetcherManager.get_board_context 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":"data_provider/base.py"},"region":{"startLine":4817}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12bd07297401b61c6b293495fba38024cea3cafb112dd0ed92f64a7644de3fc"}},{"ruleId":"D1","level":"warning","message":{"text":"chat_context.build_agent_chat_context_bundle (cyclomatic 20): chat_context.build_agent_chat_context_bundle has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/chat_context.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb948b54fcebcbcbfb628384aa4d3ee2d1056ebd7d02bc0972724308a6379f4c"}},{"ruleId":"D1","level":"warning","message":{"text":"WebIntentResolver.resolve (cyclomatic 20): WebIntentResolver.resolve has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_resolver.py"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e31c9ca45586fc883f9a936d5d2228c41e3ecb2e4b01d2b36ab0ac130c3d160"}},{"ruleId":"D1","level":"warning","message":{"text":"web_intent_tokenizer._identify_one_code (cyclomatic 20): web_intent_tokenizer._identify_one_code has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_tokenizer.py"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36a35bc009bfd9da407c42b7e88ec7fca48d9277f4da96885d0ff4f3ddd0963"}},{"ruleId":"D1","level":"warning","message":{"text":"decision_action.normalize_decision_action (cyclomatic 20): decision_action.normalize_decision_action has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/schemas/decision_action.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1305e6cfa8e11d132d219ccce79f6827c7f66584a4d7e23b7980415c93f7ea2"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchService.__init__ (cyclomatic 20): SearchService.__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":"src/search_service.py"},"region":{"startLine":2404}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afe1f0bc5f19585c4524a4307ad9ffc268e3852cbd53e3abf1625da87a8d200"}},{"ruleId":"D1","level":"warning","message":{"text":"AlertService._coerce_datetime (cyclomatic 20): AlertService._coerce_datetime has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_service.py"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfdb066dfe3bba7dacfb9979f7c720bcb920aff2f45663fa2eaf91b93572aa7"}},{"ruleId":"D1","level":"warning","message":{"text":"AlertService.build_runtime_payloads (cyclomatic 20): AlertService.build_runtime_payloads has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_service.py"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc155649b18c1df1195afc3674831c6a81295ddc03531179005c237508db999"}},{"ruleId":"D1","level":"warning","message":{"text":"AlertWorker.run_once (cyclomatic 20): AlertWorker.run_once has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_worker.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"87aa70aa4d0297985e3165f3d9f2354c60e3d7a6cff4b4e192027f47f37ada8c"}},{"ruleId":"D1","level":"warning","message":{"text":"IntelligenceService._validate_url (cyclomatic 20): IntelligenceService._validate_url has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/intelligence_service.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"96962b9ffc26c8b2fdebce66ed1eb01c730e9e114d07eb0c10b23bb94243b180"}},{"ruleId":"D1","level":"warning","message":{"text":"MarketHotspotService.get_hotspots (cyclomatic 20): MarketHotspotService.get_hotspots has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/market_hotspot_service.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"339b349af1a656839c1af6d56d843e232b7f0d406db4328c7d4761c4ab608ca1"}},{"ruleId":"D1","level":"warning","message":{"text":"PortfolioService._calculate_available_quantity (cyclomatic 20): PortfolioService._calculate_available_quantity has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_service.py"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da487df3b3396869e3f8a4339327429c2985973898a56df0f046df46704c5ad"}},{"ruleId":"D1","level":"warning","message":{"text":"PortfolioService._build_positions (cyclomatic 20): PortfolioService._build_positions has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_service.py"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bd6ea2a79263a4ba8d05e6ae1470080e96c45836096633aa76d8aefdbaabfe"}},{"ruleId":"D1","level":"warning","message":{"text":"candidate_context._collect_candidate_context_row (cyclomatic 20): candidate_context._collect_candidate_context_row has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/candidate_context.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"498273ac1997230b0818d578b57d00acf1dea63d90cf3bd79db795405914c9fd"}},{"ruleId":"D1","level":"warning","message":{"text":"daily._read_daily_history_cache (cyclomatic 20): daily._read_daily_history_cache has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b1c46560b602c2e4ce7dc8a0451040e42059de4c90e41eb13803e5e3c8d165"}},{"ruleId":"D1","level":"warning","message":{"text":"pipeline._daily_source_health_notes (cyclomatic 20): pipeline._daily_source_health_notes has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/pipeline.py"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"6911a5aa8f7272a12b5d3321de08f20239f9908a108a81e090bb06a4f447a004"}},{"ruleId":"D1","level":"warning","message":{"text":"risk.assess_pick_risk (cyclomatic 20): risk.assess_pick_risk has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/risk.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"271912b90e866d0643d4eb3e37ec2b7955aee1b28b60ec04f316da9d425a5a2c"}},{"ruleId":"D1","level":"warning","message":{"text":"screening_service._enrich_hotspot_rows_from_provider (cyclomatic 20): screening_service._enrich_hotspot_rows_from_provider has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12d7afd54ecd3052a8ada041a07ed330bf0d12680f208990a37db70c37463e5"}},{"ruleId":"D1","level":"warning","message":{"text":"screening_service._normalize_screening_hotspot_detail (cyclomatic 20): screening_service._normalize_screening_hotspot_detail has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d982f80729e63b78d6ac1121769b4fbd97f801758bc9bf1271761aac2b61c9a"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillOpinionWeightService.compute_weights (cyclomatic 20): SkillOpinionWeightService.compute_weights has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/skill_opinion_weight_service.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5034d72d2c4e97015639980597a031c91a78a66101009b01f3a269e094ab76b5"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemConfigService._infer_setup_legacy_primary_model (cyclomatic 20): SystemConfigService._infer_setup_legacy_primary_model has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":3642}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ca9f8fdd8c4551d0dab7cb7588ff40b0db0ca36d03ed52fe9a98585f150c74"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemConfigService._build_setup_agent_llm_check (cyclomatic 20): SystemConfigService._build_setup_agent_llm_check has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":3759}}}],"partialFingerprints":{"codehealthFindingId/v1":"b564e2acdd42d04719424bf755bcc36033ac8a466637d065d8272aa697553fea"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemConfigService._validate_cross_field (cyclomatic 20): SystemConfigService._validate_cross_field has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":4603}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4eab3e810eda0a1991a7e4595a9cdc86949a7e6f24fc27afdd08080820acf0a"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemConfigService._collect_hermes_channel_models_from_map (cyclomatic 20): SystemConfigService._collect_hermes_channel_models_from_map has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":4997}}}],"partialFingerprints":{"codehealthFindingId/v1":"618f4574ab8ebdd4484ccb74a24a410895ab3ea8de247823c55c14284bb26316"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemConfigService._has_legacy_key_for_provider (cyclomatic 20): SystemConfigService._has_legacy_key_for_provider has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":5135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e199db184c5f7352838fc9853caf814c8b2a697bc7130fe86679e15761328e62"}},{"ruleId":"D1","level":"warning","message":{"text":"share_image._merge_sector_rankings (cyclomatic 20): share_image._merge_sector_rankings has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"215519c6bedb9ba97b942ee0f614c860924bea068cb1f86abdd995ad79a6630b"}},{"ruleId":"D1","level":"warning","message":{"text":"main.restorePackagedRuntimeStateFromBackup (cyclomatic 20): main.restorePackagedRuntimeStateFromBackup has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/main.js"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"8851f4c5042fae67942bbe2e2789fe104d5b8e178c69feae742000f859418cf2"}},{"ruleId":"D1","level":"warning","message":{"text":"StockAutocomplete.StockAutocompleteInner (cyclomatic 20): StockAutocomplete.StockAutocompleteInner has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 6 function items inside it that branch (handleKeyDown, updateDropdownPosition, a function literal at line 156, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/StockAutocomplete/StockAutocomplete.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d531eaca5d49bab3c2ceeaec9c3820af0ddb90213ee6fe139856bb869e9c1e79"}},{"ruleId":"D1","level":"warning","message":{"text":"StockBar.StockBar (cyclomatic 20): StockBar.StockBar has cyclomatic complexity 20 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 9 belong to 5 function literals inside it that branch. 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":"apps/dsa-web/src/components/history/StockBar.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"410516e6653ff2244097e73a0cef84afe062ac0a006953d68d7d7edef75065fa"}},{"ruleId":"D1","level":"warning","message":{"text":"ReportMarkdownPanel.ReportMarkdownPanel (cyclomatic 20): ReportMarkdownPanel.ReportMarkdownPanel has cyclomatic complexity 20 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportMarkdownPanel.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a21464f40836ee442336374eedbb2467ef60890fbd31edfe07ecc3269de326"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeStockWorkspace.WatchlistRowItem (cyclomatic 20): HomeStockWorkspace.WatchlistRowItem 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":"apps/dsa-web/src/components/watchlist/HomeStockWorkspace.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd39aa630c83ab71a93e4c3c9aea99f9c541f36cc5693b5b2870dc53a75df322"}},{"ruleId":"D1","level":"warning","message":{"text":"analysis._handle_async_analysis_batch (cyclomatic 19): analysis._handle_async_analysis_batch 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":"api/v1/endpoints/analysis.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be0df824fa629a2b5464e47c42758ec50f143a3289d769f403ecd0c9431401e"}},{"ruleId":"D1","level":"warning","message":{"text":"DataFetcherManager.prefetch_realtime_quotes (cyclomatic 19): DataFetcherManager.prefetch_realtime_quotes 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":"data_provider/base.py"},"region":{"startLine":2206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6faef31df7ccb1d23f0af8507ceb58c8cf93a3539f673f0e127fe69092b0d0"}},{"ruleId":"D1","level":"warning","message":{"text":"DataFetcherManager.batch_get_stock_names (cyclomatic 19): DataFetcherManager.batch_get_stock_names 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":"data_provider/base.py"},"region":{"startLine":3259}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efedacd5e508079bf8915b98d281df7d2b59e3c7bf90b892208f112dc169617"}},{"ruleId":"D1","level":"warning","message":{"text":"fundamental_adapter._build_dividend_payload (cyclomatic 19): fundamental_adapter._build_dividend_payload 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":"data_provider/fundamental_adapter.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"802a80b87208709c9706814ee0f37a8f59cb3db638e303a5c901fe21d37620bb"}},{"ruleId":"D1","level":"warning","message":{"text":"TickFlowFetcher.get_market_stats (cyclomatic 19): TickFlowFetcher.get_market_stats 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":"data_provider/tickflow_fetcher.py"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"f313d8d07cfd9cd667a11996b87c11f524b5d682c7a2a7fc8e3dcbde61a8f1e7"}},{"ruleId":"D1","level":"warning","message":{"text":"YfinanceFetcher._convert_stock_code (cyclomatic 19): YfinanceFetcher._convert_stock_code 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a720a5180b5cd60e8c5fb2a2b595f648d09f23c11093ab354eeea4a1975e931c"}},{"ruleId":"D1","level":"warning","message":{"text":"YfinanceFetcher._get_us_stock_quote_from_stooq (cyclomatic 19): YfinanceFetcher._get_us_stock_quote_from_stooq 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6b80651c1b96b9a8b3903f8f8d8cd8e564d8a044f0641a3560cfa0713d4d19"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOrchestrator._build_context (cyclomatic 19): AgentOrchestrator._build_context has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/orchestrator.py"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c52803bab144823d18e0ba0fbd1ae89cab700586f358ca9d5205131e28ec44"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.try_parse_json (cyclomatic 19): runner.try_parse_json has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/runner.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"f299992ee7c9f29367d7eb5c170a681414228fc4be13e393c048cdc20b59457e"}},{"ruleId":"D1","level":"warning","message":{"text":"web_intent_resolver._narrow_group_entities (cyclomatic 19): web_intent_resolver._narrow_group_entities has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_resolver.py"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"3347d068d2e65085a2ccf3fc759f8f8d654ddc4c3b9f23ffaf8b9686304c61ca"}},{"ruleId":"D1","level":"warning","message":{"text":"market_review._render_sector_payload_block (cyclomatic 19): market_review._render_sector_payload_block has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/market_review.py"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5759a1272466b60998241ddac5eae68bf88dc8af7a346ce779ace0e4c31d9cf"}},{"ruleId":"D1","level":"warning","message":{"text":"StockAnalysisPipeline._backfill_agent_dashboard_fields (cyclomatic 19): StockAnalysisPipeline._backfill_agent_dashboard_fields has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":2538}}}],"partialFingerprints":{"codehealthFindingId/v1":"976a904b89a98e95cf4a79354449775e05c384f24f52a91e78176f6ea79726db"}},{"ruleId":"D1","level":"warning","message":{"text":"pipeline._symbol_scope_lookup_values (cyclomatic 19): pipeline._symbol_scope_lookup_values has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"88899ccdf8632f0233110ea0899bc391614968055a670eb0a068a9c8783a87de"}},{"ruleId":"D1","level":"warning","message":{"text":"hermes.canonicalize_hermes_base_url (cyclomatic 19): hermes.canonicalize_hermes_base_url has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/hermes.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6bc38ecac571582dfd9e86c9701a0d784087bac90140365305fc902661f785"}},{"ruleId":"D1","level":"warning","message":{"text":"MarketAnalyzer.build_market_review_payload (cyclomatic 19): MarketAnalyzer.build_market_review_payload has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_analyzer.py"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"768f0fa29d5044c974fb46bf4c0589a2bef5d35fec4365f16becb5a0b2506177"}},{"ruleId":"D1","level":"warning","message":{"text":"MarketAnalyzer._merge_persisted_market_intelligence (cyclomatic 19): MarketAnalyzer._merge_persisted_market_intelligence has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_analyzer.py"},"region":{"startLine":2079}}}],"partialFingerprints":{"codehealthFindingId/v1":"4792c923abde3e38614fa72bedea5d1381dadf7b94b0cd1ad96f33c94cb49f15"}},{"ruleId":"D1","level":"warning","message":{"text":"SignalAttribution.validate_and_normalize_contributions (cyclomatic 19): SignalAttribution.validate_and_normalize_contributions has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/schemas/report_schema.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ce0049c890b93b4423fd911242c8d1146df0c63203febfadac10bfdf602772"}},{"ruleId":"D1","level":"warning","message":{"text":"AnspireSearchProvider._do_search (cyclomatic 19): AnspireSearchProvider._do_search has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df2ff7babab3e38380b9ea4fe2cc85f8e081c89ee6211e8841b4e0124530216"}},{"ruleId":"D1","level":"warning","message":{"text":"daily_market_context.format_daily_market_context_prompt_section (cyclomatic 19): daily_market_context.format_daily_market_context_prompt_section has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/daily_market_context.py"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb7d61578f07d60bfcfb05617df886accd86cb7e7e24424c899d23777b3c67b"}},{"ruleId":"D1","level":"warning","message":{"text":"decision_signal_extractor.build_decision_signal_payload_from_report (cyclomatic 19): decision_signal_extractor.build_decision_signal_payload_from_report has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_extractor.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d425c397652ee31ff96957d557535bfe858e2cd5d468ef19d4b80558346ffe1"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionSignalService.list_signals (cyclomatic 19): DecisionSignalService.list_signals has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_service.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63d9c4265ecd365a792ef3a1ea6f92f55cd9b3b8a9ff271ed98aca7d563fd69"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionSignalService._normalize_payload (cyclomatic 19): DecisionSignalService._normalize_payload has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_service.py"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d5aa08df58f6b93ae1677e15dcfd084c7ae449a90f71ddbf5fae2bedc00975"}},{"ruleId":"D1","level":"warning","message":{"text":"image_stock_extractor._parse_items_from_text (cyclomatic 19): image_stock_extractor._parse_items_from_text has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/image_stock_extractor.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ea0691620280a651b1fc3d06d06cdeb6db1590646f79455dafeff25dbc8905"}},{"ruleId":"D1","level":"warning","message":{"text":"market_light_service.load_previous_snapshot (cyclomatic 19): market_light_service.load_previous_snapshot has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/market_light_service.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f166e9eb117b2fe56795bb8f621359a3000940143f8e3a84e8e3841075edd4b"}},{"ruleId":"D1","level":"warning","message":{"text":"name_to_code_resolver.resolve_name_to_code (cyclomatic 19): name_to_code_resolver.resolve_name_to_code has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/name_to_code_resolver.py"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d4f17280f8d1255a823940c247c05a39e39ca9eca48d3bf3eb70744631067a"}},{"ruleId":"D1","level":"warning","message":{"text":"run_diagnostics.build_run_diagnostic_summary (cyclomatic 19): run_diagnostics.build_run_diagnostic_summary has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_diagnostics.py"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b9e7d4ecb3aa3e49bdbb7eb650aee417882cb67388fff3db2099f050e05f9d"}},{"ruleId":"D1","level":"warning","message":{"text":"context.summarize_candidate_profile (cyclomatic 19): context.summarize_candidate_profile has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/context.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf96cf42cba495b4008c074934d5f091fd848fbd2dd5638b49dcdd179c0b4f0c"}},{"ruleId":"D1","level":"warning","message":{"text":"hotspot.classify_hotspot_stage (cyclomatic 19): hotspot.classify_hotspot_stage has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/hotspot.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0c220cfa63d0c0e0469d0fd27f83333a687719fa006f4604cb9f69d3afcfb4"}},{"ruleId":"D1","level":"warning","message":{"text":"post_analysis._scorecard_delta (cyclomatic 19): post_analysis._scorecard_delta has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/post_analysis.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2c4144bbddc6075560f23d187272100caca621d90db4adbe70f2938c353448"}},{"ruleId":"D1","level":"warning","message":{"text":"screening_service._enrich_candidates_with_dsa (cyclomatic 19): screening_service._enrich_candidates_with_dsa has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":3513}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa17cc3ac0646a98a59886bec6f5cbfdde87948897bb0d1294e5ca1fc01c68b5"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillOpinionSampleService.persist (cyclomatic 19): SkillOpinionSampleService.persist has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/skill_opinion_sample_service.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb27b963a5bc72962c7dbed66f91b2011304e03bad9d8bb3eb5130da304a9b00"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemConfigService._classify_llm_http_error (cyclomatic 19): SystemConfigService._classify_llm_http_error has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":4251}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83b16dd4d4a747a5eebee9a4a0d85049c0811fecad9c07ba6d95b9dfd936021"}},{"ruleId":"D1","level":"warning","message":{"text":"MarketReviewRegionSelector.MarketReviewRegionSelector (cyclomatic 19): MarketReviewRegionSelector.MarketReviewRegionSelector has cyclomatic complexity 19 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 9 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/market-review/MarketReviewRegionSelector.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2f1692c1e9414860b7f5f8c5b0c07d7aec249bc99deb110f6560b2ee1e003a"}},{"ruleId":"D1","level":"warning","message":{"text":"ReportNews.ReportNews (cyclomatic 19): ReportNews.ReportNews has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. 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":"apps/dsa-web/src/components/report/ReportNews.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a0a121102bf515e36215fa3faac89794f5d8ed09d69dda4b1b867f3410ba36"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentBackendStatusPanel.AgentBackendStatusPanel (cyclomatic 19): AgentBackendStatusPanel.AgentBackendStatusPanel has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/AgentBackendStatusPanel.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f1090e6de4c456cced11f488059807a06124202ce0b5158dd6707c4cc4a8ee"}},{"ruleId":"D1","level":"warning","message":{"text":"chatStockCode.extractStockCodesFromMessage (cyclomatic 19): chatStockCode.extractStockCodesFromMessage has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/chatStockCode.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0edebf34c27609982a63ca69ad364f11a81c868681d34ffbeeb9d5bf908c790"}},{"ruleId":"D1","level":"warning","message":{"text":"StrategiesCommand.execute (cyclomatic 18): StrategiesCommand.execute 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":"bot/commands/strategies.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe4fdd1f6123efc9cde8827f5ced0ba79d5da1280f10dad6f463fae9addb461"}},{"ruleId":"D1","level":"warning","message":{"text":"DataFetcherManager._supplement_capital_flow_from_fetchers (cyclomatic 18): DataFetcherManager._supplement_capital_flow_from_fetchers 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":"data_provider/base.py"},"region":{"startLine":4622}}}],"partialFingerprints":{"codehealthFindingId/v1":"546576f3bc15386fe5bc866e23dc0c2ca2133b59f023ccdfd05da7d04d731d10"}},{"ruleId":"D1","level":"warning","message":{"text":"TushareFetcher.get_market_stats (cyclomatic 18): TushareFetcher.get_market_stats 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a1adbf6b985a562295c2271dfb08091758eb6069af2b2bb0652e5a2223cf91"}},{"ruleId":"D1","level":"warning","message":{"text":"llm_adapter.resolve_fallback_litellm_wire_models (cyclomatic 18): llm_adapter.resolve_fallback_litellm_wire_models has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/llm_adapter.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46deaccec52434221c39ee5dd9d03f68e38f9de212de1194163856cdaaf53b6"}},{"ruleId":"D1","level":"warning","message":{"text":"stock_scope.extract_stock_code_spans (cyclomatic 18): stock_scope.extract_stock_code_spans has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/stock_scope.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafa1dc20155f62d5606421bd2e4c37fd97a7b2bb4dbb5269d2f93abed2f3c96"}},{"ruleId":"D1","level":"warning","message":{"text":"web_intent_resolver._split_sub_messages (cyclomatic 18): web_intent_resolver._split_sub_messages has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_resolver.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"2849c4c3be0ceb5aa3f73ce24897cf657051b125a033761616003e036480fe1d"}},{"ruleId":"D1","level":"warning","message":{"text":"analysis_context_pack_overview._sanitize_persisted_overview (cyclomatic 18): analysis_context_pack_overview._sanitize_persisted_overview has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis_context_pack_overview.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"1589b79489642280f62db03998939c0084c95103b650cf1b6e1e3972d7519941"}},{"ruleId":"D1","level":"warning","message":{"text":"trading_calendar.infer_market_phase (cyclomatic 18): trading_calendar.infer_market_phase has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/trading_calendar.py"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"f594fe63e383db0effa0d8c3633bcb7e8fc34dc3d1a631c37f7ab41f42ce29da"}},{"ruleId":"D1","level":"warning","message":{"text":"local_cli_backend._redact_double_quoted_yaml_sensitive_field (cyclomatic 18): local_cli_backend._redact_double_quoted_yaml_sensitive_field has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"511b452caef6d894dc8c443582ee15b58790a8bd0c86ee5244b2810aff869378"}},{"ruleId":"D1","level":"warning","message":{"text":"local_cli_backend._extract_claude_code_json (cyclomatic 18): local_cli_backend._extract_claude_code_json has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":1783}}}],"partialFingerprints":{"codehealthFindingId/v1":"54131ed64483ee655bc3831c8fb8a8d7c92b69669ea1331bcb77048a522af82e"}},{"ruleId":"D1","level":"warning","message":{"text":"MarketAnalyzer._build_stats_block (cyclomatic 18): MarketAnalyzer._build_stats_block has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_analyzer.py"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a813c49de6bb5224c8d36ac483479a975480fa13f4dfc66aef312927602015"}},{"ruleId":"D1","level":"warning","message":{"text":"SearXNGSearchProvider._do_search (cyclomatic 18): SearXNGSearchProvider._do_search has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":2034}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ee8473ee695e68df2ad143ab63cf3e6b61b7c6598a8231e3c136a3c7432e4b"}},{"ruleId":"D1","level":"warning","message":{"text":"IntelligenceService._normalize_source_fields (cyclomatic 18): IntelligenceService._normalize_source_fields has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/intelligence_service.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"db660b87b0271c8856ba08371d0eb461282f94786a8be69b1494ff2fb6338feb"}},{"ruleId":"D1","level":"warning","message":{"text":"PortfolioService.record_trade (cyclomatic 18): PortfolioService.record_trade has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_service.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15cbbb1a37a44da343c9d5d61644b12be95b7b4138899e3d6c279a5dd011a19"}},{"ruleId":"D1","level":"warning","message":{"text":"hotspot.discover_hotspots (cyclomatic 18): hotspot.discover_hotspots has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/hotspot.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d84101c8acc98bfac0f3fbadd381406ea575447532e074c26e84f992b08496"}},{"ruleId":"D1","level":"warning","message":{"text":"screening_service._build_hotspot_event_routes_from_search (cyclomatic 18): screening_service._build_hotspot_event_routes_from_search has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4289d8068771737ccfda6eead4add2ec0491e89e027fe3976d8c920b3159fa5"}},{"ruleId":"D1","level":"warning","message":{"text":"stock_code_utils._build_market_code_variants (cyclomatic 18): stock_code_utils._build_market_code_variants has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_code_utils.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2970315511f663c394c4e88b807ac2104bc2fa8aa5070ac89f1de14e803bfd9"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemConfigService._mask_notification_target (cyclomatic 18): SystemConfigService._mask_notification_target has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":3275}}}],"partialFingerprints":{"codehealthFindingId/v1":"4016a30b6db51b95463a5fe8353a2a0b31399a0859e0df0e9254167e9d8e5994"}},{"ruleId":"D1","level":"warning","message":{"text":"storage.persist_llm_usage (cyclomatic 18): storage.persist_llm_usage has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage.py"},"region":{"startLine":4707}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07d028e4398095da8dc741fd9689ca93d5b992a2ffbadf0ce506b21dae6850e"}},{"ruleId":"D1","level":"warning","message":{"text":"main.waitForHealth (cyclomatic 18): main.waitForHealth has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 1039, 1077, 1029, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/main.js"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"967ed3ade9428472d9b1dab29b14e980a89dab9de4bc0ce7760f2095605271f5"}},{"ruleId":"D1","level":"warning","message":{"text":"decisionAction.getDecisionActionTone (cyclomatic 18): decisionAction.getDecisionActionTone 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":"apps/dsa-web/src/utils/decisionAction.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7a0f051d6e7ead15d77ca732ad2f9d99b1f97e25e6cec531c8a9855bb645c9"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationBackendStatusPanel.GenerationBackendStatusPanel (cyclomatic 18): GenerationBackendStatusPanel.GenerationBackendStatusPanel has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 107, 141, 159). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/GenerationBackendStatusPanel.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d29ce94d30ff98137e4a57ca84994b907a49d187861c8c5dd6a1aeff5a14c31"}},{"ruleId":"D1","level":"warning","message":{"text":"LoginPage.LoginPage (cyclomatic 18): LoginPage.LoginPage has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/LoginPage.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ff924fbea501ab9c4a9a87ca87ebad3308c2efcfb07d9b58846a7e871a8266"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatPage.ChatPage::getCurrentStage (cyclomatic 18): ChatPage.ChatPage::getCurrentStage 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. This shape REPEATS in the file: one other method here (ChatPage.ChatPage) 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":"apps/dsa-web/src/pages/ChatPage.tsx"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80a5dca8b7c9515864ee82186bf587703c6120ecb2f1d5a9c908f6bcc7e5f80"}},{"ruleId":"D1","level":"warning","message":{"text":"portfolio._resolve_position_analysis_context (cyclomatic 17): portfolio._resolve_position_analysis_context has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/endpoints/portfolio.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"989d53be367803c0137c9a6a58fcb7475d477824e12b577e96b7d6a867326307"}},{"ruleId":"D1","level":"warning","message":{"text":"AkshareFetcher._get_hk_realtime_quote (cyclomatic 17): AkshareFetcher._get_hk_realtime_quote 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2d83e39071b4dc9cd3540fffa7dfc0edb5fa4b2930b64435aedccf45071962"}},{"ruleId":"D1","level":"warning","message":{"text":"TushareFetcher._convert_stock_code (cyclomatic 17): TushareFetcher._convert_stock_code 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1e80580159e18f2a55f296ffb1266c615b941b68822ee243d3bb0c556735e8"}},{"ruleId":"D1","level":"warning","message":{"text":"LLMToolAdapter.call_completion (cyclomatic 17): LLMToolAdapter.call_completion has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/llm_adapter.py"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4575980a389744c3579006ca572a17af66d1ddb4da1e60ecd193b03e7e97fd"}},{"ruleId":"D1","level":"warning","message":{"text":"web_intent_tokenizer._split_by_stock_entities (cyclomatic 17): web_intent_tokenizer._split_by_stock_entities has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_tokenizer.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb6e66960f7865405083169f9e07f546a7f6e6d108a0f9c1d2f72a10ba65ae5"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiAnalyzer._init_litellm (cyclomatic 17): GeminiAnalyzer._init_litellm has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":2796}}}],"partialFingerprints":{"codehealthFindingId/v1":"0757a90f2f0f11f2ef3e39387c5d6cec6a08cb3ed1ad5c7e20bce613da85cac8"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiAnalyzer._get_hermes_config_error (cyclomatic 17): GeminiAnalyzer._get_hermes_config_error has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":2959}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cc6b6ab36aba8192e1b16fa2fe3dd35113c1c83aa6b7c073b1f3a3c13d7f78"}},{"ruleId":"D1","level":"warning","message":{"text":"analyzer._capital_flow_bias_with_status (cyclomatic 17): analyzer._capital_flow_bias_with_status has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"42518aa245ac91b63d76ff40ecc4e9ec5b1f026732c9c715393d71d926f61329"}},{"ruleId":"D1","level":"warning","message":{"text":"portfolio._discover_real_accounts (cyclomatic 17): portfolio._discover_real_accounts has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/brokers/futu/portfolio.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fab808b8db5ddf8c823b4ac3ccf8084915e6d7901087022e616dabab5a00ca"}},{"ruleId":"D1","level":"warning","message":{"text":"Config._legacy_keys_to_model_list (cyclomatic 17): Config._legacy_keys_to_model_list has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config.py"},"region":{"startLine":2815}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad75abc3e6439fdb880a0b4c2a06c07a24843917d4267ea727d4893a81b1aee"}},{"ruleId":"D1","level":"warning","message":{"text":"BacktestEngine._first_intent_position (cyclomatic 17): BacktestEngine._first_intent_position has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/backtest_engine.py"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"606482f95ee8ad29f237cf43caa69d9c7f22022f44a0137f7228e0de10308a85"}},{"ruleId":"D1","level":"warning","message":{"text":"StockAnalysisPipeline.__init__ (cyclomatic 17): StockAnalysisPipeline.__init__ has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"248818541666744dbd8602e023da3396ad55172e86888736c2cdbb585dd7ea1a"}},{"ruleId":"D1","level":"warning","message":{"text":"provider_cache._model_list_api_surface (cyclomatic 17): provider_cache._model_list_api_surface has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/provider_cache.py"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac13944b44a51d0dbae640826bc0e82fb27c1e217fc89828080af2de4af7bbf4"}},{"ruleId":"D1","level":"warning","message":{"text":"TelegramSender._send_telegram_message (cyclomatic 17): TelegramSender._send_telegram_message has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/telegram_sender.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceaa723e47c1fceb2ac96dcbcc2f8e6930fdf07ebf707362ad9a9c1a16b12be1"}},{"ruleId":"D1","level":"warning","message":{"text":"report_language._first_non_negated_position (cyclomatic 17): report_language._first_non_negated_position has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/report_language.py"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"b004ca5d80f9d5fd768e1290bb8501d7c3e814fb28a12a0e1ffb2dc0964f7147"}},{"ruleId":"D1","level":"warning","message":{"text":"IntelligenceRepository.upsert_items (cyclomatic 17): IntelligenceRepository.upsert_items has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/intelligence_repo.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bf2ae5f0182f879f9c4fa7408ac5f63616e4acfd5bc276af10dfb046f295d7"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_chat_session_service._active_from_snapshot (cyclomatic 17): agent_chat_session_service._active_from_snapshot has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/agent_chat_session_service.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20bff9fa913d9c3e4d23b4a72118e180268fbfc1e70f72e0b2703eb9a22bcf9"}},{"ruleId":"D1","level":"warning","message":{"text":"AlertService._normalize_rule_payload (cyclomatic 17): AlertService._normalize_rule_payload has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_service.py"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c5ca4b787c6e985eb4336da65d76570ca618dbfeca5f841ddf337364967a19"}},{"ruleId":"D1","level":"warning","message":{"text":"name_to_code_resolver._fix_name (cyclomatic 17): name_to_code_resolver._fix_name has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/name_to_code_resolver.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2634f28f49bc186b937ad675abc4a6dce6c76b794c598b9da3c041dcd6b608b"}},{"ruleId":"D1","level":"warning","message":{"text":"industry.enrich_industry_concepts (cyclomatic 17): industry.enrich_industry_concepts has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/industry.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"25dee60b222c3c4fb5d97207fae66fb9b6af605d80276b301e9f9ca2f4ee0fce"}},{"ruleId":"D1","level":"warning","message":{"text":"industry.load_board_heat_trends (cyclomatic 17): industry.load_board_heat_trends has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/industry.py"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"e432697d804e4525bb129924dc15365ebd6ed74891f6f6de54634f60c5a44860"}},{"ruleId":"D1","level":"warning","message":{"text":"DsaEastMoneyHotspotProvider.hotspot_rows (cyclomatic 17): DsaEastMoneyHotspotProvider.hotspot_rows has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":2252}}}],"partialFingerprints":{"codehealthFindingId/v1":"c246e3a73bde6e0114cb828ae19e45b771bc410ae9293aa26ed2ad4257cb5965"}},{"ruleId":"D1","level":"warning","message":{"text":"screening_service._resolve_screening_llm_models (cyclomatic 17): screening_service._resolve_screening_llm_models has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":3207}}}],"partialFingerprints":{"codehealthFindingId/v1":"5588b4f6f954614df5e9e70ea1006f0dcbb127b9d8bdd439f844078d10d57592"}},{"ruleId":"D1","level":"warning","message":{"text":"stock_daily_start_resolver.resolve_stock_daily_start (cyclomatic 17): stock_daily_start_resolver.resolve_stock_daily_start has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_daily_start_resolver.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29fc74a49c89ae4a4612501752546999db665d01a9a1de7cc2030c4352711dc"}},{"ruleId":"D1","level":"warning","message":{"text":"stock_list_parser._index_entry_from_row (cyclomatic 17): stock_list_parser._index_entry_from_row has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_list_parser.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2be7cd894b53b77b79e463c605c83f79c16ccb11a62db03eb0fc4935d9ee32"}},{"ruleId":"D1","level":"warning","message":{"text":"StockProfileService._code_aliases (cyclomatic 17): StockProfileService._code_aliases has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_profile_service.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"2821ec4cdb47f0a66b12d6aa4e56d4e019ba7580f8096b80648aaa95bf1a5696"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemConfigService._validate_llm_channel_definition (cyclomatic 17): SystemConfigService._validate_llm_channel_definition has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":5469}}}],"partialFingerprints":{"codehealthFindingId/v1":"6854c229c4a73c00e349d7912b4d4dc898e4a555348499b34ef27eee8630ed70"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalysisTaskQueue.submit_tasks_batch (cyclomatic 17): AnalysisTaskQueue.submit_tasks_batch has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/task_queue.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f352d9284b5afac2555799410889e5d879ba5b309a3995a7bb3877ad08240663"}},{"ruleId":"D1","level":"warning","message":{"text":"share_image.build_share_image_html (cyclomatic 17): share_image.build_share_image_html has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":2045}}}],"partialFingerprints":{"codehealthFindingId/v1":"8720766d310fb64ce4c04dde788446e841930d21477b8bde580a42930ff3d6f6"}},{"ruleId":"D1","level":"warning","message":{"text":"StockTrendAnalyzer._analyze_trend (cyclomatic 17): StockTrendAnalyzer._analyze_trend has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stock_analyzer.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e90b727c4ea05b2387c6cf6c5ae846a3c3391f86c176cedd70727eb36e620e"}},{"ruleId":"D1","level":"warning","message":{"text":"main.renderDesktopShareImage (cyclomatic 17): main.renderDesktopShareImage has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"apps/dsa-desktop/main.js"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"feca26461fa12f8e5786494b284840595aad98ad452bba8f6ce1d524deacf7c8"}},{"ruleId":"D1","level":"warning","message":{"text":"Tooltip.Tooltip (cyclomatic 17): Tooltip.Tooltip has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 35, 71, 85, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/Tooltip.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b639c1ed157fdf897d279188003b897cc340cdc26d57f072b87c5f18912f99"}},{"ruleId":"D1","level":"warning","message":{"text":"searchStocks.calculateMatchScore (cyclomatic 17): searchStocks.calculateMatchScore 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":"apps/dsa-web/src/utils/searchStocks.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc9f1d032598342085009f61a69f8af76a55da68ee58651cce089372bcab725"}},{"ruleId":"D1","level":"warning","message":{"text":"RunFlowGraph.buildDataSourceBlocks (cyclomatic 17): RunFlowGraph.buildDataSourceBlocks has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 275, 265, 301, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e1586199cc424124820fe9bc11b4398e366a4224525ffc7aff30cb9e7645cf"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskPanel.TaskPanel (cyclomatic 17): TaskPanel.TaskPanel has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/tasks/TaskPanel.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba383751cf13192214b4fd0d806780d40be84fd6b6367530297985d0b91dd3f5"}},{"ruleId":"D1","level":"warning","message":{"text":"LLMChannelEditor.LLMChannelEditor (cyclomatic 17): LLMChannelEditor.LLMChannelEditor 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. This shape REPEATS in the file: one other method here (LLMChannelEditor.LLMChannelEditor::handleSave) 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":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":1668}}}],"partialFingerprints":{"codehealthFindingId/v1":"6600e57be18c57501a6d89a71d9b8cd6aef1584b2e5ff49aa6875d48446fdd4c"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionSignalDisplay.DecisionSignalDetails (cyclomatic 17): DecisionSignalDisplay.DecisionSignalDetails has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/decision-signals/DecisionSignalDisplay.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d17f85d6847a0edae2e9d323eecee9ecb3418b687dfd8982b4cb45c0bbce4d"}},{"ruleId":"D1","level":"warning","message":{"text":"AlertRuleList.AlertRuleList (cyclomatic 17): AlertRuleList.AlertRuleList has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 187, isRuleActionBusy, a function literal at line 274). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/alerts/AlertRuleList.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"874647d784ce6a9971ab49c62114ed57a7841d19c23a88e700cde4f7602fa35f"}},{"ruleId":"D1","level":"warning","message":{"text":"StockScreeningPage.formatScreenMessage (cyclomatic 17): StockScreeningPage.formatScreenMessage 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":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e3da4d6325318edac4042f9ca1c2738d45e7731428f0955c4d5e3a1ed476d9"}},{"ruleId":"D1","level":"warning","message":{"text":"DataFetcherManager.get_concept_rankings (cyclomatic 16): DataFetcherManager.get_concept_rankings has cyclomatic complexity 16 (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":"data_provider/base.py"},"region":{"startLine":4946}}}],"partialFingerprints":{"codehealthFindingId/v1":"342301dfef91da0afcc8661cfb2c1938500d17dc34622bc8b7db219ed3a002a1"}},{"ruleId":"D1","level":"warning","message":{"text":"AkshareFundamentalAdapter.get_dragon_tiger_flag (cyclomatic 16): AkshareFundamentalAdapter.get_dragon_tiger_flag has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/fundamental_adapter.py"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"450a7f43cdb3747c8b77cf7c646a35680b8ed4ffdbcee056e62ef8b3e513cd27"}},{"ruleId":"D1","level":"warning","message":{"text":"TickFlowFetcher.prefetch_daily_klines (cyclomatic 16): TickFlowFetcher.prefetch_daily_klines 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":"data_provider/tickflow_fetcher.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d64b2eb10f273143036c29faad6f3c2804bf4cfb638f68f660ea2207b7f9d22"}},{"ruleId":"D1","level":"warning","message":{"text":"TickPlusFetcher._quote_from_row (cyclomatic 16): TickPlusFetcher._quote_from_row has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/tickplus_fetcher.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd06adb08b57f4b0fa90eac1117576adb248af69feae0c9d3ce064b57cff5229"}},{"ruleId":"D1","level":"warning","message":{"text":"main._prime_daily_market_context (cyclomatic 16): main._prime_daily_market_context has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.py"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cd9f57583e0cc397b4f59398acf7ee7e6f22e3882fcd61aa96f63e223f7293"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseAgent._build_messages (cyclomatic 16): BaseAgent._build_messages has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/agents/base_agent.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18b9a9982d682d928eb5737f6d87b2d353eb8a2f14a3ca0806589b776825c13"}},{"ruleId":"D1","level":"warning","message":{"text":"disagreement._classify_conflict_type (cyclomatic 16): disagreement._classify_conflict_type has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/disagreement.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6baebb778625a569bdd7f696bdfc8c6da83e8f748078c34129abfaed80fe7995"}},{"ruleId":"D1","level":"warning","message":{"text":"litellm_route_resolution.resolve_agent_litellm_route (cyclomatic 16): litellm_route_resolution.resolve_agent_litellm_route has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/litellm_route_resolution.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c885c71a5f83c4c367d9baa5941dbd8e7db8b5e4020d4a493bb7102372a157fb"}},{"ruleId":"D1","level":"warning","message":{"text":"LLMToolAdapter._init_litellm (cyclomatic 16): LLMToolAdapter._init_litellm has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/llm_adapter.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c27e25e2f5991c32115e5618b1791c65bfa2cf47be5b35bb227134848844c53"}},{"ruleId":"D1","level":"warning","message":{"text":"StrategySynthesizer._consensus_level (cyclomatic 16): StrategySynthesizer._consensus_level has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/synthesis.py"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"60be6bcb3576dfcaa48ec605081c22a05aae851549f03aefdc3448cae830b705"}},{"ruleId":"D1","level":"warning","message":{"text":"execution._normalize_tool_stock_code (cyclomatic 16): execution._normalize_tool_stock_code has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tools/execution.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"310f0394af8496fe28be745b27bb64b93dcfc5bce02b7004fe798a5c13c3f23a"}},{"ruleId":"D1","level":"warning","message":{"text":"execution._resolve_tool_stock_access (cyclomatic 16): execution._resolve_tool_stock_access has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tools/execution.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f72c16c26354289eebdabde90efb330f404425c4b28a3a4d1aff60f6f38c69"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiAnalyzer._resolve_configured_response_provider (cyclomatic 16): GeminiAnalyzer._resolve_configured_response_provider has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":3160}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb826207b406b184126abeea3f73ec46fb2e87a22ce77fbea1ad919869933c22"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiAnalyzer.generate_text_with_metadata (cyclomatic 16): GeminiAnalyzer.generate_text_with_metadata has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":3965}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0a90599baef28b81f53a5c8ad07f749cc84e47c87746def527e4933983dc25"}},{"ruleId":"D1","level":"warning","message":{"text":"BacktestEngine._evaluate_targets (cyclomatic 16): BacktestEngine._evaluate_targets has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/backtest_engine.py"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"307c6e4e427f637781b31f5d98c4c745d6dee7e9c6e82cd9ca11bc300a44df7b"}},{"ruleId":"D1","level":"warning","message":{"text":"StockAnalysisPipeline._attach_belong_boards_to_fundamental_context (cyclomatic 16): StockAnalysisPipeline._attach_belong_boards_to_fundamental_context has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"302ca1dbf5abc1e2484d52bd6e84a727f535ca4eccb91e8578b174009810f5d3"}},{"ruleId":"D1","level":"warning","message":{"text":"StockAnalysisPipeline._refresh_saved_diagnostic_snapshot (cyclomatic 16): StockAnalysisPipeline._refresh_saved_diagnostic_snapshot has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":2965}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ad4cb2e4f1d31b47a27d55350f08250b409f4f8594f72f7f0356ca11610e7a"}},{"ruleId":"D1","level":"warning","message":{"text":"MarketAnalyzer._resolve_configured_response_provider (cyclomatic 16): MarketAnalyzer._resolve_configured_response_provider has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_analyzer.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac4870d1ca5edbeb18b2255034ea109565a32af04b88fe0fb4ad857d83a4345"}},{"ruleId":"D1","level":"warning","message":{"text":"market_structure_prompt.format_market_structure_prompt_section (cyclomatic 16): market_structure_prompt.format_market_structure_prompt_section has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_structure_prompt.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9f576c4381c94c9392131c354b626f8271702e8295f8339c9b7a257b59d4f2"}},{"ruleId":"D1","level":"warning","message":{"text":"phase_decision_guardrail.apply_phase_decision_guardrails (cyclomatic 16): phase_decision_guardrail.apply_phase_decision_guardrails has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/phase_decision_guardrail.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"2814d4ca8a3da4f2271dc958b5c9b9c49781012a68afff49404c7044d5c84907"}},{"ruleId":"D1","level":"warning","message":{"text":"AlertService._default_rule_name (cyclomatic 16): AlertService._default_rule_name has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_service.py"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"0696dbeacba2df3208ccf1703a4e5622c53c3faa6a700c104cf8b2e118a3e5b8"}},{"ruleId":"D1","level":"warning","message":{"text":"BacktestService.get_summary (cyclomatic 16): BacktestService.get_summary has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/backtest_service.py"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"693f61319c37b133cdb2c6605c5d1ab145cd2331dc195e79a355cf32d9b0e9d5"}},{"ruleId":"D1","level":"warning","message":{"text":"DataCapabilityService._dataset_from_priority (cyclomatic 16): DataCapabilityService._dataset_from_priority has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/data_capability_service.py"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f102136f97b0c7f5da95b4c3f80a0d9414bd8ceff2ce88788c65c685b17ea6"}},{"ruleId":"D1","level":"warning","message":{"text":"decision_profile_policy._apply_guardrail (cyclomatic 16): decision_profile_policy._apply_guardrail has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_profile_policy.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8371434b0fdbf933ff3d67a3f89b86e42af83d3e1826e65a4c2efe7e402e25"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionSignalOutcomeService.get_stock_review (cyclomatic 16): DecisionSignalOutcomeService.get_stock_review has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_outcome_service.py"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf0803553833bb2ca4cbe38e35f3332d85b83e7f052534e8f81c6c22453a5f6"}},{"ruleId":"D1","level":"warning","message":{"text":"image_stock_extractor._get_api_keys_for_model (cyclomatic 16): image_stock_extractor._get_api_keys_for_model has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/image_stock_extractor.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"703cf0cffc81779690f66ee899e69b2b1cb0e6fdcd1013f7b7e886d14aad5f47"}},{"ruleId":"D1","level":"warning","message":{"text":"report_renderer.render (cyclomatic 16): report_renderer.render has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/report_renderer.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f74ae83c7d718f7d02f753a8921d76fc7df2f17bcdb741e5fa286f419f8de1b"}},{"ruleId":"D1","level":"warning","message":{"text":"research_artifact_service._build_evidence (cyclomatic 16): research_artifact_service._build_evidence has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/research_artifact_service.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08b4a2e9b907d0625388f7436a6918da911870f9d3761a0dac206956855b648"}},{"ruleId":"D1","level":"warning","message":{"text":"run_diagnostics._llm_component (cyclomatic 16): run_diagnostics._llm_component has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_diagnostics.py"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"62004d370aec473e2151429926e82f31933bc629b9419bd96b868121f522d234"}},{"ruleId":"D1","level":"warning","message":{"text":"run_diagnostics._notification_component (cyclomatic 16): run_diagnostics._notification_component has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_diagnostics.py"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"c514eb12a23135a9e94362d3a7128d104f61a74fba35a2b2b231ff71a59a9ca2"}},{"ruleId":"D1","level":"warning","message":{"text":"candidate_context.collect_candidate_context (cyclomatic 16): candidate_context.collect_candidate_context has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/candidate_context.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f7327d35af5e611177327d2be4a64105f9360739f404ab3d7584d51550fe94"}},{"ruleId":"D1","level":"warning","message":{"text":"context._load_candidate_context_rows (cyclomatic 16): context._load_candidate_context_rows has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/context.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fefa19ea9dbb90d9eae46a37b2bd91c0491ea4248fe9c81ad1de979f3800f2b"}},{"ruleId":"D1","level":"warning","message":{"text":"daily._latest_daily_bar_date (cyclomatic 16): daily._latest_daily_bar_date has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b76121024497f0640a7ea46dbe65d7be3125b482fda853cb8e63ab46977cf4"}},{"ruleId":"D1","level":"warning","message":{"text":"daily._fetch_daily_tencent (cyclomatic 16): daily._fetch_daily_tencent has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d7a3338df42204505c699219440f4dc9cd0ee897ec4e0333f88ee9d8c156d6"}},{"ruleId":"D1","level":"warning","message":{"text":"hotspot.load_hotspot_timeline (cyclomatic 16): hotspot.load_hotspot_timeline has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/hotspot.py"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bbae57b64120fb1b856d6168c81da7ea674719aac8794279108e7580456303"}},{"ruleId":"D1","level":"warning","message":{"text":"ranker.rank_candidates_with_metadata (cyclomatic 16): ranker.rank_candidates_with_metadata has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/ranker.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2419d0c4d5d06ea5959516b17d2ec731c0421bf94da7c8b6e8fe28b7d4a8d937"}},{"ruleId":"D1","level":"warning","message":{"text":"ranker._parse_ranking_response_detail (cyclomatic 16): ranker._parse_ranking_response_detail has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/ranker.py"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"30290da3a56a9f7ac1cb3548360154b79e79d5368f6f94ce90f2812cdcf063cd"}},{"ruleId":"D1","level":"warning","message":{"text":"ScreeningService.hotspot_detail (cyclomatic 16): ScreeningService.hotspot_detail has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"788884d0cec190d0bab363bf9ca94879a6e1a059824b6aa1d11b73a638abd8fc"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemConfigService._validate_generation_backend_litellm_runtime_source (cyclomatic 16): SystemConfigService._validate_generation_backend_litellm_runtime_source has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":2573}}}],"partialFingerprints":{"codehealthFindingId/v1":"71753f750d0a5bab5678835fa40d1023c570c56893705014a33d67f6dd2a8ba2"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemConfigService._validate_llm_channel_connection (cyclomatic 16): SystemConfigService._validate_llm_channel_connection has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":5594}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8eafa380e042bef10316831487d2a3277fb0df8eca25b6a04b67162c4ed183"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalysisTaskQueue._execute_task (cyclomatic 16): AnalysisTaskQueue._execute_task has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/task_queue.py"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d08b887d81a353fe10a62eedd020828da7f7920acaa97be7878fb087b4b7f65"}},{"ruleId":"D1","level":"warning","message":{"text":"share_image._merge_index_cards (cyclomatic 16): share_image._merge_index_cards has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb8c5a867169d69970da41f94f62100c15f012ee02c86301073df79926b2978"}},{"ruleId":"D1","level":"warning","message":{"text":"share_image._compact_position (cyclomatic 16): share_image._compact_position has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c71fd081a268016fe452b354ae247ca06ceed7bd8e186efd6138d40c7c020f"}},{"ruleId":"D1","level":"warning","message":{"text":"StockTrendAnalyzer._analyze_macd (cyclomatic 16): StockTrendAnalyzer._analyze_macd has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stock_analyzer.py"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"58427d153d0050dd05d552aacf8bd71ae8080f32f523cf89ce666bca1244c519"}},{"ruleId":"D1","level":"warning","message":{"text":"sanitize._is_webhook_url (cyclomatic 16): sanitize._is_webhook_url has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/sanitize.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d0aa0b321bcd67c5074a38499707d321ed042c9a41babb8bb1489d4de12242"}},{"ruleId":"D1","level":"warning","message":{"text":"ReportDetails.ReportDetails (cyclomatic 16): ReportDetails.ReportDetails has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. 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":"apps/dsa-web/src/components/report/ReportDetails.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f558fee6701348fa11b41952461ba1d6dc4e3ffc5df8f009e7a8ca91f3b6d0bc"}},{"ruleId":"D1","level":"warning","message":{"text":"RunFlowEventList.RunFlowEventList (cyclomatic 16): RunFlowEventList.RunFlowEventList has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 105, 62, 109, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowEventList.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7bb82e7dfba5f1d4f6aa297a3c8ba44fede300e4de650c1166e9a12719cfed"}},{"ruleId":"D2","level":"warning","message":{"text":"StockScreeningPage.StockScreeningPage (cognitive 358): StockScreeningPage.StockScreeningPage has cognitive complexity 358 (threshold 15). Drivers by points: ternaries 97 (199 pts), boolean chains 86, if/else 51 (63 pts), error handling 9 (10 pts) (nesting depth added 115). Of this number, 127 points are the body\u0027s own statements and 231 belong to 41 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cade632fedf7e0648a5af2d3e07d481501c3660024a388c830a3147fea2a1c"}},{"ruleId":"D2","level":"warning","message":{"text":"PortfolioPage.PortfolioPage (cognitive 292): PortfolioPage.PortfolioPage has cognitive complexity 292 (threshold 15). Drivers by points: ternaries 84 (119 pts), boolean chains 83, if/else 53 (66 pts), error handling 17, loops 5 (7 pts) (nesting depth added 50). Of this number, 117 points are the body\u0027s own statements and 175 belong to 40 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"36195a6580f92c3db675e327432f7af685498651c038a1ab942a3e9a2b3dc577"}},{"ruleId":"D2","level":"warning","message":{"text":"HomePage.HomePage (cognitive 246): HomePage.HomePage has cognitive complexity 246 (threshold 15). Drivers by points: if/else 78 (98 pts), ternaries 53 (82 pts), boolean chains 52, error handling 6 (7 pts), loops 6, match/switch 1 (nesting depth added 50). Of this number, 57 points are the body\u0027s own statements and 189 belong to 59 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/HomePage.tsx"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e8cf4f8f2c5beedb9c166d8a4921b00d8c6bd88e5bc45ea030e488918f8412"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsPage.SettingsPage (cognitive 229): SettingsPage.SettingsPage has cognitive complexity 229 (threshold 15). Drivers by points: ternaries 63 (134 pts), boolean chains 50, if/else 27 (38 pts), error handling 6, loops 1 (nesting depth added 82). Of this number, 167 points are the body\u0027s own statements and 62 belong to 20 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/SettingsPage.tsx"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"55623ab5a77dab1411fc326210c1c0050dee52844855a3a1bb19d3b148e5e02c"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationService.generate_dashboard_report (cognitive 201): NotificationService.generate_dashboard_report has cognitive complexity 201 (threshold 15). Drivers by points: if/else 42 (143 pts), ternaries 9 (30 pts), loops 6 (24 pts), boolean chains 4 (nesting depth added 140). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7b8fa1ca68e049952963a6c84b58409b2022a6d5bb6f1396d2d2346e03fb48"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager.get_realtime_quote (cognitive 182): DataFetcherManager.get_realtime_quote has cognitive complexity 182 (threshold 15). Drivers by points: if/else 45 (113 pts), ternaries 13 (31 pts), boolean chains 22, loops 4 (11 pts), error handling 2 (5 pts) (nesting depth added 96). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":2441}}}],"partialFingerprints":{"codehealthFindingId/v1":"50802b701e9952340d86e32699edc6e4735c777ef3c8b86312c8722039b9905e"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiAnalyzer._format_prompt (cognitive 166): GeminiAnalyzer._format_prompt has cognitive complexity 166 (threshold 15). Drivers by points: if/else 57 (74 pts), ternaries 34 (69 pts), boolean chains 22, error handling 1 (nesting depth added 52). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":4353}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe76e88ff6b430761553f2812f86adeaec4caf9fca9e5dd3136dd0c664cbbfa"}},{"ruleId":"D2","level":"warning","message":{"text":"Config._load_from_env (cognitive 165): Config._load_from_env has cognitive complexity 165 (threshold 15). Drivers by points: if/else 60 (86 pts), boolean chains 61, ternaries 9 (16 pts), loops 2 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config.py"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12784ba5bbc77c3ac82fff2308fa9495481c70ab6f6e7d79ddd9d7899edd00c"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.validate_structured (cognitive 157): Config.validate_structured has cognitive complexity 157 (threshold 15). Drivers by points: if/else 51 (82 pts), boolean chains 57, loops 5 (8 pts), ternaries 3 (6 pts), error handling 2 (4 pts) (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config.py"},"region":{"startLine":3261}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c2172901367a44d3655c09450018809939d75bad21b23c1962b512bd9f16da"}},{"ruleId":"D2","level":"warning","message":{"text":"StockAnalysisPipeline._send_notifications (cognitive 156): StockAnalysisPipeline._send_notifications has cognitive complexity 156 (threshold 15). Drivers by points: if/else 30 (71 pts), ternaries 8 (36 pts), boolean chains 24, loops 5 (24 pts), error handling 1 (nesting depth added 88). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":3806}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d181c6c4ac0201db395c3784a0d5dacf65a19223de701ebb205d62a396909d6"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationService.generate_wechat_dashboard (cognitive 145): NotificationService.generate_wechat_dashboard has cognitive complexity 145 (threshold 15). Drivers by points: if/else 27 (82 pts), ternaries 13 (43 pts), loops 5 (17 pts), boolean chains 3 (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":"src/notification.py"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1e07924b50b88baf24e0de49d6f3e2a2987d0557a1029aabf3a742c8a3974c"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run_full_analysis (cognitive 133): main.run_full_analysis has cognitive complexity 133 (threshold 15). Drivers by points: if/else 48 (81 pts), boolean chains 32, ternaries 7 (11 pts), loops 3 (7 pts), error handling 2 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.py"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8ca5bfcab5ee3ca44ed74f30c8371578f5e97132d916c9df7c246950825751"}},{"ruleId":"D2","level":"warning","message":{"text":"StockAnalysisPipeline.analyze_stock (cognitive 129): StockAnalysisPipeline.analyze_stock has cognitive complexity 129 (threshold 15). Drivers by points: if/else 51 (73 pts), boolean chains 21, error handling 10 (17 pts), ternaries 10 (15 pts), loops 1 (3 pts) (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"522725aa88c121f060ab38fc174c191be838b24a4fe3de13d4a16ec9c689c06a"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 123): main.main has cognitive complexity 123 (threshold 15). Drivers by points: if/else 40 (67 pts), boolean chains 18, error handling 10 (16 pts), ternaries 6 (14 pts), loops 4 (8 pts) (nesting depth added 45). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.py"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa7b588a5ca1fc62ff72d2d3c27231aa3c96f41ab40559299213eb26020f25d"}},{"ruleId":"D2","level":"warning","message":{"text":"StockAnalysisPipeline._analyze_with_agent (cognitive 114): StockAnalysisPipeline._analyze_with_agent has cognitive complexity 114 (threshold 15). Drivers by points: if/else 45 (65 pts), boolean chains 22, ternaries 13 (19 pts), error handling 5 (8 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a70541d9419b1d09f34e44165b63e4175fbc7a5a1b76d3d8f8935716100dff0"}},{"ruleId":"D2","level":"warning","message":{"text":"pipeline.screen (cognitive 112): pipeline.screen has cognitive complexity 112 (threshold 15). Drivers by points: if/else 36 (60 pts), ternaries 13 (25 pts), boolean chains 18, loops 2 (5 pts), error handling 2 (4 pts) (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/pipeline.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f63a30723529a7205aa02beafb610316b9d8d3baea366509afbcf8e5049c68d"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiAnalyzer._call_litellm_impl (cognitive 111): GeminiAnalyzer._call_litellm_impl has cognitive complexity 111 (threshold 15). Drivers by points: if/else 29 (74 pts), boolean chains 17, error handling 5 (14 pts), ternaries 2 (5 pts), loops 1 (nesting depth added 57). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":3638}}}],"partialFingerprints":{"codehealthFindingId/v1":"46366371378d88f3cd0453b0ade4001874b8c3fc742d57832842647df742abb6"}},{"ruleId":"D2","level":"warning","message":{"text":"share_image._market_data (cognitive 107): share_image._market_data has cognitive complexity 107 (threshold 15). Drivers by points: if/else 30 (60 pts), ternaries 9 (25 pts), boolean chains 13, loops 5 (9 pts) (nesting depth added 50). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"32aa2bbab4943cfa0fea60cbdbf934bdb8b4682bdc20894536e10f393c53a959"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMChannelEditor.ChannelRow (cognitive 106): LLMChannelEditor.ChannelRow has cognitive complexity 106 (threshold 15). Drivers by points: ternaries 43 (86 pts), boolean chains 16, if/else 2 (4 pts) (nesting depth added 45). Of this number, 100 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"c311d2c156ed32a8f91f744db639aa078c1793d58385f48c9fc3696657d24376"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationService.generate_daily_report (cognitive 104): NotificationService.generate_daily_report has cognitive complexity 104 (threshold 15). Drivers by points: if/else 28 (79 pts), boolean chains 17, loops 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 55). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf81824e697b1866819ed63b807d43f25b97f3cf0b087d1775e991f1016d7d2e"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryService._generate_single_stock_markdown (cognitive 104): HistoryService._generate_single_stock_markdown has cognitive complexity 104 (threshold 15). Drivers by points: if/else 37 (69 pts), ternaries 12 (16 pts), loops 4 (12 pts), boolean chains 4, error handling 1 (3 pts) (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/history_service.py"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb49c459a7a3db4b283206239a02b6854b8be3a0dc172c81664ed6a9e3bbb1a9"}},{"ruleId":"D2","level":"warning","message":{"text":"Config._parse_llm_channels_with_issues (cognitive 100): Config._parse_llm_channels_with_issues has cognitive complexity 100 (threshold 15). Drivers by points: if/else 31 (71 pts), boolean chains 20, loops 3 (6 pts), error handling 1 (3 pts) (nesting depth added 45). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config.py"},"region":{"startLine":2508}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f8aaf472ff3897f30a2c80d1ca9ca69c316160de0ff238001b05eaf916eb35"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOrchestrator._finalize_dashboard_payload (cognitive 97): AgentOrchestrator._finalize_dashboard_payload has cognitive complexity 97 (threshold 15). Drivers by points: if/else 46 (57 pts), boolean chains 20, ternaries 11 (17 pts), loops 1 (2 pts), error handling 1 (nesting depth added 18). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/orchestrator.py"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"266b96ceda71c4bad97ee6e5077337b34caf74957e5621e03cd01dd5ebf36102"}},{"ruleId":"D2","level":"warning","message":{"text":"StockAnalysisPipeline._enhance_context (cognitive 95): StockAnalysisPipeline._enhance_context has cognitive complexity 95 (threshold 15). Drivers by points: if/else 22 (57 pts), ternaries 6 (14 pts), boolean chains 12, error handling 2 (9 pts), loops 1 (3 pts) (nesting depth added 52). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff77e7d296d11423360d7055552309d193df5245ecdf26e708fbd3b96bd542cb"}},{"ruleId":"D2","level":"warning","message":{"text":"RunFlowGraph.RunFlowGraph (cognitive 94): RunFlowGraph.RunFlowGraph has cognitive complexity 94 (threshold 15). Drivers by points: ternaries 34 (43 pts), boolean chains 37, if/else 13 (14 pts) (nesting depth added 10). Most of this is not in the body itself: 5 of the 94 points are its own statements and the rest belongs to 25 function literals inside it that branch (lines 568, 746, 392, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4ed47644b21a095080b97b606f9acb0f553ddfa71ea98cbbeb6dd746dbfdf7"}},{"ruleId":"D2","level":"warning","message":{"text":"BacktestPage.BacktestPage (cognitive 90): BacktestPage.BacktestPage has cognitive complexity 90 (threshold 15). Drivers by points: ternaries 26 (58 pts), boolean chains 24, if/else 5, error handling 3 (nesting depth added 32). Of this number, 40 points are the body\u0027s own statements and 50 belong to 6 function items inside it that branch. 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":"apps/dsa-web/src/pages/BacktestPage.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07289ada1db3101e321761f465e68eb12186ead1748bcdf4e942a3c2872cdbe"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchService._score_news_relevance (cognitive 89): SearchService._score_news_relevance has cognitive complexity 89 (threshold 15). Drivers by points: if/else 24 (55 pts), loops 6 (12 pts), ternaries 4 (12 pts), boolean chains 10 (nesting depth added 45). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":3186}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed33e4013e6d9d3ebfec3832b549bc1b1f129c62e50206da686d1bc64fade5f"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis.get_analysis_status (cognitive 87): analysis.get_analysis_status has cognitive complexity 87 (threshold 15). Drivers by points: if/else 19 (57 pts), boolean chains 13, ternaries 6 (12 pts), error handling 2 (5 pts) (nesting depth added 47). 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":"api/v1/endpoints/analysis.py"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"781687ce10adfc3240db5b73f55f2f4f1967d49a8a98c3c1a33f90707c444113"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchService.search_stock_news (cognitive 87): SearchService.search_stock_news has cognitive complexity 87 (threshold 15). Drivers by points: if/else 21 (39 pts), ternaries 12 (25 pts), boolean chains 20, error handling 1 (2 pts), loops 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":4021}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff8c2d913aca633d91434fb1f46c90d69a0252fe74021073c1fef12bfed7531"}},{"ruleId":"D2","level":"warning","message":{"text":"stockPoolStore.useStockPoolStore (cognitive 87): stockPoolStore.useStockPoolStore has cognitive complexity 87 (threshold 15). Drivers by points: if/else 47 (56 pts), boolean chains 19, error handling 7, ternaries 4, loops 1 (nesting depth added 9). None of this is in the body itself: all 87 points belong to 22 function literals inside it that branch (lines 886, 714, 788, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/stores/stockPoolStore.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"43cc8fc0de5de54c7809e3a662fc588fbe68d92bcc95b14d08f26dfa1904d6d0"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager.get_daily_data (cognitive 85): DataFetcherManager.get_daily_data has cognitive complexity 85 (threshold 15). Drivers by points: if/else 16 (34 pts), ternaries 14 (25 pts), boolean chains 14, error handling 2 (6 pts), loops 3 (6 pts) (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":1927}}}],"partialFingerprints":{"codehealthFindingId/v1":"618b117b7a4d67119926c87ff796171ef08f7469f06b3114b6f4249c7fd8fb40"}},{"ruleId":"D2","level":"warning","message":{"text":"MarketAnalyzer._build_review_prompt (cognitive 85): MarketAnalyzer._build_review_prompt has cognitive complexity 85 (threshold 15). Drivers by points: ternaries 24 (53 pts), if/else 17 (28 pts), boolean chains 2, loops 2 (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_analyzer.py"},"region":{"startLine":1662}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3954bbe9ce2d49fc0365dcef5c140dd931051fc84c6ffe90a5f72eabe1b87c"}},{"ruleId":"D2","level":"warning","message":{"text":"YfinanceFundamentalAdapter.get_fundamental_bundle (cognitive 84): YfinanceFundamentalAdapter.get_fundamental_bundle has cognitive complexity 84 (threshold 15). Drivers by points: if/else 29 (41 pts), boolean chains 19, error handling 9 (15 pts), ternaries 4 (5 pts), loops 2 (4 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/yfinance_fundamental_adapter.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"97442a7c46eff61153b7f955837cc4383a058abd6d66dfe2815ae3357e10f74c"}},{"ruleId":"D2","level":"warning","message":{"text":"chat_object_decision.decide_chat_object (cognitive 82): chat_object_decision.decide_chat_object has cognitive complexity 82 (threshold 15). Drivers by points: if/else 32 (61 pts), boolean chains 11, loops 4 (6 pts), ternaries 2 (4 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/chat_object_decision.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4aaa16ffe66205d09147b0e1f273cfb5bbf28a93fec3467b5af6df6c8ffbc59"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOrchestrator._execute_pipeline (cognitive 82): AgentOrchestrator._execute_pipeline has cognitive complexity 82 (threshold 15). Drivers by points: if/else 25 (63 pts), boolean chains 9, loops 2 (5 pts), ternaries 3 (5 pts) (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/orchestrator.py"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d6f25d44a663a78b84d67513ed28d1582ee5059f40f684ca291adfdfa48726"}},{"ruleId":"D2","level":"warning","message":{"text":"StockAnalysisPipeline._agent_result_to_analysis_result (cognitive 80): StockAnalysisPipeline._agent_result_to_analysis_result has cognitive complexity 80 (threshold 15). Drivers by points: if/else 27 (55 pts), ternaries 6 (14 pts), boolean chains 11 (nesting depth added 36). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":2134}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb510b7fe9a39c05fc804d8bf78e0e8897cb9b3a8f09e1758d69f59ac3ac0a3c"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager.get_fundamental_context (cognitive 79): DataFetcherManager.get_fundamental_context has cognitive complexity 79 (threshold 15). Drivers by points: if/else 33 (46 pts), ternaries 16 (22 pts), error handling 2 (6 pts), boolean chains 4, loops 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":4308}}}],"partialFingerprints":{"codehealthFindingId/v1":"863043192ee2b9ade960e2a5b3c1c46fe04f60b70fb46d869876844215a4c7e0"}},{"ruleId":"D2","level":"warning","message":{"text":"PortfolioService._replay_account (cognitive 77): PortfolioService._replay_account has cognitive complexity 77 (threshold 15). Drivers by points: if/else 20 (52 pts), boolean chains 14, loops 6 (10 pts), ternaries 1 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_service.py"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6791782c53ccb94a9dd4857faf98b8a879b0cd89570b3b0d5c6dbbcadc36669"}},{"ruleId":"D2","level":"warning","message":{"text":"run_flow._append_active_flow_events (cognitive 75): run_flow._append_active_flow_events has cognitive complexity 75 (threshold 15). Drivers by points: if/else 12 (29 pts), ternaries 6 (24 pts), boolean chains 21, loops 1 (nesting depth added 35). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_flow.py"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"5943f87f9e288bfe8649a295a1f180fab78802dcfb6ee9b01babffed3d870baf"}},{"ruleId":"D2","level":"warning","message":{"text":"hotspot.get_hotspot_detail (cognitive 75): hotspot.get_hotspot_detail has cognitive complexity 75 (threshold 15). Drivers by points: if/else 20 (38 pts), boolean chains 21, ternaries 5 (12 pts), error handling 1 (2 pts), loops 1 (2 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":"src/services/screening/hotspot.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"03088d91091e7bff9f2f55f17a43d2cf0489028627295357042c84c3219939e7"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService._validate_value (cognitive 75): SystemConfigService._validate_value has cognitive complexity 75 (threshold 15). Drivers by points: if/else 23 (40 pts), boolean chains 15, error handling 5 (11 pts), loops 2 (5 pts), ternaries 2 (4 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":2651}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5c86e45ba49fbcf6e4c9721e836eba776678512556d26f14faa8bca1da0dbb"}},{"ruleId":"D2","level":"warning","message":{"text":"share_image._market_data_from_payload (cognitive 73): share_image._market_data_from_payload has cognitive complexity 73 (threshold 15). Drivers by points: if/else 21 (39 pts), ternaries 5 (15 pts), boolean chains 8, loops 2 (6 pts), error handling 1 (5 pts) (nesting depth added 36). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c62c6dfe37488c0747c8cbc4ea83a7dc83c2a282c463f6dac44c2fc64f7541"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_index_loader._validate_index_rows_semantics (cognitive 72): stock_index_loader._validate_index_rows_semantics has cognitive complexity 72 (threshold 15). Drivers by points: if/else 20 (50 pts), boolean chains 10, loops 5 (8 pts), ternaries 2 (4 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/data/stock_index_loader.py"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea27c4a04e0e2ddc602c4947ed14a0f23ea73c335096555a37d32a333352cac"}},{"ruleId":"D2","level":"warning","message":{"text":"StockAnalysisPipeline.run (cognitive 71): StockAnalysisPipeline.run has cognitive complexity 71 (threshold 15). Drivers by points: if/else 25 (41 pts), boolean chains 13, ternaries 4 (9 pts), loops 4 (6 pts), error handling 1 (2 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":3399}}}],"partialFingerprints":{"codehealthFindingId/v1":"c840fb9104bc971941de8359ce49fb423d7b1dc7caa27e1cbdba55d13f9cdb39"}},{"ruleId":"D2","level":"warning","message":{"text":"web_intent_resolver._consume_confirmations (cognitive 70): web_intent_resolver._consume_confirmations has cognitive complexity 70 (threshold 15). Drivers by points: if/else 23 (46 pts), boolean chains 14, loops 5 (9 pts), ternaries 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_resolver.py"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"3296da90b518ffe56289e1234a5a19249516aaecdb2ada6d0f1d9c1ee7286aac"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_list_parser.parse_analysis_target (cognitive 70): stock_list_parser.parse_analysis_target has cognitive complexity 70 (threshold 15). Drivers by points: if/else 25 (43 pts), boolean chains 19, ternaries 2 (6 pts), loops 1 (2 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":"src/services/stock_list_parser.py"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b991b25f1228fe0db75ba4ade2f3b123392e10f1eca33b2a0283a358cb314f"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.run_agent_loop (cognitive 69): runner.run_agent_loop has cognitive complexity 69 (threshold 15). Drivers by points: if/else 16 (36 pts), ternaries 5 (15 pts), boolean chains 14, loops 2 (4 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/runner.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20eb0918b9b45562dab2ebe144f9b76af9128687e12dcc1f13b1efb230a35f3"}},{"ruleId":"D2","level":"warning","message":{"text":"screening_service._attach_candidate_explanations (cognitive 69): screening_service._attach_candidate_explanations has cognitive complexity 69 (threshold 15). Drivers by points: if/else 24 (37 pts), boolean chains 23, ternaries 3 (5 pts), loops 2 (4 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":3984}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7bcbcbbde8af0963f2dc39ef13537c7e0e832de0fcf46a10dba20a843a2c3a"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService._collect_setup_channel_models (cognitive 69): SystemConfigService._collect_setup_channel_models has cognitive complexity 69 (threshold 15). Drivers by points: if/else 15 (34 pts), boolean chains 29, loops 3 (6 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":3551}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e6d7371f42c1ba39dea1a7bb89e3364f227d704dc1739fa35d3dea297b7be0"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryService._history_code_filter_candidates (cognitive 68): HistoryService._history_code_filter_candidates has cognitive complexity 68 (threshold 15). Drivers by points: if/else 18 (42 pts), boolean chains 16, loops 3 (7 pts), error handling 2 (3 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/history_service.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"079e7e440356c068c4184cfd371b93a65feaf715804c81e0de7f1cba12b14ffe"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager._normalize_belong_boards (cognitive 67): DataFetcherManager._normalize_belong_boards has cognitive complexity 67 (threshold 15). Drivers by points: if/else 23 (60 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":1688}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa01ddea02c00d61e41a70fd1d27027c25b0de658e80c6a8a634c1eb06c8134"}},{"ruleId":"D2","level":"warning","message":{"text":"web_intent_resolver._merge_llm_result (cognitive 66): web_intent_resolver._merge_llm_result has cognitive complexity 66 (threshold 15). Drivers by points: if/else 27 (48 pts), boolean chains 10, ternaries 3 (4 pts), loops 3, error handling 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_resolver.py"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff64da764554b5ce1ea076a157f46e6f50eb49379f83c21c2034fa2a3155b2fe"}},{"ruleId":"D2","level":"warning","message":{"text":"local_cli_backend._redact_multiline_sensitive_fields (cognitive 66): local_cli_backend._redact_multiline_sensitive_fields has cognitive complexity 66 (threshold 15). Drivers by points: if/else 17 (49 pts), boolean chains 14, loops 2 (3 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"744a9b05964556a62f3982c82afce6a54121b10c413dc8d8e872c2b6d892d1c7"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationBackendStatusService._parse_llm_channels_from_map (cognitive 66): GenerationBackendStatusService._parse_llm_channels_from_map has cognitive complexity 66 (threshold 15). Drivers by points: if/else 18 (36 pts), boolean chains 29, 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":"src/services/generation_backend_status_service.py"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"e543572ec25974a73196a0ee956f337a1300dbdce66b62a1ea60e2f7884d7a20"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager._build_offshore_fundamental_context (cognitive 65): DataFetcherManager._build_offshore_fundamental_context has cognitive complexity 65 (threshold 15). Drivers by points: if/else 27 (37 pts), ternaries 14 (15 pts), boolean chains 9, error handling 1 (3 pts), loops 1 (nesting depth added 13). 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":"data_provider/base.py"},"region":{"startLine":3959}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5373868a9ecd92de6d78b2fc81d6ebb9281034ff73ef1892281b71d5503b67"}},{"ruleId":"D2","level":"warning","message":{"text":"analyzer.apply_placeholder_fill (cognitive 65): analyzer.apply_placeholder_fill has cognitive complexity 65 (threshold 15). Drivers by points: if/else 20 (63 pts), boolean chains 1, loops 1 (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e817410863a40c3ca771c712ffced373b634f696e0e3c29d8e5d53ab648824"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService._validate_llm_channel_map (cognitive 65): SystemConfigService._validate_llm_channel_map has cognitive complexity 65 (threshold 15). Drivers by points: if/else 17 (35 pts), boolean chains 24, loops 4 (6 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":4717}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61039a22619d253efd27fb7af39be690de3d122ca57d00684df85a17a6696b9"}},{"ruleId":"D2","level":"warning","message":{"text":"formatters.chunk_markdown_preserving_blocks (cognitive 64): formatters.chunk_markdown_preserving_blocks has cognitive complexity 64 (threshold 15). Drivers by points: if/else 22 (46 pts), ternaries 4 (10 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/formatters.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"db36d5669a509ec96c138d9620da44f5d00c480fd884af765283f05f505112f1"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis_tools._handle_analyze_pattern (cognitive 62): analysis_tools._handle_analyze_pattern has cognitive complexity 62 (threshold 15). Drivers by points: if/else 18 (31 pts), ternaries 8 (17 pts), boolean chains 12, loops 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tools/analysis_tools.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"215cf1dd9e72f8ce4db6c5392f27fb4c974f8ae34f64a062e028ef499661ca42"}},{"ruleId":"D2","level":"warning","message":{"text":"SocialSentimentService._format_social_intel (cognitive 62): SocialSentimentService._format_social_intel has cognitive complexity 62 (threshold 15). Drivers by points: if/else 20 (40 pts), ternaries 4 (13 pts), loops 2 (6 pts), boolean chains 3 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/social_sentiment_service.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db421c13aabd9ef526bcba6a41546e98e27a81e50e09848ab43563be15669ba"}},{"ruleId":"D2","level":"warning","message":{"text":"import_parser._parse_dataframe (cognitive 60): import_parser._parse_dataframe has cognitive complexity 60 (threshold 15). Drivers by points: if/else 14 (34 pts), ternaries 5 (18 pts), boolean chains 7, loops 1 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/import_parser.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3833099d44864536438e3307076f5abcc259886e31c7358d89e02bec92195dc8"}},{"ruleId":"D2","level":"warning","message":{"text":"auth.auth_update_settings (cognitive 59): auth.auth_update_settings has cognitive complexity 59 (threshold 15). Drivers by points: if/else 22 (54 pts), boolean chains 5 (nesting depth added 32). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/endpoints/auth.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2848bd5f097914938512d3a3721d0c8500187be476cfb971e609436567cc0c"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService._collect_llm_channel_models_from_map (cognitive 59): SystemConfigService._collect_llm_channel_models_from_map has cognitive complexity 59 (threshold 15). Drivers by points: if/else 13 (29 pts), boolean chains 24, loops 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":"src/services/system_config_service.py"},"region":{"startLine":4907}}}],"partialFingerprints":{"codehealthFindingId/v1":"992ff8e59888a1f695de08ddf77615509c918a00e16fdadbca2a3b84c588e22a"}},{"ruleId":"D2","level":"warning","message":{"text":"share_image._stock_data (cognitive 59): share_image._stock_data has cognitive complexity 59 (threshold 15). Drivers by points: if/else 20 (28 pts), ternaries 9 (18 pts), boolean chains 8, loops 5 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"840da136645ab5fb003f5071fe3bbe7e39fc7d34b80f3dcce9cabb7b175f3988"}},{"ruleId":"D2","level":"warning","message":{"text":"RunFlowNodeDetails.RunFlowNodeDetails (cognitive 58): RunFlowNodeDetails.RunFlowNodeDetails has cognitive complexity 58 (threshold 15). Drivers by points: ternaries 17 (26 pts), boolean chains 16, if/else 14 (16 pts) (nesting depth added 11). Of this number, 33 points are the body\u0027s own statements and 25 belong to 10 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowNodeDetails.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edd5af27f97331f1bccd19785c1eb47a1228971f652ce9d157e90c7804c6617"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatPage.ChatPage (cognitive 58): ChatPage.ChatPage has cognitive complexity 58 (threshold 15). Drivers by points: if/else 61 (69 pts), ternaries 44 (68 pts), boolean chains 64, error handling 5, loops 1 (nesting depth added 32). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (ChatPage.ChatPage::getCurrentStage) 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":"apps/dsa-web/src/pages/ChatPage.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb828cdaa86a61039f5c8dc8f14b3b530cdccebdad29969f2aee46e7ca22317"}},{"ruleId":"D2","level":"warning","message":{"text":"PortfolioPage.buildExposureRows (cognitive 57): PortfolioPage.buildExposureRows has cognitive complexity 57 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 16, ternaries 5 (10 pts), loops 4 (6 pts) (nesting depth added 20). Of this number, 55 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"340cf3359dac8d49d0817ed819a95c946f6be55c4086140675ff4450fa85ccd3"}},{"ruleId":"D2","level":"warning","message":{"text":"screening_service._build_dsa_candidate_context (cognitive 56): screening_service._build_dsa_candidate_context has cognitive complexity 56 (threshold 15). Drivers by points: if/else 18 (27 pts), boolean chains 12, error handling 5 (11 pts), ternaries 6 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":3612}}}],"partialFingerprints":{"codehealthFindingId/v1":"905f41a82297bd80b1810a7fb4f44085f9322a72274f5fce7562b6fa67038db6"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionSignalsPage.DecisionSignalsPage::renderReassessPanel (cognitive 56): DecisionSignalsPage.DecisionSignalsPage::renderReassessPanel has cognitive complexity 56 (threshold 15). Drivers by points: ternaries 31 (50 pts), boolean chains 6 (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. This shape REPEATS in the file: one other method here (DecisionSignalsPage.DecisionSignalsPage) 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":"apps/dsa-web/src/pages/DecisionSignalsPage.tsx"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5d1b304d90df7f44818efd2c701b20a055550fdb43a56347f3072a368952d9"}},{"ruleId":"D2","level":"warning","message":{"text":"usage.normalize_litellm_usage (cognitive 55): usage.normalize_litellm_usage has cognitive complexity 55 (threshold 15). Drivers by points: if/else 16 (29 pts), boolean chains 21, ternaries 5 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/usage.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"667990029a336d66a61db06868f49e6fc5eb8f974b4b194ccba22107d5b64736"}},{"ruleId":"D2","level":"warning","message":{"text":"IntelligentImport.IntelligentImport (cognitive 55): IntelligentImport.IntelligentImport has cognitive complexity 55 (threshold 15). Drivers by points: boolean chains 23, if/else 18 (20 pts), ternaries 6 (9 pts), error handling 3 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 39 belong to 14 function literals inside it that branch. 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":"apps/dsa-web/src/components/settings/IntelligentImport.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc65d5faf5f7104521e506e86ebdc3295b8a50ca8fdafb9c6e2630491917a57"}},{"ruleId":"D2","level":"warning","message":{"text":"web_intent_resolver._token_facts (cognitive 54): web_intent_resolver._token_facts has cognitive complexity 54 (threshold 15). Drivers by points: if/else 13 (33 pts), boolean chains 15, loops 2 (4 pts), ternaries 1 (2 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":"src/agent/web_intent_resolver.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea52a63e83aeeccdd133f1e765edf63a2cace6500cdc2cfb6f53e97501159c1"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalCliGenerationBackend.generate (cognitive 54): LocalCliGenerationBackend.generate has cognitive complexity 54 (threshold 15). Drivers by points: if/else 18 (28 pts), error handling 14 (20 pts), boolean chains 3, ternaries 1 (2 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":2095}}}],"partialFingerprints":{"codehealthFindingId/v1":"232841d7786b513bceb74d21eb30a07137e1fe8208bffd998bdbc0d812db7c87"}},{"ruleId":"D2","level":"warning","message":{"text":"chat_object_decision.object_mentions (cognitive 53): chat_object_decision.object_mentions has cognitive complexity 53 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 7 (12 pts), ternaries 3 (11 pts), boolean chains 7, error handling 2 (6 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/chat_object_decision.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc4b820c5ec6f7a10a3eaf08ff4907aaf32496dfc5ef8562c77bcb8d9e7a927"}},{"ruleId":"D2","level":"warning","message":{"text":"web_intent_resolver._classify_rule (cognitive 53): web_intent_resolver._classify_rule has cognitive complexity 53 (threshold 15). Drivers by points: boolean chains 21, if/else 12 (17 pts), ternaries 7 (13 pts), loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_resolver.py"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fe90442fbac35a26c0ae1c80735db60ff797e49f313e42c55f8d7d22bc7110"}},{"ruleId":"D2","level":"warning","message":{"text":"portfolio._load_position_codes (cognitive 53): portfolio._load_position_codes has cognitive complexity 53 (threshold 15). Drivers by points: if/else 12 (31 pts), ternaries 3 (11 pts), error handling 3 (7 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/brokers/futu/portfolio.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfeb1324c850e9d7e2b54000e18f6b06ef3d53ac2386a6cd94e9b203b507897"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiAnalyzer.analyze (cognitive 52): GeminiAnalyzer.analyze has cognitive complexity 52 (threshold 15). Drivers by points: if/else 22 (31 pts), boolean chains 9, ternaries 5 (8 pts), error handling 2 (3 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":4028}}}],"partialFingerprints":{"codehealthFindingId/v1":"539ccb18e3d74940e8559127a3ec8c4bd757fa84c50b6ffd8ea161d329155659"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationService.generate_single_stock_report (cognitive 52): NotificationService.generate_single_stock_report has cognitive complexity 52 (threshold 15). Drivers by points: if/else 20 (34 pts), loops 3 (9 pts), ternaries 8, boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":1959}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4c7d74ed8e7de9f38b92b0aabde72bbdc0287ca57866e9b9171e1bbba7eae6"}},{"ruleId":"D2","level":"warning","message":{"text":"SerpAPISearchProvider._do_search (cognitive 51): SerpAPISearchProvider._do_search has cognitive complexity 51 (threshold 15). Drivers by points: if/else 14 (33 pts), loops 4 (8 pts), error handling 3 (5 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a28a07b5276465b2fa8534ad4d5f91bcec7deab1d0d5aedc0f55c003d5930e3"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime_scheduler._terminate_analysis_process_tree (cognitive 51): runtime_scheduler._terminate_analysis_process_tree has cognitive complexity 51 (threshold 15). Drivers by points: if/else 11 (19 pts), error handling 7 (18 pts), loops 4 (9 pts), boolean chains 5 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/runtime_scheduler.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a512cdd4bc51733bad5029aa81ea1704409269273081212024e40cdda06591"}},{"ruleId":"D2","level":"warning","message":{"text":"industry.load_industry_map (cognitive 51): industry.load_industry_map has cognitive complexity 51 (threshold 15). Drivers by points: if/else 14 (34 pts), loops 4 (8 pts), ternaries 1 (5 pts), boolean chains 4 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/industry.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75a6ec02ec9a53d2e3083a4eb9878411b66465c7268872a88f33a77a4dcca9d"}},{"ruleId":"D2","level":"warning","message":{"text":"MarketReviewReportView.MarketReviewReportView (cognitive 51): MarketReviewReportView.MarketReviewReportView has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 20 (26 pts), boolean chains 14, if/else 7 (10 pts), error handling 1 (nesting depth added 9). Of this number, 21 points are the body\u0027s own statements and 30 belong to 10 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/MarketReviewReportView.tsx"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"7371351bcf37f0588f2c56d1353fec7c3fc29bcfa5f41fb68c187f4153939172"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabaseManager._ensure_chat_session_schema (cognitive 50): DatabaseManager._ensure_chat_session_schema has cognitive complexity 50 (threshold 15). Drivers by points: if/else 10 (29 pts), loops 5 (10 pts), error handling 3 (8 pts), boolean chains 3 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage.py"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f091738c5084c365a37196d6fca2c5d81f71c7b41d878dca31e5254d80676ed"}},{"ruleId":"D2","level":"warning","message":{"text":"market_review.run_market_review (cognitive 49): market_review.run_market_review has cognitive complexity 49 (threshold 15). Drivers by points: if/else 17 (32 pts), boolean chains 5, error handling 3 (5 pts), ternaries 3 (5 pts), loops 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/market_review.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced21d69ac9e9a560c0be7427dd0dd3c5c3b93b5a6047067b1f57696a02d4d52"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMChannelEditor.buildChangedItemKeys (cognitive 49): LLMChannelEditor.buildChangedItemKeys has cognitive complexity 49 (threshold 15). Drivers by points: if/else 14 (33 pts), loops 5 (13 pts), boolean chains 3 (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":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed88043538ac1c2080ce95e53411a9953f4388e87b4d238a762b1d0f9123d5a"}},{"ruleId":"D2","level":"warning","message":{"text":"AskCommand._analyze_multi (cognitive 48): AskCommand._analyze_multi has cognitive complexity 48 (threshold 15). Drivers by points: if/else 12 (24 pts), error handling 3 (7 pts), loops 5 (7 pts), boolean chains 6, ternaries 1 (4 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bot/commands/ask.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"db940535b0d26a382196c5064b5d721e9310462a37f1673a85284acdeb2ae6a4"}},{"ruleId":"D2","level":"warning","message":{"text":"AkshareFundamentalAdapter.get_fundamental_bundle (cognitive 47): AkshareFundamentalAdapter.get_fundamental_bundle has cognitive complexity 47 (threshold 15). Drivers by points: if/else 18 (36 pts), ternaries 4 (9 pts), boolean chains 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":"data_provider/fundamental_adapter.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3326bd8dc3c35216cabfc28f94ed46273e38057e469576a5e310ebe5fb9d73"}},{"ruleId":"D2","level":"warning","message":{"text":"FutuFundamentalAdapter._dividends_and_splits (cognitive 47): FutuFundamentalAdapter._dividends_and_splits has cognitive complexity 47 (threshold 15). Drivers by points: if/else 10 (25 pts), ternaries 4 (12 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 24). 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":"data_provider/futu_fundamental_adapter.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4544bf4f3669b292610b335904ff1ad49dbf076616876330346e8fce71282e36"}},{"ruleId":"D2","level":"warning","message":{"text":"local_cli_backend._redact_yaml_explicit_sensitive_fields (cognitive 47): local_cli_backend._redact_yaml_explicit_sensitive_fields has cognitive complexity 47 (threshold 15). Drivers by points: if/else 9 (25 pts), boolean chains 9, loops 4 (7 pts), ternaries 3 (6 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"915c8acb9759fea7fc1aecf41fbf4fd0ba6a780e95dd7399a2768928641ebdea"}},{"ruleId":"D2","level":"warning","message":{"text":"PortfolioService._build_symbol_filter_values (cognitive 47): PortfolioService._build_symbol_filter_values has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (26 pts), ternaries 4 (13 pts), boolean chains 5, loops 1 (3 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":"src/services/portfolio_service.py"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a914e62c3319f607d38e252215dc7a58ef6b7859d8b5e8df361f979e2a63072"}},{"ruleId":"D2","level":"warning","message":{"text":"ShareImageButton.ShareImageButton (cognitive 47): ShareImageButton.ShareImageButton has cognitive complexity 47 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 12 (18 pts), boolean chains 6, error handling 3 (5 pts) (nesting depth added 14). Of this number, 20 points are the body\u0027s own statements and 27 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ShareImageButton.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc958ba3cc3c3d55104eb855b4e95900934db523c3ebc544282ec63242c47bb"}},{"ruleId":"D2","level":"warning","message":{"text":"metrics.compute_stage_trajectory_metrics (cognitive 46): metrics.compute_stage_trajectory_metrics has cognitive complexity 46 (threshold 15). Drivers by points: if/else 21 (34 pts), boolean chains 8, ternaries 2 (3 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/agent_trajectory/metrics.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"854e4ce1c4b9ca1aab6a50a8e32f323edc50fca13a8dd200d43c6dcbd687626a"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionSignalsPage.DecisionSignalsPage (cognitive 46): DecisionSignalsPage.DecisionSignalsPage has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 73 (108 pts), if/else 57 (68 pts), boolean chains 30, error handling 8, loops 1 (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (DecisionSignalsPage.DecisionSignalsPage::renderReassessPanel) 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":"apps/dsa-web/src/pages/DecisionSignalsPage.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80e2b21d3745cc5aab2482a6dec6b99af86d38cc9aa2d5b9e7cb619c5bd5519"}},{"ruleId":"D2","level":"warning","message":{"text":"web_intent_resolver._reclaim_orphan_entities (cognitive 45): web_intent_resolver._reclaim_orphan_entities has cognitive complexity 45 (threshold 15). Drivers by points: if/else 17 (23 pts), loops 5 (12 pts), boolean chains 9, ternaries 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_resolver.py"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c609a6aa2920be84d16bc4c54609d438d7afa3f5a17aa0500dfe5a55d932ac4"}},{"ruleId":"D2","level":"warning","message":{"text":"market_phase_summary.format_public_phase_pack_excerpt (cognitive 45): market_phase_summary.format_public_phase_pack_excerpt has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (32 pts), ternaries 4 (8 pts), boolean chains 3, loops 1 (2 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":"src/market_phase_summary.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"1897b426d09d41ba375234fdd4cdba76a099127ce8a0d4c030c0cd149ac51ac1"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_code_utils.resolve_daily_stock_identity (cognitive 45): stock_code_utils.resolve_daily_stock_identity has cognitive complexity 45 (threshold 15). Drivers by points: if/else 21 (32 pts), boolean chains 11, loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_code_utils.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b07ee4d4f22e6df89f483245f07003b7944c6dfe4311d9a71fcce29e217b7fd"}},{"ruleId":"D2","level":"warning","message":{"text":"Input.Input (cognitive 45): Input.Input has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 23 (36 pts), boolean chains 5, if/else 3 (4 pts) (nesting depth added 14). Of this number, 37 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/Input.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09300325704eb680a13d2b7b114b06164e05b3ea540d4cb3c69ea7dc3b75235"}},{"ruleId":"D2","level":"warning","message":{"text":"TickFlowFetcher.get_sector_rankings (cognitive 44): TickFlowFetcher.get_sector_rankings has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 14, loops 3, error handling 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":"data_provider/tickflow_fetcher.py"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3abf6b29a3a5542771baaad087f1678b2893306229b41ac5d641e4c7bdf023"}},{"ruleId":"D2","level":"warning","message":{"text":"PortfolioImportService.commit_trade_records (cognitive 44): PortfolioImportService.commit_trade_records has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 12, error handling 4 (8 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_import_service.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0bb30a365163827d2697cd2f85bd7f6fe9c0eb39ba5166ec0c914307d8881c"}},{"ruleId":"D2","level":"warning","message":{"text":"daily.fetch_daily_history (cognitive 44): daily.fetch_daily_history has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (32 pts), boolean chains 4, error handling 1 (3 pts), loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"812aa9b1ca9009f98e54f4880820c1996fcbc4c3dce2eeb7b818c8ac300d5880"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService._validate_llm_runtime_selection (cognitive 44): SystemConfigService._validate_llm_runtime_selection has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 20 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":5174}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf9ae90429149fd554e58f48f9d1a5226d2e6cd036e505b2682c05287be8cb8"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeStockWorkspace.HomeStockWorkspace (cognitive 44): HomeStockWorkspace.HomeStockWorkspace has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 11 (23 pts), if/else 12, boolean chains 9 (nesting depth added 12). Of this number, 26 points are the body\u0027s own statements and 18 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/watchlist/HomeStockWorkspace.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"485614b1ee7b9992d29b8261c75d1e35e58d8f70b112c5cc057432e942cd62e0"}},{"ruleId":"D2","level":"warning","message":{"text":"portfolio._filter_stock_codes (cognitive 43): portfolio._filter_stock_codes has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (31 pts), loops 5 (8 pts), boolean chains 2, error handling 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/brokers/futu/portfolio.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70b80eb39f37e8dcc43328ccd1888ba58e20fced5b653707115a9c95a9e08d3"}},{"ruleId":"D2","level":"warning","message":{"text":"SignalAttribution.validate_and_normalize_contributions (cognitive 43): SignalAttribution.validate_and_normalize_contributions has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (29 pts), loops 4 (9 pts), error handling 2 (5 pts) (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/schemas/report_schema.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"734688b9eed0f617cfe50985f7be941d21e2075125277c2de6063aa12ea01190"}},{"ruleId":"D2","level":"warning","message":{"text":"PortfolioService._build_positions (cognitive 43): PortfolioService._build_positions has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (31 pts), ternaries 4 (7 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_service.py"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"518342588ca38364aa2f9fc04a985c210774da7251b2c97c0567a9cd73fb64a8"}},{"ruleId":"D2","level":"warning","message":{"text":"base.normalize_stock_code (cognitive 42): base.normalize_stock_code has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (28 pts), boolean chains 14 (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":"data_provider/base.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b1523ae4e9afcdcfa5c21bbcb5a3ca34fc971eb9dae01e95a091d1da670b07"}},{"ruleId":"D2","level":"warning","message":{"text":"web_intent_tokenizer._split_by_stock_entities (cognitive 42): web_intent_tokenizer._split_by_stock_entities has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (34 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_tokenizer.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cafdd3db0cb0c1e168ff6c7090836fc25f2a593fdd9d203a3b8da70f2a7e5a3"}},{"ruleId":"D2","level":"warning","message":{"text":"BacktestEngine._first_intent_position (cognitive 42): BacktestEngine._first_intent_position has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (33 pts), loops 3 (7 pts), boolean chains 2 (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":"src/core/backtest_engine.py"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff9888b513ebedf58ddbe10d6ddf4de394d52f2e5dff583d3b36e882ca7ab06"}},{"ruleId":"D2","level":"warning","message":{"text":"etf_rotation.run_backtest (cognitive 42): etf_rotation.run_backtest has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (27 pts), boolean chains 7, ternaries 3 (7 pts), loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/etf_rotation.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01ea329ddf0cfe17d1f20a41931f328ea350d61ad53d90a1c52e6b1f2eb38f8"}},{"ruleId":"D2","level":"warning","message":{"text":"AlertWorker.run_once (cognitive 42): AlertWorker.run_once has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (35 pts), boolean chains 3, error handling 2 (3 pts), loops 1 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_worker.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56a34cbd33ac54c815d1afeff085224eb3a3d6c2395bec5415428c14aab6087"}},{"ruleId":"D2","level":"warning","message":{"text":"import_parser.parse_import_from_bytes (cognitive 42): import_parser.parse_import_from_bytes has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 9, error handling 4 (6 pts), loops 2, ternaries 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":"src/services/import_parser.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acfe33f910b9441be794079757cab99e80192d5b819ddca1215508584bfeb28"}},{"ruleId":"D2","level":"warning","message":{"text":"notification_diagnostics.run_notification_diagnostics (cognitive 42): notification_diagnostics.run_notification_diagnostics has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 11, error handling 2 (4 pts), ternaries 2, loops 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/notification_diagnostics.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b7b08e4ecf4fd59a4d944e57c6f6c72f402ecea0588d34ff9b07bf36ff510a"}},{"ruleId":"D2","level":"warning","message":{"text":"industry.fetch_akshare_board_map (cognitive 42): industry.fetch_akshare_board_map has cognitive complexity 42 (threshold 15). Drivers by points: if/else 9 (26 pts), loops 3 (6 pts), error handling 2 (5 pts), boolean chains 4, ternaries 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/industry.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"552768ff703d98d31810689bd74af2f7814a2afa4d4be5119919dfb51b4d14ee"}},{"ruleId":"D2","level":"warning","message":{"text":"ScreeningService.hotspots (cognitive 42): ScreeningService.hotspots has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (19 pts), ternaries 4 (10 pts), boolean chains 9, error handling 3 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"82097bdd8b965a28c082af3382aeedcc1197c19a6ca6ef96f5b754935e9fc864"}},{"ruleId":"D2","level":"warning","message":{"text":"share_image._stock_data_from_payload (cognitive 42): share_image._stock_data_from_payload has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (21 pts), boolean chains 16, ternaries 4, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f515f57ce92dcbb170638ef4e95cdeaa9483ddac63b2ea3ef5d6ff9cf9366c9"}},{"ruleId":"D2","level":"warning","message":{"text":"agentChatStore.useAgentChatStore.startStream (cognitive 42): agentChatStore.useAgentChatStore.startStream has cognitive complexity 42 (threshold 15). Drivers by points: if/else 24 (38 pts), boolean chains 18, error handling 3 (6 pts), ternaries 3 (4 pts), loops 2 (3 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. This shape REPEATS in the file: one other method here (agentChatStore.useAgentChatStore.startStream::processLine) 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":"apps/dsa-web/src/stores/agentChatStore.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"334a7136517b199cfc61dacdffcf57a4c66f77222ddd12e58141702293d77faa"}},{"ruleId":"D2","level":"warning","message":{"text":"YfinanceFetcher.get_realtime_quote (cognitive 41): YfinanceFetcher.get_realtime_quote has cognitive complexity 41 (threshold 15). Drivers by points: boolean chains 15, if/else 9 (13 pts), ternaries 8 (9 pts), error handling 4 (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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"427b4851896a31e6f1799fb72805479f012459480a1d999ad3576a97d2f815f0"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionAgent.build_user_message (cognitive 41): DecisionAgent.build_user_message has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (26 pts), loops 3 (6 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/agents/decision_agent.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e67f567fcf0302fb2ce2e6c01caa4f4cc5ce952ac1daa70c70a3ce3d657ddc9"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationService.send_with_results (cognitive 41): NotificationService.send_with_results has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (22 pts), ternaries 4 (9 pts), error handling 2 (5 pts), boolean chains 4, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":2649}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c44cdf6b1d62880d788e608af16c125629018499653e9e6b2adb555c679ee12"}},{"ruleId":"D2","level":"warning","message":{"text":"TelegramSender._send_telegram_message (cognitive 41): TelegramSender._send_telegram_message has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (35 pts), boolean chains 2, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/telegram_sender.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"147cbd9e5d32fd7ffbe18ccfbe983633ecd8321b00195b3ad42848644ff03c68"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchService.search_comprehensive_intel (cognitive 41): SearchService.search_comprehensive_intel has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 11 (22 pts), if/else 11 (17 pts), boolean chains 1, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":4384}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0edce28e6de1f0a83ee72783b9f227b92a87e14c576cf3cca1ecb75b3fab4f"}},{"ruleId":"D2","level":"warning","message":{"text":"stockCode.normalizeStockCode (cognitive 41): stockCode.normalizeStockCode has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 14 (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":"apps/dsa-web/src/utils/stockCode.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5326189b0755fbfb15e873e85815629aabbdf198598edde372f6d5bfcd9085"}},{"ruleId":"D2","level":"warning","message":{"text":"ReportDiagnostics.ReportDiagnostics (cognitive 41): ReportDiagnostics.ReportDiagnostics has cognitive complexity 41 (threshold 15). Drivers by points: boolean chains 16, ternaries 14, if/else 10, error handling 1. Of this number, 23 points are the body\u0027s own statements and 18 belong to 8 function items inside it that branch. 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":"apps/dsa-web/src/components/report/ReportDiagnostics.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77a4a20df36c591b6f3f13f22f2b542fd207cd1c60fb8cb62c99bf17a9b8ab2"}},{"ruleId":"D2","level":"warning","message":{"text":"AlertRuleForm.AlertRuleForm::buildParameters (cognitive 41): AlertRuleForm.AlertRuleForm::buildParameters has cognitive complexity 41 (threshold 15). Drivers by points: if/else 24 (37 pts), boolean chains 4 (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. This shape REPEATS in the file: one other method here (AlertRuleForm.AlertRuleForm) 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":"apps/dsa-web/src/components/alerts/AlertRuleForm.tsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e2f5ee90d7a95aa939c022b6152070362deff45209faa098037a047c8048ad"}},{"ruleId":"D2","level":"warning","message":{"text":"runner._execute_tools (cognitive 40): runner._execute_tools has cognitive complexity 40 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 10, loops 6 (9 pts), ternaries 3 (6 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/runner.py"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d85b191f7b7c37a14a0b9276f5b312cf91730142ecc76c476f72b7c3bcc37b"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopUpdateIndicator.DesktopUpdateIndicator (cognitive 40): DesktopUpdateIndicator.DesktopUpdateIndicator has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 18, ternaries 10 (18 pts), if/else 4 (nesting depth added 8). Of this number, 36 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/layout/DesktopUpdateIndicator.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3153eb59c4fae97ed3ccf9a6d81e869f506e5b586a17569927099a77a7cc2b"}},{"ruleId":"D2","level":"warning","message":{"text":"EfinanceFetcher.get_main_indices (cognitive 39): EfinanceFetcher.get_main_indices has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 11 (20 pts), if/else 7 (12 pts), boolean chains 3, loops 2 (3 pts), error handling 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/efinance_fetcher.py"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e7fb545b898d78f3f8f980719818e70e9b3a1d48169cdc4ff292fe1416b203"}},{"ruleId":"D2","level":"warning","message":{"text":"LongbridgeFetcher._get_ctx (cognitive 39): LongbridgeFetcher._get_ctx has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (18 pts), error handling 5 (11 pts), boolean chains 5, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/longbridge_fetcher.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c8c499052e1eb09d83d754ca36182808c5bbc964849cc693096988e0d7b796"}},{"ruleId":"D2","level":"warning","message":{"text":"chat_context._build_visible_history_state (cognitive 39): chat_context._build_visible_history_state has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (29 pts), boolean chains 8, ternaries 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/chat_context.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbe05e46f881e36070c943ce1892517b865dda03e1a1410e270d3b4515a2b3e"}},{"ruleId":"D2","level":"warning","message":{"text":"web_intent_tokenizer._split_by_codes (cognitive 39): web_intent_tokenizer._split_by_codes has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 7, loops 4 (5 pts), ternaries 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_tokenizer.py"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec7c47f06d4694caa8fa0e49f3318c14cb7949221b7550e9d5e4d6192259f21"}},{"ruleId":"D2","level":"warning","message":{"text":"Config._channels_to_model_list (cognitive 39): Config._channels_to_model_list has cognitive complexity 39 (threshold 15). Drivers by points: if/else 7 (23 pts), boolean chains 10, loops 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":"src/config.py"},"region":{"startLine":2761}}}],"partialFingerprints":{"codehealthFindingId/v1":"f759b1141c7506bd2ef82e6079ac78c7c6a5433472faf84ee803d2c0b84557ae"}},{"ruleId":"D2","level":"warning","message":{"text":"BacktestEngine.compute_summary (cognitive 39): BacktestEngine.compute_summary has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 17, if/else 16, 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":"src/core/backtest_engine.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f1964b5d5a54ec86e3148b82b6b419711ec2153d291c7fa7f8cd63592152e9"}},{"ruleId":"D2","level":"warning","message":{"text":"image_stock_extractor._call_litellm_vision (cognitive 39): image_stock_extractor._call_litellm_vision has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 11, ternaries 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/image_stock_extractor.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"55552a9f4e1178534ad9b5ce4c44357fc4f5027f996b1daac8b4e7b0f4a6c617"}},{"ruleId":"D2","level":"warning","message":{"text":"daily.enrich_daily_features (cognitive 39): daily.enrich_daily_features has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 5 (9 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bbafe0207b9469f44c9b2cce39d781518b1d9135041bd8da97e1302e183502"}},{"ruleId":"D2","level":"warning","message":{"text":"sniper_points.parse_sniper_value (cognitive 39): sniper_points.parse_sniper_value has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 6 (11 pts), error handling 3 (6 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/sniper_points.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"50dccf52b13e53feee02dfdda867aebf5f8e160818d710313ec658b677fd15a7"}},{"ruleId":"D2","level":"warning","message":{"text":"LongbridgeFetcher.get_realtime_quote (cognitive 38): LongbridgeFetcher.get_realtime_quote has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 11, ternaries 2 (3 pts), error handling 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":"data_provider/longbridge_fetcher.py"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b79603ad8d0e2e8b211a12a2d1de8c3f8cd1f368edac8b38d1f7da0bd960cce"}},{"ruleId":"D2","level":"warning","message":{"text":"executor.prepare_agent_chat (cognitive 38): executor.prepare_agent_chat has cognitive complexity 38 (threshold 15). Drivers by points: if/else 17 (26 pts), ternaries 4 (10 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/executor.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16cff5c8fd16e40b891a69d0176f2c5b05cd9f1a00a02524db4db8e13f112ef"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolSurface.execute_tool (cognitive 38): ToolSurface.execute_tool has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (15 pts), ternaries 7 (11 pts), boolean chains 8, error handling 4 (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":"src/agent/tool_surface.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18cc82cdb7c06fa0928c426b5944364a1c5dc2a88e35fb101f0bf2759e7c335"}},{"ruleId":"D2","level":"warning","message":{"text":"web_intent_tokenizer._dfs_match (cognitive 38): web_intent_tokenizer._dfs_match has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 8, ternaries 1 (4 pts), loops 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_tokenizer.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5cfa7bf64917ad9e6d82cb6002320f5f2760348f2fd5f382bb9c95b2c0d6e41"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchService.format_intel_report (cognitive 38): SearchService.format_intel_report has cognitive complexity 38 (threshold 15). Drivers by points: if/else 7 (24 pts), ternaries 2 (8 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":4638}}}],"partialFingerprints":{"codehealthFindingId/v1":"427e90a1e7cd042f8960c8b05aa2c14457fbbadba79fd595125d2643a9229a23"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalysisContextSummary.AnalysisContextSummary (cognitive 38): AnalysisContextSummary.AnalysisContextSummary has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 19 (27 pts), boolean chains 10, if/else 1 (nesting depth added 8). Of this number, 31 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/AnalysisContextSummary.tsx"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ef1f5b41b7aaf8444b31f1051d09f3af97fec99c0063acbf16326a8c0633ce"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager.batch_get_stock_names (cognitive 37): DataFetcherManager.batch_get_stock_names has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 4 (6 pts), boolean chains 3, error handling 1 (2 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":"data_provider/base.py"},"region":{"startLine":3259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d452858fc5a734a09350a3db0980fcda7bd6e229925b3e5dcd87d9aacaf82708"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMToolAdapter.call_completion (cognitive 37): LLMToolAdapter.call_completion has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (29 pts), boolean chains 4, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/llm_adapter.py"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bb875e08f93c4db63888d448eb4e2fd27cb57a646b73f6c1c298f554ab523b"}},{"ruleId":"D2","level":"warning","message":{"text":"analyzer.stabilize_decision_with_structure (cognitive 37): analyzer.stabilize_decision_with_structure has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 15, ternaries 3, 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":"src/analyzer.py"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f91431e9112e5beec29d9151b819619ffe93e49a5c61f50d3367a6bf4c33ca5"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_index_loader._build_stock_code_candidates (cognitive 37): stock_index_loader._build_stock_code_candidates has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 9, ternaries 1 (2 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/data/stock_index_loader.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"766aff07336cabb35bff3ff7849b247f0376ae84988a113eb9550786aa2a7098"}},{"ruleId":"D2","level":"warning","message":{"text":"report_language._first_non_negated_position (cognitive 37): report_language._first_non_negated_position has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (32 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":"src/report_language.py"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"22424a6be5222324beb1d23204121ad3932915f99c491f33cc04963701bc8d64"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService._collect_non_hermes_channel_models_from_map (cognitive 37): SystemConfigService._collect_non_hermes_channel_models_from_map has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 14, loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":5039}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cb8739615ded487b92988e37793b476e4342768fc73af4c4b8020b9df49c09"}},{"ruleId":"D2","level":"warning","message":{"text":"useRunFlowSnapshot.appendDerivedEdge (cognitive 37): useRunFlowSnapshot.appendDerivedEdge has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 7 (16 pts), if/else 10 (14 pts), boolean chains 7 (nesting depth added 13). Of this number, 30 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/useRunFlowSnapshot.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5046684b09db2e78567f7da135a12a0b20c6a93fb6d31e8d3d6327d63e62407"}},{"ruleId":"D2","level":"warning","message":{"text":"MarketAnalyzer._generate_template_review (cognitive 36): MarketAnalyzer._generate_template_review has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 13, ternaries 8, 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_analyzer.py"},"region":{"startLine":1902}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a89004da69ce5f399397d7cfb98bb515f459c647a9720f9ede3f47fab557d0"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentChatSessionService._resolve_session_turn (cognitive 36): AgentChatSessionService._resolve_session_turn has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 8, ternaries 6, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/agent_chat_session_service.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ee43f3ab1e084e0bade8b813d5ce8ee82b4db9dedbb5b01d1025090f4369f3"}},{"ruleId":"D2","level":"warning","message":{"text":"AlertService.build_runtime_payloads (cognitive 36): AlertService.build_runtime_payloads has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 5, ternaries 1 (3 pts), error handling 1 (2 pts), 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":"src/services/alert_service.py"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"df44c1510a2ed80079c60ca6ec6d97678ad5c24db3468c62ffd6c21d793e2c87"}},{"ruleId":"D2","level":"warning","message":{"text":"BacktestService.run_backtest (cognitive 36): BacktestService.run_backtest has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 10, 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":"src/services/backtest_service.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d90a985ea9e5037683218915cd50ac3a6c0f06f4b46128d5ba23a578530690"}},{"ruleId":"D2","level":"warning","message":{"text":"image_stock_extractor._parse_items_from_text (cognitive 36): image_stock_extractor._parse_items_from_text has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 3, error handling 2 (3 pts), loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/image_stock_extractor.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97ff3a823432da2c33a828efb3bbfd65ddaa4d0c0677614f754d7db4e30aecf"}},{"ruleId":"D2","level":"warning","message":{"text":"analyzer.check_content_integrity (cognitive 35): analyzer.check_content_integrity has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (23 pts), ternaries 6 (9 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8407fac692da43f516d9b92a3f7e706cebbc7a340e7a37958ee39eac9d64f8c"}},{"ruleId":"D2","level":"warning","message":{"text":"StockAnalysisPipeline._augment_historical_with_realtime (cognitive 35): StockAnalysisPipeline._augment_historical_with_realtime has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 8, ternaries 5 (7 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":2734}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a019d09b7e92d871831053e3b22c1584ef37c25f4f52d789b8bf05233b5ec8"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchService.search_stock_price_fallback (cognitive 35): SearchService.search_stock_price_fallback has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 3 (7 pts), error handling 1 (3 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":4726}}}],"partialFingerprints":{"codehealthFindingId/v1":"41df2f6b8bf6a4ccfff7baef1c037a95c2abd8ebd6d548ac8e1843a0be04aa7d"}},{"ruleId":"D2","level":"warning","message":{"text":"DailyMarketContextService.get_context (cognitive 35): DailyMarketContextService.get_context has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (32 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/daily_market_context.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebd3abb0c0a9e74f9e8b207d046148d12390c0f22e27d6ecee7a801dad33ae2"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeSchedulerService._run_analysis_with_watchdog (cognitive 35): RuntimeSchedulerService._run_analysis_with_watchdog has cognitive complexity 35 (threshold 15). Drivers by points: if/else 20 (28 pts), boolean chains 3, error handling 2 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/runtime_scheduler.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca4e6fe1b7952e523317b544d7a4b158a965a182c415487c36510ab4b7101ef"}},{"ruleId":"D2","level":"warning","message":{"text":"filter.check_hard_filters (cognitive 35): filter.check_hard_filters has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 5 (12 pts), boolean chains 6, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/filter.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e8411967d1f9239c2ef5842e971204a1c932046eb02f3a6722c89274db0d54"}},{"ruleId":"D2","level":"warning","message":{"text":"screening_service._normalize_candidate (cognitive 35): screening_service._normalize_candidate has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 30, if/else 3, ternaries 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":3861}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66f0a218d7f4fcb8af6fe3bdf878af6c194fb3eb8da33d5224545f625ab0396"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService.test_llm_channel (cognitive 35): SystemConfigService.test_llm_channel has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 9, ternaries 3 (4 pts), error handling 2 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"209db608f2ae95f3e582c713c8ceba76a36350cd5fd5e830d782355217cae215"}},{"ruleId":"D2","level":"warning","message":{"text":"IntelligentImport.mergeItems (cognitive 35): IntelligentImport.mergeItems has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 3 (16 pts), if/else 7 (14 pts), boolean chains 3, loops 2 (nesting depth added 20). 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":"apps/dsa-web/src/components/settings/IntelligentImport.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a0e08752c61985319b164086e324e46586ab6352ba6ff195d16aa853dd1307"}},{"ruleId":"D2","level":"warning","message":{"text":"PortfolioPage.buildPortfolioRiskFlags (cognitive 35): PortfolioPage.buildPortfolioRiskFlags has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 26 (34 pts), boolean chains 1 (nesting depth added 8). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"4949fb0c3e2c3711fcb5dcd4431fde458e15aedd1884580331bea4c159e12492"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryCommand.execute (cognitive 34): HistoryCommand.execute has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 3 (8 pts), error handling 4 (6 pts), boolean chains 4, 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":"bot/commands/history.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aba1ec6a2e6c21efea52f08e35f409179a0099dc4969cb0a12762863131f1c9"}},{"ruleId":"D2","level":"warning","message":{"text":"local_cli_backend._consume_authorization_param_list (cognitive 34): local_cli_backend._consume_authorization_param_list has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 5 (10 pts), boolean chains 8, ternaries 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":1634}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff46cac2829350cb3144e905df3f0ce90afb9d0b5f18270cc73edc0682abb33b"}},{"ruleId":"D2","level":"warning","message":{"text":"PortfolioService._calculate_available_quantity (cognitive 34): PortfolioService._calculate_available_quantity has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 4, loops 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_service.py"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f51a8d8bfc1bf2074ebfb13b4e051e4178812c3524c14959055010752b5eeb"}},{"ruleId":"D2","level":"warning","message":{"text":"context._load_candidate_context_rows (cognitive 34): context._load_candidate_context_rows has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (28 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/context.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"d622fb1247f69b665f37ac1c3227b333aa94c8874da185bdb6ddbcdf0e6c0a70"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService.discover_llm_channel_models (cognitive 34): SystemConfigService.discover_llm_channel_models has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 12, error handling 4 (5 pts), ternaries 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8ee686ac5ff984d1ae6e754d0fed2bf7d19d7cef789d4b533391a29c01a61a"}},{"ruleId":"D2","level":"warning","message":{"text":"TickFlowFetcher.get_main_indices (cognitive 33): TickFlowFetcher.get_main_indices has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 15, if/else 9 (13 pts), ternaries 1 (3 pts), loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/tickflow_fetcher.py"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9cc8be1bcfc92d9bbe7534bf2cd2ea2adff51521dc7fcb2b8dbcedf3d44543"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_scope.resolve_stock_scope (cognitive 33): stock_scope.resolve_stock_scope has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 4 (10 pts), boolean chains 7, error handling 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/stock_scope.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f436d91fca0f5322ad2952fae9b14fcfb02ee583e221b7a9fd9815058b83dbd"}},{"ruleId":"D2","level":"warning","message":{"text":"StockAnalysisPipeline._load_persisted_intelligence_context (cognitive 33): StockAnalysisPipeline._load_persisted_intelligence_context has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 8, loops 3 (4 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":3020}}}],"partialFingerprints":{"codehealthFindingId/v1":"c430a44cbdc1801406b3900b16e6bd3ba9927e448a8c4c36165d133e07965914"}},{"ruleId":"D2","level":"warning","message":{"text":"local_cli_backend._extract_opencode_json_events (cognitive 33): local_cli_backend._extract_opencode_json_events has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 9, ternaries 1 (3 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4988c829e8d5f013291b95fb4ef63a69ff9e7c2a0aaca5e0c22170a5480faf6"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchService._parse_relative_news_date (cognitive 33): SearchService._parse_relative_news_date has cognitive complexity 33 (threshold 15). Drivers by points: if/else 18 (30 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":3547}}}],"partialFingerprints":{"codehealthFindingId/v1":"007c5fa1db566e30a9f0027a50eefeae65c119176e8beff027dfeeaee3beef76"}},{"ruleId":"D2","level":"warning","message":{"text":"snapshot._read_last_good_snapshot (cognitive 33): snapshot._read_last_good_snapshot has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 5, ternaries 2 (5 pts), error handling 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":"src/services/screening/snapshot.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5791212b24dced90793489136687c23ec2d6a6fc4f1da0f2a93fec7d72c35c"}},{"ruleId":"D2","level":"warning","message":{"text":"share_image._merge_sector_rankings (cognitive 33): share_image._merge_sector_rankings has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (21 pts), ternaries 3 (6 pts), boolean chains 5, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f4e1ee4b864a666ae28b24510f8a95f90f28075c0c923ca68b48df70301e1f"}},{"ruleId":"D2","level":"warning","message":{"text":"error.parseApiError (cognitive 33): error.parseApiError has cognitive complexity 33 (threshold 15). Drivers by points: if/else 18, boolean chains 13, ternaries 1 (2 pts) (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":"apps/dsa-web/src/api/error.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"838421b3e60243f9f011ac32de51cc9bf149045735b02116c56fe65e1d93863c"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthSettingsCard.AuthSettingsCard (cognitive 33): AuthSettingsCard.AuthSettingsCard has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 14, ternaries 9 (11 pts), if/else 4 (6 pts), error handling 1, match/switch 1 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 16 belong to 2 function items inside it that branch. 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":"apps/dsa-web/src/components/settings/AuthSettingsCard.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"85da1d05428bed4be77d6b55e5922334923cb45e406d8cfe1f7f9da60bac2124"}},{"ruleId":"D2","level":"warning","message":{"text":"AlertsPage.AlertsPage (cognitive 33): AlertsPage.AlertsPage has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 11 (12 pts), if/else 8 (10 pts), error handling 7, boolean chains 4 (nesting depth added 3). Most of this is not in the body itself: 13 of the 33 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 132, handleToggleEnabled, a function literal at line 169, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/AlertsPage.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3806877c63ff421e22febca2c1cb49b1a3a91280d877cfb669d1a09ab837578"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis.trigger_analysis (cognitive 32): analysis.trigger_analysis has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 5, 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":"api/v1/endpoints/analysis.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed6c87ed5bf20e6f17a5ceda1bc8df5b267d51b23d26fb4adcb5de6af949373"}},{"ruleId":"D2","level":"warning","message":{"text":"stocks.parse_import (cognitive 32): stocks.parse_import has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 5 (10 pts), boolean chains 6, ternaries 2 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/endpoints/stocks.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf10c2a57325c10091c22cfbca847eacd5d6219816dda7b25ac3482e3efd5b0"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionSignalService.list_signals (cognitive 32): DecisionSignalService.list_signals has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_service.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3dffb67ae019986192fd963cba0a751a15214fc063f9ac3896dc8791067154"}},{"ruleId":"D2","level":"warning","message":{"text":"PortfolioRiskService._build_decision_signal_risk (cognitive 32): PortfolioRiskService._build_decision_signal_risk has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 8, loops 3 (4 pts), ternaries 2 (4 pts), error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_risk_service.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01ab18924a50c80adb2a00f879a2dae036ecc1c9873e418ddf14b74d658c115"}},{"ruleId":"D2","level":"warning","message":{"text":"ranker.rank_candidates_with_metadata (cognitive 32): ranker.rank_candidates_with_metadata has cognitive complexity 32 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 4 (9 pts), boolean chains 4, ternaries 1 (4 pts), error handling 1 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/ranker.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"95aa10946e99fb14b7c5117c8aab5523c41a9c53b90c1ba55302734dc24c9d2c"}},{"ruleId":"D2","level":"warning","message":{"text":"screening_service._enrich_hotspot_rows_from_provider (cognitive 32): screening_service._enrich_hotspot_rows_from_provider has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 6, loops 3 (4 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bafa6b55ae520a1b045575bc3920dcb52dac0c133f46bdffa3072bf2cec97ef"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexRegistry.__init__ (cognitive 32): IndexRegistry.__init__ has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (23 pts), loops 4 (7 pts), boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_list_parser.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafa397e5fd7962cc08e8f0d4e5db1a8828fb370558c3c022885cf78a187519a"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsField.renderFieldControl (cognitive 32): SettingsField.renderFieldControl has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 6 (13 pts), boolean chains 11, if/else 6 (8 pts) (nesting depth added 9). Of this number, 22 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/SettingsField.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bbbf73231443b8e5b7c25c4b529ba6e8216ca2c1de74c482ba0162958b9018"}},{"ruleId":"D2","level":"warning","message":{"text":"AlertRuleForm.AlertRuleForm (cognitive 32): AlertRuleForm.AlertRuleForm has cognitive complexity 32 (threshold 15). Drivers by points: if/else 55 (69 pts), ternaries 27 (38 pts), boolean chains 8 (nesting depth added 25). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (AlertRuleForm.AlertRuleForm::buildParameters) 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":"apps/dsa-web/src/components/alerts/AlertRuleForm.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2e4283c4f30a3cdf1afa0360372af5c9a810891b8ea16ff4f6472fb9d9c918"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMDeliberationMediator._coerce_responses (cognitive 31): LLMDeliberationMediator._coerce_responses has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 9, 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":"src/agent/skills/deliberation.py"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9cb4128236221880be948df84b68551a59e77231d9c5c978b0659eca7c5934"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationService._send_to_static_channel (cognitive 31): NotificationService._send_to_static_channel has cognitive complexity 31 (threshold 15). Drivers by points: if/else 21 (28 pts), boolean chains 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":"src/notification.py"},"region":{"startLine":2582}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ccd874fc03f486dfc2adf80cefb37eb9330bddfd59de745cd43e5947bf4d71"}},{"ruleId":"D2","level":"warning","message":{"text":"AlertService._coerce_datetime (cognitive 31): AlertService._coerce_datetime has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (15 pts), error handling 5 (10 pts), ternaries 3 (5 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_service.py"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"39897a0fc4ecaa0e7d5d07ef21580a2c4a917002e4b643048073cd3f30c1c2ef"}},{"ruleId":"D2","level":"warning","message":{"text":"etf_rotation_service.load_closes (cognitive 31): etf_rotation_service.load_closes has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 6, loops 2 (3 pts), error handling 1 (2 pts), ternaries 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/etf_rotation_service.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"871e34c5f0dc77a960e48ea26844bb883676026a81e9c0b974b72f756fd71809"}},{"ruleId":"D2","level":"warning","message":{"text":"run_flow.build_history_run_flow_snapshot (cognitive 31): run_flow.build_history_run_flow_snapshot has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 15, ternaries 9 (11 pts), if/else 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_flow.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd780287ec168559a04e449cf0510623b87272d5bbe797fb4c7e76a96a989888"}},{"ruleId":"D2","level":"warning","message":{"text":"screening_service._build_dsa_analysis_summary (cognitive 31): screening_service._build_dsa_analysis_summary has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 5, ternaries 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":3773}}}],"partialFingerprints":{"codehealthFindingId/v1":"5003b21732bc1a9a5f1ce444d90f58496b2020a47d2242a074212639df09c951"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService._build_display_config_map (cognitive 31): SystemConfigService._build_display_config_map has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (23 pts), loops 4 (8 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":"src/services/system_config_service.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22b2752320c9e4b209fc1e6665d12e12d4484672777a755d63d4fd408a4010d"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsPage.SchedulerSettingsCard (cognitive 31): SettingsPage.SchedulerSettingsCard has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 14 (15 pts), boolean chains 10, if/else 4, error handling 2 (nesting depth added 1). Of this number, 21 points are the body\u0027s own statements and 10 belong to 8 function items inside it that branch. 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":"apps/dsa-web/src/pages/SettingsPage.tsx"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf47fb148d106f34780d41f88041e141a15127fb4fc9e8795213c341654336ce"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis._build_analysis_report (cognitive 30): analysis._build_analysis_report has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 9, 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":"api/v1/endpoints/analysis.py"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"67df51bed03f770144e7c2a4f86dd653db1c8a4b5abdba833093afb61778797f"}},{"ruleId":"D2","level":"warning","message":{"text":"provider_trace.extract_provider_trace_turns (cognitive 30): provider_trace.extract_provider_trace_turns has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 14, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/provider_trace.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc29f4422f0e216871229e4551982364e583b7548937ee17731227c80ead1a86"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService._resolve_hermes_saved_secret (cognitive 30): SystemConfigService._resolve_hermes_saved_secret has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 7 (14 pts), boolean chains 11, if/else 4, 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":"src/services/system_config_service.py"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f05f78ec3dbeabcb9ebac04b0d355360e87ef1e26872ba50330ec110f82bdd"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService._build_setup_agent_llm_check (cognitive 30): SystemConfigService._build_setup_agent_llm_check has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 7 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":3759}}}],"partialFingerprints":{"codehealthFindingId/v1":"11739ee7b9f7571e1b2bfa24cee49a5271fd5d736abcf90f02b0bc41e3f47f2a"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabaseManager._backfill_canonical_ids (cognitive 30): DatabaseManager._backfill_canonical_ids has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 6, error handling 2 (4 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage.py"},"region":{"startLine":2009}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a880490ca551e84a768bfe87ebe647db6b38393842d21af666dd1ec0a2f4ea"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeToggle.ThemeToggle (cognitive 30): ThemeToggle.ThemeToggle has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 15 (24 pts), boolean chains 4, if/else 2 (nesting depth added 9). Of this number, 23 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/theme/ThemeToggle.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d465af48de9c5e234ba860de06095e45f397afdd1d2339622f76099c59d0f6e7"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarNav.SidebarNav (cognitive 30): SidebarNav.SidebarNav has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 23 (28 pts), boolean chains 2 (nesting depth added 5). Of this number, 23 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. 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":"apps/dsa-web/src/components/layout/SidebarNav.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92274822c0c43c9de212b7afd19eafb5aeb957bd3de8793003d880197348dc1"}},{"ruleId":"D2","level":"warning","message":{"text":"StockHistoryTrendDrawer.StockHistoryTrendDrawer (cognitive 30): StockHistoryTrendDrawer.StockHistoryTrendDrawer has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 8 (26 pts), boolean chains 4 (nesting depth added 18). Most of this is not in the body itself: 13 of the 30 points are its own statements and the rest belongs to one function literal inside it that branches (line 322). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/history/StockHistoryTrendDrawer.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"05773bab9b5e9bc4630f12bf3a2ba75048b5b30c6c8ebfc2d982ef86dcba2bb8"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskPanel.TaskItem (cognitive 30): TaskPanel.TaskItem has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 16 (25 pts), boolean chains 5 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/tasks/TaskPanel.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1d73d1d194ba1687acc6fb86252fc97f71010e0335054d439a98d662ee6c9d"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeStockWorkspace.WatchlistRowItem (cognitive 30): HomeStockWorkspace.WatchlistRowItem has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 16 (27 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/watchlist/HomeStockWorkspace.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd5ebca5a21b1b50a920d0690393281c68491a3d5a26eb7be83ad22a33e586e"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsHelpButton.SettingsHelpButton (cognitive 30): SettingsHelpButton.SettingsHelpButton has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 10 (16 pts), if/else 9 (10 pts), boolean chains 4 (nesting depth added 7). Of this number, 19 points are the body\u0027s own statements and 11 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/SettingsHelpButton.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"70263171bc2013d9f1c5ebf899d5bc480de49ff74d9d0d66d33d0b9f4c7b4bd0"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMChannelEditor.LLMChannelEditor (cognitive 30): LLMChannelEditor.LLMChannelEditor has cognitive complexity 30 (threshold 15). Drivers by points: if/else 42 (61 pts), ternaries 38 (56 pts), boolean chains 45, loops 4 (5 pts), error handling 4 (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. This shape REPEATS in the file: one other method here (LLMChannelEditor.LLMChannelEditor::handleSave) 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":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":1668}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4ab23bcd97936dbc3f4bd278cc795e4fe91f9936d7f2b1b1dde6d39d908183"}},{"ruleId":"D2","level":"warning","message":{"text":"AlertRuleList.formatParameters (cognitive 30): AlertRuleList.formatParameters has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 8 (15 pts), if/else 13 (14 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":"apps/dsa-web/src/components/alerts/AlertRuleList.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55e08478fb0e52779c221e0e5e4f641bc5d3288e92f744d0ac601fc2ecd7c25"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager.get_stock_name (cognitive 29): DataFetcherManager.get_stock_name has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 7, ternaries 2 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":3071}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d837c68f238f018af8f9bad85ae7cdc708690254b658ae6913046003e6fbe3"}},{"ruleId":"D2","level":"warning","message":{"text":"longbridge_fetcher._longbridge_config_kwargs (cognitive 29): longbridge_fetcher._longbridge_config_kwargs has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (19 pts), error handling 4 (6 pts), boolean chains 3, 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":"data_provider/longbridge_fetcher.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6b788cce68576066c85dab80b85c06503545a02db0a8f68265689e2714fb49"}},{"ruleId":"D2","level":"warning","message":{"text":"events.validate_event_alert_rule (cognitive 29): events.validate_event_alert_rule has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (17 pts), error handling 6 (11 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/events.py"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e03fe6eb64c0c66259fabfe036b575d40cbdca268a94fc87d5da899e671387"}},{"ruleId":"D2","level":"warning","message":{"text":"market_review._render_sector_payload_block (cognitive 29): market_review._render_sector_payload_block has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 5, loops 2 (4 pts), ternaries 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/market_review.py"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e3765dc8b83a5c1fc849507a7bb07f1d2beb51fdb1df2040212ede9da24a0a"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchService._normalize_news_publish_date (cognitive 29): SearchService._normalize_news_publish_date has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (15 pts), error handling 5 (8 pts), boolean chains 3, ternaries 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":3601}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f48b68cf9baf11ce6d69afed3624a06cf4aceffac175e6b1889bd982bb43f87"}},{"ruleId":"D2","level":"warning","message":{"text":"hotspot.discover_hotspots (cognitive 29): hotspot.discover_hotspots has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 2 (4 pts), boolean chains 3, loops 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/hotspot.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97bba416128b1f9e08ec48ef33345d6e9e0f1f059f072e2102322dae8d89b9b"}},{"ruleId":"D2","level":"warning","message":{"text":"main.createWindow (cognitive 29): main.createWindow has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16, ternaries 6, boolean chains 5, error handling 2. Most of this is not in the body itself: 12 of the 29 points are its own statements and the rest belongs to 3 function items inside it that branch (onHealthProgress, a function literal at line 2049, applyThemeBackground). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/main.js"},"region":{"startLine":1883}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d5277a05e389414ef324e781637a67290d2a237304673dbcb50b59a2c620a2"}},{"ruleId":"D2","level":"warning","message":{"text":"updateState.getDesktopUpdateNotice (cognitive 29): updateState.getDesktopUpdateNotice has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 11, ternaries 5 (10 pts), if/else 8 (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":"apps/dsa-web/src/desktop/updateState.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad3a003954d5c31057cb810408583250365c08ccc882f6356ba18e525b22231"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsPage.FirstRunSetupCard (cognitive 29): SettingsPage.FirstRunSetupCard has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 15 (21 pts), boolean chains 7, if/else 1 (nesting depth added 6). Of this number, 27 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/SettingsPage.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f48baa713e7c0d542fe61bf51c7d1b032ea0baea362c38a58d42d73c550ec2"}},{"ruleId":"D2","level":"warning","message":{"text":"chatStockCode.extractStockCodesFromMessage (cognitive 29): chatStockCode.extractStockCodesFromMessage has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 5, loops 2, ternaries 1 (2 pts) (nesting depth added 11). Of this number, 23 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/chatStockCode.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"366f66157c44b76a96b84d85299758fe03d891e8f44d09285a36f82c6fdfdc42"}},{"ruleId":"D2","level":"warning","message":{"text":"AkshareFetcher._calc_market_stats (cognitive 28): AkshareFetcher._calc_market_stats has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (23 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":2096}}}],"partialFingerprints":{"codehealthFindingId/v1":"6926e0e4cd2582b1d5a0ee8b4fbc4c493b1a44d12aa15672af2e0167ed5b8b3f"}},{"ruleId":"D2","level":"warning","message":{"text":"EfinanceFetcher._calc_market_stats (cognitive 28): EfinanceFetcher._calc_market_stats has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (23 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"6954088d6ba9b890fabd975e7cbd2778d90beb45f9f83efc0b86bde13c3454e6"}},{"ruleId":"D2","level":"warning","message":{"text":"fundamental_adapter._build_dividend_payload (cognitive 28): fundamental_adapter._build_dividend_payload has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (16 pts), ternaries 4 (7 pts), boolean chains 3, loops 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":"data_provider/fundamental_adapter.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f94a7617427f326b6f9d752aa048becd15c3d5aeab532e69d4a2c3755d957e2"}},{"ruleId":"D2","level":"warning","message":{"text":"TushareFetcher.get_market_stats (cognitive 28): TushareFetcher.get_market_stats has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (20 pts), error handling 3 (5 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/tushare_fetcher.py"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2ea5a6ed7c4e928a40ba188595606e9598afe7fe23a0cb500e6769e92d0355"}},{"ruleId":"D2","level":"warning","message":{"text":"TushareFetcher._calc_market_stats (cognitive 28): TushareFetcher._calc_market_stats has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (23 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae0c02df55d1d7fe244ae1bda5e68ab30ef514b5af245c169db0efa6f0f6a41"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMToolAdapter._convert_messages (cognitive 28): LLMToolAdapter._convert_messages has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (16 pts), ternaries 2 (6 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/llm_adapter.py"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"01526b06cc8b8091b71c9b3b50a1c5ec21a23cecf97dd3b4c7b0f939616eeec2"}},{"ruleId":"D2","level":"warning","message":{"text":"analyzer.fill_price_position_if_needed (cognitive 28): analyzer.fill_price_position_if_needed has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 4 (8 pts), boolean chains 5, error handling 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e8dcac01a62be9554a6fc4cdd30e125c65ced506815491a9dba9ab515996e4"}},{"ruleId":"D2","level":"warning","message":{"text":"hermes.parse_hermes_channel (cognitive 28): hermes.parse_hermes_channel has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 6, loops 2 (5 pts), error handling 2 (nesting depth added 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":"src/llm/hermes.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8fc3c1284616c73c411658cbb57728202507a94cc0ec421c6804fcec2c8ba3"}},{"ruleId":"D2","level":"warning","message":{"text":"BacktestService.get_summary (cognitive 28): BacktestService.get_summary has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (18 pts), ternaries 4 (8 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/backtest_service.py"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"4290098175b19151cb5da4470f729d3ed2521a814c810fbd9b0240dc7e54a726"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionSignalOutcomeService._list_actionable_candidate_signals (cognitive 28): DecisionSignalOutcomeService._list_actionable_candidate_signals has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_outcome_service.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"df94a8eed5b4171fe22d2fb20bf886e0f8a178572565751058ea5793d1868e7d"}},{"ruleId":"D2","level":"warning","message":{"text":"candidate_context._collect_candidate_context_row (cognitive 28): candidate_context._collect_candidate_context_row has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (15 pts), error handling 6 (11 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/candidate_context.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c85d7a1dff01ea68a4f86379cf8c33675808cce27a37d892b2da8c80bb18c5"}},{"ruleId":"D2","level":"warning","message":{"text":"context.summarize_candidate_profile (cognitive 28): context.summarize_candidate_profile has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 2 (4 pts), boolean chains 2, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/context.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16d300c59b8533846c0b821feb39239bfca680551781efc5a827dbb47b32b2f"}},{"ruleId":"D2","level":"warning","message":{"text":"ranker._format_dsa_context_for_prompt (cognitive 28): ranker._format_dsa_context_for_prompt has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 9 (12 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/ranker.py"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"9063a148bf1b4896e03df773e3967f2445dc1e891cd6a2ce906cc56036a592d4"}},{"ruleId":"D2","level":"warning","message":{"text":"screening_service._enrich_candidates_with_dsa (cognitive 28): screening_service._enrich_candidates_with_dsa has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 8, error handling 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":3513}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c915b03599080cb2d4339ad0769d8a5d97197f2954d5a4d4e6451da5f5c864f"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_list_parser._classify_bare_code (cognitive 28): stock_list_parser._classify_bare_code has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_list_parser.py"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cea2a9a1d18e2538483b76a5199ad9031ebf0180aee36a08bbd0ee6bb3f2ce1"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis._build_task_analysis_result (cognitive 27): analysis._build_task_analysis_result has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 10, error handling 1 (3 pts), ternaries 1 (2 pts) (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":"api/v1/endpoints/analysis.py"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"857d4f71b61959104c66bf2ad6eef0387a9dc2483bf32196f28c59d8ed6afe25"}},{"ruleId":"D2","level":"warning","message":{"text":"AskCommand._format_stock_result (cognitive 27): AskCommand._format_stock_result has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 3 (5 pts), boolean chains 4, loops 1 (2 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":"bot/commands/ask.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd15b5708376353294baa72eb6cfec21a79fae2ea5bd5818da2b180bee0d75d"}},{"ruleId":"D2","level":"warning","message":{"text":"AkshareFetcher._get_hk_realtime_quote (cognitive 27): AkshareFetcher._get_hk_realtime_quote has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (22 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/akshare_fetcher.py"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee798d19398607eb03d39e305f0f9b64f9180c60092f71caba4750acf7faf58"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager._supplement_capital_flow_from_fetchers (cognitive 27): DataFetcherManager._supplement_capital_flow_from_fetchers has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 6, loops 1, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":4622}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3c353b2e13c93a4aace1b7e6fb81e71e9e90a383d9273f572adc17e489375e"}},{"ruleId":"D2","level":"warning","message":{"text":"FutuFundamentalAdapter._financials (cognitive 27): FutuFundamentalAdapter._financials has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 11, if/else 6 (11 pts), ternaries 3, loops 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":"data_provider/futu_fundamental_adapter.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5a641cf653330ad6c7532dc4f79716b39a0033fbd353a6cce74753b388f2fa"}},{"ruleId":"D2","level":"warning","message":{"text":"YfinanceFetcher._get_us_index_realtime_quote (cognitive 27): YfinanceFetcher._get_us_index_realtime_quote has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 12, if/else 5 (6 pts), ternaries 5 (6 pts), error handling 3 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/yfinance_fetcher.py"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f705f118e4146c960aa5f979ec225663eb4c1bd0875af4fc3d1c4610a89b99f"}},{"ruleId":"D2","level":"warning","message":{"text":"llm_adapter.resolve_fallback_litellm_wire_models (cognitive 27): llm_adapter.resolve_fallback_litellm_wire_models has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/llm_adapter.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f19b98a8a4b19513cf26588c6ef8f5e8d8d761334fa64ea66fb28476cf7021"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.try_parse_json (cognitive 27): runner.try_parse_json has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 4 (5 pts), error handling 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/runner.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9c7fd50bb61bb336e23aaa0110f45d8ef24b04ba5d4049b0f9e6cec82d3583"}},{"ruleId":"D2","level":"warning","message":{"text":"local_cli_backend._decode_diagnostic_double_quoted_field_name (cognitive 27): local_cli_backend._decode_diagnostic_double_quoted_field_name has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (4 pts), boolean chains 3, error handling 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"708361d57cd7fd2ebb96500bdf24564ecde130b3e0420aa6b4ff398046444877"}},{"ruleId":"D2","level":"warning","message":{"text":"MarketAnalyzer._resolve_recorded_provider (cognitive 27): MarketAnalyzer._resolve_recorded_provider has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 12 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_analyzer.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"e435f230c6bc486c468cf8181445ae67cae8b27ab9efbbd66bbe5ea781111e65"}},{"ruleId":"D2","level":"warning","message":{"text":"daily._latest_daily_bar_date (cognitive 27): daily._latest_daily_bar_date has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f71076d85eea389db1a33b5d67ab737be82b1af71408e7168438413af1e45a3"}},{"ruleId":"D2","level":"warning","message":{"text":"pipeline._daily_source_health_notes (cognitive 27): pipeline._daily_source_health_notes has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 6, ternaries 2 (4 pts), loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/pipeline.py"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4d72667ec3f8c7b1fdeac5f56b4c68e339fa86864eea8c98e629e1aa1e020d"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillOpinionWeightService.compute_weights (cognitive 27): SkillOpinionWeightService.compute_weights has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 4, loops 2, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/skill_opinion_weight_service.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7cad67f8ad2a5a050f2ccfe6dc52c1eb9ffd40a6540b7ccbd411db4924c96a"}},{"ruleId":"D2","level":"warning","message":{"text":"StockTrendAnalyzer._generate_signal (cognitive 27): StockTrendAnalyzer._generate_signal has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 8, ternaries 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":"src/stock_analyzer.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb47ccde93aa7dee85979c50b422095c4955f8377928295c45209c3c8b13a81"}},{"ruleId":"D2","level":"warning","message":{"text":"RunFlowPanel.RunFlowPanel (cognitive 27): RunFlowPanel.RunFlowPanel has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 15, if/else 10, ternaries 2. Of this number, 15 points are the body\u0027s own statements and 12 belong to 8 function items inside it that branch. 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":"apps/dsa-web/src/components/run-flow/RunFlowPanel.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e027bb602f5ca8b568afab0ea44e425c2b713756110cbca29d3438722fad65b"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentBackendStatusPanel.AgentBackendStatusPanel (cognitive 27): AgentBackendStatusPanel.AgentBackendStatusPanel has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 11 (19 pts), if/else 3 (4 pts), boolean chains 3, error handling 1 (nesting depth added 9). Of this number, 21 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/AgentBackendStatusPanel.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c30b3b7e67d77f7225ebc21d0a84404373d306b0cb6eac1bc9330c9ab614c0b"}},{"ruleId":"D2","level":"warning","message":{"text":"AlertRuleList.AlertRuleList (cognitive 27): AlertRuleList.AlertRuleList has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 12 (23 pts), boolean chains 3, if/else 1 (nesting depth added 11). Most of this is not in the body itself: 4 of the 27 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 187, isRuleActionBusy, a function literal at line 274). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/alerts/AlertRuleList.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d025b5842ea43f8ee40d3e355ff6b6a374ffce39630fdc6fffa92d47e36065bf"}},{"ruleId":"D2","level":"warning","message":{"text":"DataCenterPage.DataCenterPage (cognitive 27): DataCenterPage.DataCenterPage has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 9 (15 pts), boolean chains 7, if/else 3 (4 pts), error handling 1 (nesting depth added 7). Most of this is not in the body itself: 12 of the 27 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 63, 142, 177, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/DataCenterPage.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0824ac55a9a9881ea80cb0a93b33c1ea8626a5be9c9557ee5b0b83d4ae5c7dd1"}},{"ruleId":"D2","level":"warning","message":{"text":"MarketStructureCard.MarketStructureCard (cognitive 27): MarketStructureCard.MarketStructureCard has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 21, if/else 3, ternaries 2 (3 pts) (nesting depth added 1). Of this number, 26 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"apps/dsa-web/src/components/report/MarketStructureCard.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b55d790a9674e3fb73184258291e259bc22d6ef7701a8463d29ae30ae870c5"}},{"ruleId":"D2","level":"warning","message":{"text":"FeishuStreamHandler._parse_event_message (cognitive 26): FeishuStreamHandler._parse_event_message has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 10, if/else 8, ternaries 5, error handling 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bot/platforms/feishu_stream.py"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e747068aad00da1ea4510d22fbc621c17e7932e914dbd8537644fef4e1ff1f"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager.prefetch_realtime_quotes (cognitive 26): DataFetcherManager.prefetch_realtime_quotes has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 2 (4 pts), boolean chains 3, error handling 2 (3 pts), loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":2206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab318e35cfb08a47853ae8047d5a2ce12abfe3c10fa3a037900bf3d5e7d5ba7a"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager.get_board_context (cognitive 26): DataFetcherManager.get_board_context has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 5 (10 pts), boolean chains 9, if/else 5 (7 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":"data_provider/base.py"},"region":{"startLine":4817}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c06d9926cb717384739f5a19240cd658a8e270bf1ffef1b8ab4444e06ee538"}},{"ruleId":"D2","level":"warning","message":{"text":"TickFlowFetcher.get_market_stats (cognitive 26): TickFlowFetcher.get_market_stats has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 3, error handling 1, 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":"data_provider/tickflow_fetcher.py"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eaabd4401a7e138e3fc4b0c88d26666d9ee8eddd878ccc3adf15b082726ce90"}},{"ruleId":"D2","level":"warning","message":{"text":"web_intent_resolver._split_sub_messages (cognitive 26): web_intent_resolver._split_sub_messages has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 4 (8 pts), boolean chains 5, 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":"src/agent/web_intent_resolver.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8ad166091410abeb083272780bf7fcf4f77216164de727e1f21ed487959030"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiAnalyzer._init_litellm (cognitive 26): GeminiAnalyzer._init_litellm has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (19 pts), error handling 3 (6 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":2796}}}],"partialFingerprints":{"codehealthFindingId/v1":"da25de9407f73bf874aee8fd2686839d829e618211ed85a476a3c35713055b28"}},{"ruleId":"D2","level":"warning","message":{"text":"industry.load_board_heat_trends (cognitive 26): industry.load_board_heat_trends has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 3, error handling 1 (2 pts), loops 2, ternaries 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/industry.py"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1e26ca1f4f36954397ea7242a8f29f20db6d3289cc810a66a1c1caf683814f"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalysisTaskQueue.submit_tasks_batch (cognitive 26): AnalysisTaskQueue.submit_tasks_batch has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 3 (6 pts), boolean chains 4, loops 4, error handling 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/task_queue.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c21abbf3bc09d895b6744559cb03e99319e927b4f6b31f298124e999d08bd8"}},{"ruleId":"D2","level":"warning","message":{"text":"share_image._compact_position (cognitive 26): share_image._compact_position has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 3 (8 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7969444aa402806435f454fc92a33e9b56825d6b4e7095912c9e45c8526d92"}},{"ruleId":"D2","level":"warning","message":{"text":"share_image._market_body (cognitive 26): share_image._market_body has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 12, boolean chains 6, if/else 4 (6 pts), loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":1863}}}],"partialFingerprints":{"codehealthFindingId/v1":"279c1f12bf001159d55e55dc9fcd3b40767d9fdd608cb29b1b86cc7a95e13115"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.decodeChatState (cognitive 26): agent.decodeChatState has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 12, if/else 10 (11 pts), ternaries 2 (3 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/agent.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f944a97c9d50c105c5d8503915858accbf6c6677b37a89e2e0fca8a270a37338"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMChannelEditor.LLMChannelEditor::handleSave (cognitive 26): LLMChannelEditor.LLMChannelEditor::handleSave has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 7, ternaries 2, 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. This shape REPEATS in the file: one other method here (LLMChannelEditor.LLMChannelEditor) 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":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba9ec7a1e93d026c6715844b5ee5d30ac8a6b960b2f526985a3388ee6b1b096"}},{"ruleId":"D2","level":"warning","message":{"text":"portfolio._resolve_position_analysis_context (cognitive 25): portfolio._resolve_position_analysis_context has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 6, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/endpoints/portfolio.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f563dd53a60a79905d85eb57a411eed628d130354c690665977bde3c9244b5"}},{"ruleId":"D2","level":"warning","message":{"text":"StrategiesCommand.execute (cognitive 25): StrategiesCommand.execute has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, loops 3 (4 pts), ternaries 1 (3 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bot/commands/strategies.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92eef067f9d5e150bce63ce9d49efe799e666d72e36b0261371fd514d5e7270"}},{"ruleId":"D2","level":"warning","message":{"text":"EfinanceFetcher.get_realtime_quote (cognitive 25): EfinanceFetcher.get_realtime_quote has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 16, if/else 6, error handling 2, boolean chains 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ad1ec0e63df1826e2938d1b9286d60a9f3f7bfa1af6ee67cb310dca7deebd3"}},{"ruleId":"D2","level":"warning","message":{"text":"TickFlowFetcher.prefetch_daily_klines (cognitive 25): TickFlowFetcher.prefetch_daily_klines has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 3 (6 pts), loops 2 (3 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":"data_provider/tickflow_fetcher.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"b564c55843a56e5981eb53e9b31d57af23a82e32c940c2bd96c0225cf4ab56b7"}},{"ruleId":"D2","level":"warning","message":{"text":"metrics.compute_trajectory_metrics (cognitive 25): metrics.compute_trajectory_metrics has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 5, loops 1, ternaries 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":"evals/agent_trajectory/metrics.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf2cb8fa1bb75aea8aa56e087b292ff9826b87231522f31874bcdbe92c547cb"}},{"ruleId":"D2","level":"warning","message":{"text":"chat_context.build_agent_chat_context_bundle (cognitive 25): chat_context.build_agent_chat_context_bundle has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 7, loops 2, ternaries 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/chat_context.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"98352d1c0e1cbf1c1ebe9c0f4ff14cfcfc1b2f4bf6ce5fd0e64b2ecebec36528"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOrchestrator._build_context (cognitive 25): AgentOrchestrator._build_context has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/orchestrator.py"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3d60ad524b4a7993a553890e2e00b45e7f395b132d6b6b2596dccb7ab66c3a"}},{"ruleId":"D2","level":"warning","message":{"text":"web_intent_tokenizer._identify_one_code (cognitive 25): web_intent_tokenizer._identify_one_code has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 4 (5 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_tokenizer.py"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a0faefe576b6db1533abd82107d9b88de68faec47d704738b206fc2d8b8556"}},{"ruleId":"D2","level":"warning","message":{"text":"market_review._render_market_review_payload_body (cognitive 25): market_review._render_market_review_payload_body has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/market_review.py"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"8443e6fff1729f01742ffc079fe53d3183ef7828e71cecd124eac15c555c95a7"}},{"ruleId":"D2","level":"warning","message":{"text":"StockAnalysisPipeline._backfill_agent_dashboard_fields (cognitive 25): StockAnalysisPipeline._backfill_agent_dashboard_fields has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (17 pts), ternaries 2 (4 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":2538}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb348e56c6fecb77485e6f8409eeb24cae119c8c48d11769b821f2e46c13e29"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_index_loader._load_active_index_rows (cognitive 25): stock_index_loader._load_active_index_rows has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (18 pts), error handling 2 (4 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":"src/data/stock_index_loader.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e0cebaaabe03af2a16ca33cd15085d06fe4e7f9c9d6647164923004710bc34"}},{"ruleId":"D2","level":"warning","message":{"text":"name_to_code_resolver._fix_name (cognitive 25): name_to_code_resolver._fix_name has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16 (23 pts), error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/name_to_code_resolver.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd064545dc6aaa248a404e05295d17c4ffa704cb5546be497c5ea6952ebaaa4"}},{"ruleId":"D2","level":"warning","message":{"text":"run_diagnostics._llm_component (cognitive 25): run_diagnostics._llm_component has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_diagnostics.py"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"f491724673bd128aa00ea75db71bd4024606864143e555b7654f7b54e57c9965"}},{"ruleId":"D2","level":"warning","message":{"text":"hotspot._coerce_hotspot_summary (cognitive 25): hotspot._coerce_hotspot_summary has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11, boolean chains 7, ternaries 7. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/hotspot.py"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ab75ce1e32a8e90dfd7485f8ffc8133b5924330c368b54663d02e0d2ab99c2"}},{"ruleId":"D2","level":"warning","message":{"text":"StockProfileService._intelligence_block (cognitive 25): StockProfileService._intelligence_block has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (6 pts), error handling 1 (3 pts), ternaries 3, boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_profile_service.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"207e29fe78155a22d8f8da36657d7ecd00e87971406a745c59f06a77b9abf913"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService._build_explainability_warnings (cognitive 25): SystemConfigService._build_explainability_warnings has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 9, error handling 2 (4 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":2163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1006b624e1f44559fbe3c4155779b71bca3f6f8a6dbf5836fd588524d9acfc"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService._infer_setup_legacy_primary_model (cognitive 25): SystemConfigService._infer_setup_legacy_primary_model has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (12 pts), boolean chains 7, if/else 6 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":3642}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab2371befcc3f14c612789dab58d0c8b1b1be946e72e1054164bf3dffd41aff"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService._collect_hermes_channel_models_from_map (cognitive 25): SystemConfigService._collect_hermes_channel_models_from_map has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 12, if/else 5 (10 pts), loops 2 (3 pts) (nesting depth added 6). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":4997}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9ad82302d281d84de573ced69ca925a293d948c71dc8585a4445f04e6f4f39"}},{"ruleId":"D2","level":"warning","message":{"text":"stockPoolStore.fetchHistory (cognitive 25): stockPoolStore.fetchHistory has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (16 pts), ternaries 3 (5 pts), boolean chains 3, error handling 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, 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":"apps/dsa-web/src/stores/stockPoolStore.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f74eacab131f2b5f89282f420407fe823b6e5affe65482801847eef6beb1601"}},{"ruleId":"D2","level":"warning","message":{"text":"decisionAction.getLegacyDecisionAction (cognitive 25): decisionAction.getLegacyDecisionAction has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15, boolean chains 10. 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":"apps/dsa-web/src/utils/decisionAction.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3653788b8424d28fc118127febd127ff46ea3744d874cd93424d741fd25aac"}},{"ruleId":"D2","level":"warning","message":{"text":"ReportOverview.ReportOverview (cognitive 25): ReportOverview.ReportOverview has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 13, if/else 6, ternaries 6. Of this number, 14 points are the body\u0027s own statements and 11 belong to 5 function items inside it that branch. 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":"apps/dsa-web/src/components/report/ReportOverview.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe62d7e83e7051bb9cb04857079ef11f79e8e9cb7dd5122e0a3f416336b3a56"}},{"ruleId":"D2","level":"warning","message":{"text":"EfinanceFetcher._get_etf_realtime_quote (cognitive 24): EfinanceFetcher._get_etf_realtime_quote has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 12, if/else 7 (8 pts), boolean chains 3, error handling 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4cf478fb1fa445452e8ca64e084da2f4868f720387d746cd72622b258b8b37"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOrchestrator._build_data_perspective (cognitive 24): AgentOrchestrator._build_data_perspective has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 11, ternaries 5 (8 pts), if/else 4 (5 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/orchestrator.py"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"5742f6cf6b062024e1c02257cb45afca64de711bc9bdab7bbb63f5091d4b04f1"}},{"ruleId":"D2","level":"warning","message":{"text":"WebIntentResolver.resolve (cognitive 24): WebIntentResolver.resolve has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 8, if/else 4 (6 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":"src/agent/web_intent_resolver.py"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef77af4c929588f8c13bf05d661bf18e5bbaeb93a03199a64a567391be7e6294"}},{"ruleId":"D2","level":"warning","message":{"text":"portfolio._discover_real_accounts (cognitive 24): portfolio._discover_real_accounts has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (17 pts), error handling 3 (4 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/brokers/futu/portfolio.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"035f7a9eb8da4cd9c1dc0c6b62abfc2845432e5a4faf442e9ff7fd6ba76ef14f"}},{"ruleId":"D2","level":"warning","message":{"text":"Config._legacy_keys_to_model_list (cognitive 24): Config._legacy_keys_to_model_list has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 6, loops 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config.py"},"region":{"startLine":2815}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bc80cd26ea65b12bb504dca754b44bbd61037d174476c15c02e9aaebd9cab9"}},{"ruleId":"D2","level":"warning","message":{"text":"market_review_lock.try_acquire_market_review_lock (cognitive 24): market_review_lock.try_acquire_market_review_lock has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 3 (9 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/market_review_lock.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa81aa57fba237cd83910d7701d08ebfe03a0252ddf5539b6bb7181963854da"}},{"ruleId":"D2","level":"warning","message":{"text":"StockAnalysisPipeline._get_concept_rankings_for_market (cognitive 24): StockAnalysisPipeline._get_concept_rankings_for_market has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (20 pts), error handling 2 (3 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":"src/core/pipeline.py"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03b1112632ebc46cd077b2e4f4549e5a01463eb0142028cfbca8d8fd57b84d9"}},{"ruleId":"D2","level":"warning","message":{"text":"local_cli_backend._redact_double_quoted_yaml_sensitive_field (cognitive 24): local_cli_backend._redact_double_quoted_yaml_sensitive_field has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"0646f58053ea9a7255cc0cc0cd22ca4a61ea2a795274d8bf098dcaa14731e500"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationService.detect_configured_channels (cognitive 24): NotificationService.detect_configured_channels has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14, boolean chains 10. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1bb03d8c9bbce0f958ec2b98825b5ff57fb9951db9ce194ae6812762136bdc"}},{"ruleId":"D2","level":"warning","message":{"text":"notification_noise._evaluate_notification_noise (cognitive 24): notification_noise._evaluate_notification_noise has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 13, if/else 9 (10 pts), ternaries 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_noise.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"15dc91fdf02d0d4be17a446d8bc5596ba4a51f421303a405e0657f807e33234a"}},{"ruleId":"D2","level":"warning","message":{"text":"decision_action.normalize_decision_action (cognitive 24): decision_action.normalize_decision_action has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (18 pts), loops 3, ternaries 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/schemas/decision_action.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ba38f9496cf35dc1bfbaded85a52d36967643c0d677317d96d1810d42e091f"}},{"ruleId":"D2","level":"warning","message":{"text":"SearXNGSearchProvider._do_search (cognitive 24): SearXNGSearchProvider._do_search has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 5 (7 pts), ternaries 2, 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":"src/search_service.py"},"region":{"startLine":2034}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa47877288bd3ced52ad65b50387afac2026786098e2cf7e3d2b084c7542df01"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchService.search_topic_news (cognitive 24): SearchService.search_topic_news has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 8, ternaries 3, error handling 1 (2 pts), loops 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":"src/search_service.py"},"region":{"startLine":3866}}}],"partialFingerprints":{"codehealthFindingId/v1":"e375a64aa7e99223fdeeab45e8825fe85ebe9fa42c0efed983d74877c0d34a12"}},{"ruleId":"D2","level":"warning","message":{"text":"IntelligenceService._fetch_feed_entries (cognitive 24): IntelligenceService._fetch_feed_entries has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (3 pts), boolean chains 2, error handling 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/intelligence_service.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0363e96e19070e99d0763ebf7efbf38edbdf8e1a55c154a91bdd35cef4f472"}},{"ruleId":"D2","level":"warning","message":{"text":"market_light_service.load_previous_snapshot (cognitive 24): market_light_service.load_previous_snapshot has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 6, error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/market_light_service.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e7ab362401b995de4dcc708fb8c2b9b183236488d8972b7237abe89528ebbb"}},{"ruleId":"D2","level":"warning","message":{"text":"industry._merge_mapping (cognitive 24): industry._merge_mapping has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (14 pts), ternaries 1 (4 pts), boolean chains 3, 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":"src/services/screening/industry.py"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae75c5652af8f262abbc3f56fcc02981e9ff636d13fc3d04f7184f568d6df44e"}},{"ruleId":"D2","level":"warning","message":{"text":"ranker._call_llm (cognitive 24): ranker._call_llm has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/ranker.py"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ab02d7b4046ea39fae9719c3eeaebb1f1a7203135aec042e2a2d5a1132a2e2"}},{"ruleId":"D2","level":"warning","message":{"text":"ranker._parse_ranking_response_detail (cognitive 24): ranker._parse_ranking_response_detail has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 2, 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":"src/services/screening/ranker.py"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37d8fc3e30427dff50c3dca28c6baaef8de32cdac194515ab8801b760ce4f33"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService._mask_notification_target (cognitive 24): SystemConfigService._mask_notification_target has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 6, ternaries 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":3275}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2df538352fb54cd8b2178893441ca23f6b2f472aa1b40df578ab67c5c30b71a"}},{"ruleId":"D2","level":"warning","message":{"text":"share_image.build_share_image_html (cognitive 24): share_image.build_share_image_html has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 7 (12 pts), if/else 5 (7 pts), boolean chains 5 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":2045}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8813f17fd70ec053b06539f7d239471d81ef2fbaedd58ce900ce879b3d8b571"}},{"ruleId":"D2","level":"warning","message":{"text":"StockTrendAnalyzer._analyze_trend (cognitive 24): StockTrendAnalyzer._analyze_trend has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 6 (8 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stock_analyzer.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75ad4d1cb96e42f910587b6b383993fe04bbefea45eafd2307e3b01df5b98e3"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabaseManager._ensure_llm_usage_telemetry_columns (cognitive 24): DatabaseManager._ensure_llm_usage_telemetry_columns has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (16 pts), error handling 2 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage.py"},"region":{"startLine":2243}}}],"partialFingerprints":{"codehealthFindingId/v1":"076bcdda1e26a6ef7abed8fe73407565e6fc5c634ff624671e03f33dfbddf936"}},{"ruleId":"D2","level":"warning","message":{"text":"MarketReviewRegionSelector.MarketReviewRegionSelector (cognitive 24): MarketReviewRegionSelector.MarketReviewRegionSelector has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 6 (9 pts), boolean chains 4 (nesting depth added 5). Of this number, 12 points are the body\u0027s own statements and 12 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/market-review/MarketReviewRegionSelector.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ea1d19c7737ba3c8162d6e6d60cba2815e5dcbda9ffd3336aedfc1fc10735b"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusCommand._collect_status (cognitive 23): StatusCommand._collect_status has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 21, if/else 1, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bot/commands/status.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f431d31371f3a91132be4a56538c2f6f17315a1ec0111210dd47d502291686a"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandDispatcher._try_nl_routing (cognitive 23): CommandDispatcher._try_nl_routing has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 5 (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. This shape REPEATS in the file: one other method here (CommandDispatcher._try_nl_routing_sync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bot/dispatcher.py"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc4917cf35914dd4a78870e41d11945466a2f44c808e42557440a26c86b6a76"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandDispatcher._try_nl_routing_sync (cognitive 23): CommandDispatcher._try_nl_routing_sync has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 5 (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. This shape REPEATS in the file: one other method here (CommandDispatcher._try_nl_routing) 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":"bot/dispatcher.py"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"2946eec58d7d1116b694433dd0f4e1ee0497e18a1a6494378a81ea84d3ac308c"}},{"ruleId":"D2","level":"warning","message":{"text":"pytdx_fetcher._parse_hosts_from_env (cognitive 23): pytdx_fetcher._parse_hosts_from_env has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 2 (7 pts), boolean chains 2, loops 1 (2 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":"data_provider/pytdx_fetcher.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3848f948fe444a7d4827d7efe762161fcae128d87aa9fbb0e30214f3915319"}},{"ruleId":"D2","level":"warning","message":{"text":"metrics._compute_tool_log_metrics (cognitive 23): metrics._compute_tool_log_metrics has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, error handling 1 (2 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":"evals/agent_trajectory/metrics.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c70217619d182ce65107c0b691a91f123737985946da2526d275ad0bd87c94"}},{"ruleId":"D2","level":"warning","message":{"text":"events._read_quote_float (cognitive 23): events._read_quote_float has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), error handling 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/events.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3d0dbb1d2b72aa9a310ae263526613123005e5242bb73136dcfc4b70ce1d5e"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentExecutor._build_user_message (cognitive 23): AgentExecutor._build_user_message has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (22 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":"src/agent/executor.py"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef53b777f9ad12a5ada78a2618c62a5cfc8aea63aef36f604a583d431cf3ec30"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMToolAdapter._call_litellm_model (cognitive 23): LLMToolAdapter._call_litellm_model has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 10, ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/llm_adapter.py"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c46837f4395e82c1b1ba0875786915e1d7bdf5e0265789cd0180c38bd2f43dd"}},{"ruleId":"D2","level":"warning","message":{"text":"registry._infer_parameters (cognitive 23): registry._infer_parameters has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (5 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tools/registry.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c708af659c74f8d53ec0bf15637e3b92d4d6e378eb8b7a6f3d641ff5bea3131"}},{"ruleId":"D2","level":"warning","message":{"text":"web_intent_resolver._narrow_group_entities (cognitive 23): web_intent_resolver._narrow_group_entities has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 6, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_resolver.py"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45ee409ce443cf8ff4c0f85f5168a8746b2bca719d1347de831a953b8aecf00"}},{"ruleId":"D2","level":"warning","message":{"text":"web_intent_tokenizer._build_entity_index (cognitive 23): web_intent_tokenizer._build_entity_index has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_tokenizer.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"96039c8c58813c3031d1c6e9c7aa62103ee45601e5bed1704ea8071c8157c656"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis_context_pack_prompt._data_limitation_lines (cognitive 23): analysis_context_pack_prompt._data_limitation_lines has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 3 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis_context_pack_prompt.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd90cc739f88bcd91706818acd4d2372dd0f7471b31927cdc8373664a80810b"}},{"ruleId":"D2","level":"warning","message":{"text":"analyzer._sanitize_trend_analysis_for_prompt (cognitive 23): analyzer._sanitize_trend_analysis_for_prompt has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (14 pts), if/else 5 (8 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"584301ad85da3b2eb513bcaa400870d043622790bf60a504d025bf61566af235"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalCliGenerationBackend._terminate_process_group (cognitive 23): LocalCliGenerationBackend._terminate_process_group has cognitive complexity 23 (threshold 15). Drivers by points: error handling 9 (19 pts), if/else 3 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":2779}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ced24fde89975a46c9c79195928d6687db0480ee9a0ec49985cfc4e86036b7"}},{"ruleId":"D2","level":"warning","message":{"text":"MarketAnalyzer._merge_persisted_market_intelligence (cognitive 23): MarketAnalyzer._merge_persisted_market_intelligence has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (9 pts), loops 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_analyzer.py"},"region":{"startLine":2079}}}],"partialFingerprints":{"codehealthFindingId/v1":"300daaaf4345cf2f6e79cd06e800716585b6cdc1f5edbcf1ec32ab403d31bb87"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationService.generate_wechat_summary (cognitive 23): NotificationService.generate_wechat_summary has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 5 (9 pts), boolean chains 3, 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":"src/notification.py"},"region":{"startLine":1819}}}],"partialFingerprints":{"codehealthFindingId/v1":"8756ece5807b1e12512312d463c183edca6f3a70a1b3ef666ba5e35b212b009a"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationService._get_fundamental_blocks (cognitive 23): NotificationService._get_fundamental_blocks has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 17, if/else 4, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":2230}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0c89bded65fb59b0ea2c48dc9dd0b982995d8144959685a685269437442d4e"}},{"ruleId":"D2","level":"warning","message":{"text":"DingtalkSender.send_to_dingtalk (cognitive 23): DingtalkSender.send_to_dingtalk has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, ternaries 2 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/dingtalk_sender.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b13e3e2585c78b85f05d26e22f595a6125d5803b4e755127c216a914552c552"}},{"ruleId":"D2","level":"warning","message":{"text":"BochaSearchProvider._do_search (cognitive 23): BochaSearchProvider._do_search has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 6 (7 pts), boolean chains 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":"src/search_service.py"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e9ae54c7e36255f2c2af43f86a7256b09cc525a21f461c4489c53b61b5a7f4"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchService._stock_code_identity_terms (cognitive 23): SearchService._stock_code_identity_terms has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 6, ternaries 2 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":2827}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fc13858bc4e3e6683f415ec32de4e7e1e7e0cde528d60db3f1b8bb9155febc"}},{"ruleId":"D2","level":"warning","message":{"text":"MarketStructureService.build_context (cognitive 23): MarketStructureService.build_context has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 11, if/else 11, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/market_structure_service.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96bd707848536b3df1cfbadcd372b96eae4ce486a97d14d175a6a7dc1a91e94"}},{"ruleId":"D2","level":"warning","message":{"text":"candidate_context.collect_candidate_context (cognitive 23): candidate_context.collect_candidate_context has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 4 (6 pts), boolean chains 4, error handling 1 (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":"src/services/screening/candidate_context.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ff806efb30be654c25f22469fc77719aa0973704731d4b38afc9607920adb0"}},{"ruleId":"D2","level":"warning","message":{"text":"ranker._balanced_json_values (cognitive 23): ranker._balanced_json_values has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/ranker.py"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"efebfddbc81c635792b757b392618f85e3300e72fe1d33c096a27f1b36798c72"}},{"ruleId":"D2","level":"warning","message":{"text":"ScreeningService.screen (cognitive 23): ScreeningService.screen has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 16, error handling 4, if/else 2, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eea74ab72c73f8da312b956e9306692daa850403a0e33a5f2602718be93a461"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillOpinionSampleService.persist (cognitive 23): SkillOpinionSampleService.persist has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, error handling 2 (3 pts), loops 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/skill_opinion_sample_service.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"765646569bc1d15f44722b29c318b4950ca50895bd72fdd71a26d600b368e5cf"}},{"ruleId":"D2","level":"warning","message":{"text":"StockProfileService._monitor_block (cognitive 23): StockProfileService._monitor_block has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (6 pts), boolean chains 3, error handling 1 (2 pts), ternaries 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_profile_service.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2b690ad785234e3a6971fdf9b7f96eb35a0802931f691cd9098b71995fb0eb"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService._classify_llm_exception (cognitive 23): SystemConfigService._classify_llm_exception has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13, boolean chains 10. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":4409}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7f6e8bedc08ecb9ea52a822b035720c6b153a08609d84e62f153581bf92ed6"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalysisTaskQueue._execute_task (cognitive 23): AnalysisTaskQueue._execute_task has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 5, error handling 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":"src/services/task_queue.py"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6cdf60d3444751b179fc37c7ffd4fdef2a821a8c2140df046c968ff4876dfa6"}},{"ruleId":"D2","level":"warning","message":{"text":"share_image._merge_index_cards (cognitive 23): share_image._merge_index_cards has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5, ternaries 2 (4 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"354560a5a30dd446f63d7dc40bba3a6435eff7ad2dae4cbbf37ac68945ffb775"}},{"ruleId":"D2","level":"warning","message":{"text":"main.restorePackagedRuntimeStateFromBackup (cognitive 23): main.restorePackagedRuntimeStateFromBackup has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9, ternaries 4 (7 pts), boolean chains 4, error handling 2 (3 pts) (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/main.js"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb2156105e6de590d431927561238003aa45fa81bd71939863ac1f935246c95"}},{"ruleId":"D2","level":"warning","message":{"text":"agentChatStore.useAgentChatStore.startStream::processLine (cognitive 23): agentChatStore.useAgentChatStore.startStream::processLine has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 7 (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. This shape REPEATS in the file: one other method here (agentChatStore.useAgentChatStore.startStream) 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":"apps/dsa-web/src/stores/agentChatStore.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"0324c84c4e6037f7b2dcd61e8617bf8c899a1b2b4ba071c1f5599aa978548526"}},{"ruleId":"D2","level":"warning","message":{"text":"topologyViewModel.buildRunFlowTopologyModel (cognitive 23): topologyViewModel.buildRunFlowTopologyModel has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 14, if/else 7, ternaries 2. None of this is in the body itself: all 23 points belong to 5 function literals inside it that branch (lines 306, 329, 235, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/topologyViewModel.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76d72d65bd854dc42cc440fe7f710b3c1aa74964b538e47ae52a864021daa0f"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager.get_capital_flow_context (cognitive 22): DataFetcherManager.get_capital_flow_context has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, if/else 8, ternaries 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":"data_provider/base.py"},"region":{"startLine":4675}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe253ea7a31a11bb02bd073acd1a694ce2bf0f6ba9d5575ccf17582aae1fdaf"}},{"ruleId":"D2","level":"warning","message":{"text":"MiaoxiangFetcher._query_tables (cognitive 22): MiaoxiangFetcher._query_tables has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 2 (4 pts), boolean chains 2, loops 1 (2 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/miaoxiang_fetcher.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4323ec4d5cc802bdad36adb79f832910a66b5c17d6b6726f57033645b7d64b"}},{"ruleId":"D2","level":"warning","message":{"text":"metrics.validate_golden_sample (cognitive 22): metrics.validate_golden_sample has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 7, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/agent_trajectory/metrics.py"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"216428a393e53f603dc13a9a9bff07a24b93ef2089d8ebf53ed996cae08b8fba"}},{"ruleId":"D2","level":"warning","message":{"text":"run_eval.main (cognitive 22): run_eval.main has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 3 (6 pts), error handling 4 (5 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/agent_trajectory/run_eval.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a53a20b19b066f4604f9ecb62128545880e098613275762ed38b5b36af0504"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseAgent._build_memory_context (cognitive 22): BaseAgent._build_memory_context has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/agents/base_agent.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a9830a92ca4b3d147a0b571a22fa1f86f8746201612e8592f47a2b56082f1d"}},{"ruleId":"D2","level":"warning","message":{"text":"factory._coerce_config_timeout (cognitive 22): factory._coerce_config_timeout has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/factory.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17f17ef954442605c4de3c774fbfb49b9dc599a0fe800a65d6113c5af693d0f"}},{"ruleId":"D2","level":"warning","message":{"text":"llm_adapter.register_fallback_model_pricing (cognitive 22): llm_adapter.register_fallback_model_pricing has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 2 (5 pts), boolean chains 2, 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":"src/agent/llm_adapter.py"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecc18bf04a0253a0e55e263e8e6e243b7f7723cba49b85525b70cf3c32980ee"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis_tools._handle_get_volume_analysis (cognitive 22): analysis_tools._handle_get_volume_analysis has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 9 (12 pts), if/else 6, boolean chains 3, 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":"src/agent/tools/analysis_tools.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10e968d0c3a1ea5fdcba93e235022a4ba715a39cb056c63f2a96a27a0ba8dd5"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiAnalyzer._extract_text_blocks (cognitive 22): GeminiAnalyzer._extract_text_blocks has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":3343}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7cc19378f0dd37433c2f2973b17cad764ce7b43e0731a92b19f193c2f9d0910"}},{"ruleId":"D2","level":"warning","message":{"text":"BacktestEngine._is_negated (cognitive 22): BacktestEngine._is_negated has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 2, 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":"src/core/backtest_engine.py"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb04d0fd17474ae0469f7e01ca5ede46696accfb56c16068049fb3897b30b118"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_index_loader.get_chat_stock_lookup (cognitive 22): stock_index_loader.get_chat_stock_lookup has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (5 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/data/stock_index_loader.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b2314959c12905a00b5b2fcbd69c5f363e09a5a811e477a479f2638634a2f3"}},{"ruleId":"D2","level":"warning","message":{"text":"usage._infer_provider (cognitive 22): usage._infer_provider has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12, boolean chains 5, ternaries 2 (4 pts), error handling 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":"src/llm/usage.py"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa023c769ab7fe28aa57c133926f59c6e2b987117066888052dd1ff5858b6e3"}},{"ruleId":"D2","level":"warning","message":{"text":"MarketAnalyzer.generate_market_review (cognitive 22): MarketAnalyzer.generate_market_review has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 8 (10 pts), boolean chains 7, if/else 4, error handling 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":"src/market_analyzer.py"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b621efefd8e75e084b4d3e86260db465f6d39df7e0f9813554d6186704a7f74"}},{"ruleId":"D2","level":"warning","message":{"text":"MarketAnalyzer._build_stats_block (cognitive 22): MarketAnalyzer._build_stats_block has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 5, ternaries 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_analyzer.py"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"b862be6ab1a8c3272407cc721efacd82859253919e70f3087037d829597782de"}},{"ruleId":"D2","level":"warning","message":{"text":"report_language.get_sentiment_label (cognitive 22): report_language.get_sentiment_label has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (22 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/report_language.py"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5c926775b4941d27c8b59fbfa2cfd1fc996142017863594a34e785da5056f1"}},{"ruleId":"D2","level":"warning","message":{"text":"AnspireSearchProvider._do_search (cognitive 22): AnspireSearchProvider._do_search has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 6 (7 pts), boolean chains 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":"src/search_service.py"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b794a5bb2097da71988c4ef4d978fc6d8fe1f84b1adf0a39aea6c876725032"}},{"ruleId":"D2","level":"warning","message":{"text":"daily_market_context.format_daily_market_context_prompt_section (cognitive 22): daily_market_context.format_daily_market_context_prompt_section has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 5, 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":"src/services/daily_market_context.py"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c3bbbe83267d914942169c3681d41d8cb3bc3524b82c48d74112746ae70441"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionSignalService._backfill_analysis_signal_from_history (cognitive 22): DecisionSignalService._backfill_analysis_signal_from_history has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 14, if/else 4, ternaries 3, error handling 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_service.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"c318fd3531ba40d80941fa1eb133c449acf421d79a9a24fe6055258661d087a9"}},{"ruleId":"D2","level":"warning","message":{"text":"IntelligenceService._validate_url (cognitive 22): IntelligenceService._validate_url has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, error handling 3 (4 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/intelligence_service.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"71810ee47eaadfca3031ef6159aad019878fa461d6b13dc6357398d4005841fd"}},{"ruleId":"D2","level":"warning","message":{"text":"PortfolioImportService._normalize_trade_row (cognitive 22): PortfolioImportService._normalize_trade_row has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (8 pts), loops 2, ternaries 2 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_import_service.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"807c6eeb4d679aaf8bd85ee0ae3119fe35e6a97c1a3a4a3c0e59f4171ec3da8c"}},{"ruleId":"D2","level":"warning","message":{"text":"daily._read_daily_history_cache (cognitive 22): daily._read_daily_history_cache has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5, error handling 3, loops 1 (2 pts), ternaries 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b9113e0d681882720f15951c16b7e8cb681bd209f7c81560754b977b440e28"}},{"ruleId":"D2","level":"warning","message":{"text":"industry.enrich_industry_concepts (cognitive 22): industry.enrich_industry_concepts has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 3, loops 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/industry.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"084c43caa5f0f73b7b5a5c3c03ba50c24f33a83e62d86984e8c4a4f8a71ba5f9"}},{"ruleId":"D2","level":"warning","message":{"text":"screening_service._channel_litellm_model_list (cognitive 22): screening_service._channel_litellm_model_list has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":3120}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37f5c487047a844496d607cfff599eb5e348c9bde23e90d158737dc3c2b7f9a"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis.getSentimentLabel (cognitive 22): analysis.getSentimentLabel has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (22 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":"apps/dsa-web/src/types/analysis.ts"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a11549ff00728ee16260a43ea5e4c2d069836ef6793b8024ff005855be4dc4e"}},{"ruleId":"D2","level":"warning","message":{"text":"agentChatStore.mergeChatState (cognitive 22): agentChatStore.mergeChatState has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 8, ternaries 2 (4 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":"apps/dsa-web/src/stores/agentChatStore.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0bd893f87d7dd6d972b113f6153dcd0edc411243d42fa5a104cad57225e8a5"}},{"ruleId":"D2","level":"warning","message":{"text":"stockPoolStore.consumeCompletedTaskSelection (cognitive 22): stockPoolStore.consumeCompletedTaskSelection has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 2, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 8). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/stores/stockPoolStore.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f285e33637ccc07307b2adc472012df75816e96394471e296f4aa92b432370"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationBackendStatusPanel.GenerationBackendStatusPanel (cognitive 22): GenerationBackendStatusPanel.GenerationBackendStatusPanel has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 7 (10 pts), if/else 6 (8 pts), boolean chains 2, error handling 2 (nesting depth added 5). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 107, 141, 159). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/GenerationBackendStatusPanel.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf79514d0c8f5d90e09fffc72f1e73e3ca9e169c243dffd304ff3d7ac96cc27"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionSignalDisplay.DecisionSignalDetails (cognitive 22): DecisionSignalDisplay.DecisionSignalDetails has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 13 (19 pts), boolean chains 3 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/decision-signals/DecisionSignalDisplay.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f7dcfea69a0d4703a41ffbe78d5825efc3c9b45b66550fbc08d4daa5019df2"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscordPlatform._append_option_parts (cognitive 21): DiscordPlatform._append_option_parts has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bot/platforms/discord.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"c186262095f07bb90989e706d91945b280b324b8bac1d061e3e44c77924a2ff9"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager._get_cn_index_realtime_quote (cognitive 21): DataFetcherManager._get_cn_index_realtime_quote has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, error handling 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6afd68558e0b11f54d98240d954cf9679ed7abfa3b9999371ee9033dc35d514"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager._init_default_fetchers (cognitive 21): DataFetcherManager._init_default_fetchers has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15, boolean chains 5, ternaries 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":"data_provider/base.py"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"4225fb6d99851e14e89f98d7bd12cd83c4aeee4f2e77870e3e43fdae4fe1d889"}},{"ruleId":"D2","level":"warning","message":{"text":"AkshareFundamentalAdapter.get_dragon_tiger_flag (cognitive 21): AkshareFundamentalAdapter.get_dragon_tiger_flag has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (8 pts), error handling 2 (5 pts), ternaries 4 (5 pts), loops 2 (3 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/fundamental_adapter.py"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b343593aec9754c97afb3c2a17b73fcff8b300617b5e9235fe414015c5cfe4"}},{"ruleId":"D2","level":"warning","message":{"text":"YfinanceFetcher._convert_stock_code (cognitive 21): YfinanceFetcher._convert_stock_code has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/yfinance_fetcher.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd666e5e1a6f8b9c2858027f3bb0c6b5b6254fe8c85a5ef310594fce6c41c15"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseAgent._build_messages (cognitive 21): BaseAgent._build_messages has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/agents/base_agent.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"404fd57873d4d9214577e1ceadcd75ec55ed250d09e1acc86fa18fde1d078ce6"}},{"ruleId":"D2","level":"warning","message":{"text":"llm_adapter._extract_provider_blocks (cognitive 21): llm_adapter._extract_provider_blocks has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (6 pts), boolean chains 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/llm_adapter.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d00d73f1ec4a572ee193bda5fd47e05807146b5f63a89b23b2f0b1eba070ef"}},{"ruleId":"D2","level":"warning","message":{"text":"StrategyEngine.partition_only (cognitive 21): StrategyEngine.partition_only has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 3 (7 pts), boolean chains 3, 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":"src/agent/skills/engine.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31c85daf120d9cd1f31421f66964d309dea4a7df06cd2e78bde8e0da1c7cc07"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_scope.extract_stock_code_spans (cognitive 21): stock_scope.extract_stock_code_spans has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, if/else 4 (7 pts), loops 2 (3 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/stock_scope.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd3fac94f5ff45cc282a3b3b2ba98e0d24c123d5c57b78ec9bff17a0060c55c"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolRegistry.validate_tool_policies (cognitive 21): ToolRegistry.validate_tool_policies has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tools/registry.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a13ae760b7267885491f2551fa66c3cd65f4c609fcc942691e84d94039150d"}},{"ruleId":"D2","level":"warning","message":{"text":"provider_cache._model_list_api_surface (cognitive 21): provider_cache._model_list_api_surface has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 7, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/provider_cache.py"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbf07ca78019276b042bef63f93e09ff0143f661884148d712d5d00eb2545bc"}},{"ruleId":"D2","level":"warning","message":{"text":"MarketAnalyzer.build_market_review_payload (cognitive 21): MarketAnalyzer.build_market_review_payload has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 8 (10 pts), 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_analyzer.py"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de0f8f3069f769e03a7da75e5fe8492616e749039d4a06cce03ecdacf321d3d"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationService._append_related_boards (cognitive 21): NotificationService._append_related_boards has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (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":"src/notification.py"},"region":{"startLine":2457}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0689ef3df8d49b5a5a31a9a0a5c717211dd660bfd3c67a61816409fe1d8d0f"}},{"ruleId":"D2","level":"warning","message":{"text":"PushoverSender._send_pushover_chunked (cognitive 21): PushoverSender._send_pushover_chunked has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 2, ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/pushover_sender.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d370991da2448122b877582b6e0f96463ed97fed89bdb79fb16e23fcdf43ff"}},{"ruleId":"D2","level":"warning","message":{"text":"IntelligenceRepository.upsert_items (cognitive 21): IntelligenceRepository.upsert_items has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, if/else 4 (7 pts), error handling 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/intelligence_repo.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"45752d39c795870814ff62e5071a7f84c2c7a0d2c452206bb237631806d125fd"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchService.__init__ (cognitive 21): SearchService.__init__ has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 9 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":2404}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3606ba87bbc1ae51c2d02f76eee30dedfee12027d006751c37928ba42b0255"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_chat_session_service._active_from_snapshot (cognitive 21): agent_chat_session_service._active_from_snapshot has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, ternaries 2 (4 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/agent_chat_session_service.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab484e36f2861d33427bdd0497ffe13fbd55adac0482cc525117f3191321587"}},{"ruleId":"D2","level":"warning","message":{"text":"DataCapabilityService._dataset_from_priority (cognitive 21): DataCapabilityService._dataset_from_priority has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 3 (5 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/data_capability_service.py"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"730904fb099170277447e8fc037d748a70385da1625ee93bbcf1f2d95f18de5a"}},{"ruleId":"D2","level":"warning","message":{"text":"decision_profile_policy._apply_guardrail (cognitive 21): decision_profile_policy._apply_guardrail has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_profile_policy.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78b44706fcd8b45f64a97a5730b994f653abb3c10f24ce71341538673d60ed3"}},{"ruleId":"D2","level":"warning","message":{"text":"name_to_code_resolver.resolve_name_to_code (cognitive 21): name_to_code_resolver.resolve_name_to_code has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3, error handling 2, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/name_to_code_resolver.py"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"435d1e0b0c7c3b49c55e0605783bdc339b28845d2039942a56b9710ec4d19006"}},{"ruleId":"D2","level":"warning","message":{"text":"run_diagnostics.sanitize_diagnostic_metadata (cognitive 21): run_diagnostics.sanitize_diagnostic_metadata has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_diagnostics.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89009bdb7928e4350f5e20d9662af9cf2404ff1614423d7cae799a079179b0c"}},{"ruleId":"D2","level":"warning","message":{"text":"run_flow._append_provider_runs (cognitive 21): run_flow._append_provider_runs has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 4 (7 pts), boolean chains 4, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_flow.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9afeff924305fdb7acfaf089ab97c7697f2b66eb4a66dfc264b0d793eb24fbd"}},{"ruleId":"D2","level":"warning","message":{"text":"run_flow._append_llm_runs (cognitive 21): run_flow._append_llm_runs has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 3 (6 pts), boolean chains 5, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_flow.py"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df19f148cd813897957cd2a47f4ff426d76402144ca8ccdbe757bf947f6db2c"}},{"ruleId":"D2","level":"warning","message":{"text":"ScreeningService.hotspot_detail (cognitive 21): ScreeningService.hotspot_detail has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (15 pts), error handling 3 (4 pts), boolean chains 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e06a7fca7f75b3e237409936ce48317d47bd65dcb705ea902a2ecd95d75ad3e"}},{"ruleId":"D2","level":"warning","message":{"text":"DsaEastMoneyHotspotProvider.hotspot_rows (cognitive 21): DsaEastMoneyHotspotProvider.hotspot_rows has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (9 pts), ternaries 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":"src/services/screening_service.py"},"region":{"startLine":2252}}}],"partialFingerprints":{"codehealthFindingId/v1":"7032f35f6f4d625198ba0f0c4d36ec5b5b2083f5d7ffc0c7ed93c120180860cb"}},{"ruleId":"D2","level":"warning","message":{"text":"screening_service._build_hotspot_event_routes_from_search (cognitive 21): screening_service._build_hotspot_event_routes_from_search has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 6, ternaries 2, error handling 1, 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":"src/services/screening_service.py"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a60bde5a150a05000cb73abe7501655bbff0b94fa0a576722f417d50ecb17ca"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_daily_start_resolver.resolve_stock_daily_start (cognitive 21): stock_daily_start_resolver.resolve_stock_daily_start has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 4 (5 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_daily_start_resolver.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce40b01b9a1ad7adafb621f3eecf34fbf8aa75b01d1028d604248babc166b17a"}},{"ruleId":"D2","level":"warning","message":{"text":"StockProfileService._code_aliases (cognitive 21): StockProfileService._code_aliases has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 9, loops 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_profile_service.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32dc0be9cae55e21070f714db0ddd45b34fdf6de321f904acb60c71cce9ea64"}},{"ruleId":"D2","level":"warning","message":{"text":"share_image._stock_body (cognitive 21): share_image._stock_body has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 13, if/else 5 (6 pts), boolean chains 1, 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":"src/share_image.py"},"region":{"startLine":1817}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef98e38100f50cccf81fb9f015ef9cd0c3d5605e32ab797cd793c92a6074e7b"}},{"ruleId":"D2","level":"warning","message":{"text":"data_processing._normalize_sector_ranking_items (cognitive 21): data_processing._normalize_sector_ranking_items has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/data_processing.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"252a0d5f07e11964a828a1450313a59f6006c707ee056a1feeeaaaf59670655e"}},{"ruleId":"D2","level":"warning","message":{"text":"main.installDownloadedUpdate (cognitive 21): main.installDownloadedUpdate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 2 (6 pts), boolean chains 4, error handling 2 (3 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":"apps/dsa-desktop/main.js"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac9b457afe5c5f4b8e26419c0d28781aa832bb6c3fd6c57c9e51e4ff2d8178c"}},{"ruleId":"D2","level":"warning","message":{"text":"ReportMarkdownPanel.ReportMarkdownPanel (cognitive 21): ReportMarkdownPanel.ReportMarkdownPanel has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 5 (6 pts), boolean chains 4, error handling 3 (nesting depth added 4). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 59, 33, 44). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportMarkdownPanel.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c672db2760395089bf4a0fcaaab0cf53226f73dcf54c553e018680fd06222d3a"}},{"ruleId":"D2","level":"warning","message":{"text":"useRunFlowSnapshot.useRunFlowSnapshot (cognitive 21): useRunFlowSnapshot.useRunFlowSnapshot has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8, ternaries 6 (7 pts), boolean chains 6 (nesting depth added 1). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 484, 496, 456, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/useRunFlowSnapshot.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"758461a6f0779d4238a5b44799d716955e880f1c997b7e49dd84afa22d022488"}},{"ruleId":"D2","level":"warning","message":{"text":"AkshareFetcher._get_stock_realtime_quote_tencent (cognitive 20): AkshareFetcher._get_stock_realtime_quote_tencent has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 11, boolean chains 4, if/else 4, error handling 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"644a1c2c9ff388464ff43e315a51c9eaeda04a2eb5d8f9fab460ab656a1bb338"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager._get_cn_index_daily_data (cognitive 20): DataFetcherManager._get_cn_index_daily_data has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, error handling 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba910d51cab40887647970baef538b82c10aadf30be36e3f15077313bd4c48e"}},{"ruleId":"D2","level":"warning","message":{"text":"longbridge_fetcher._sanitize_longbridge_env (cognitive 20): longbridge_fetcher._sanitize_longbridge_env has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, loops 2 (3 pts), 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":"data_provider/longbridge_fetcher.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2c785ee03a956009bacc0cfc296313273f57124c6a0fd1d7809389762e10b0"}},{"ruleId":"D2","level":"warning","message":{"text":"PytdxFetcher._get_market_code (cognitive 20): PytdxFetcher._get_market_code has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 5 (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":"data_provider/pytdx_fetcher.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adb645fcd812e57cd46837ce8eb4bd67b440fe214a8bfe4f620ebe03cf9f11e"}},{"ruleId":"D2","level":"warning","message":{"text":"TickFlowFetcher._iter_batch_frames (cognitive 20): TickFlowFetcher._iter_batch_frames has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/tickflow_fetcher.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f4e66dc92d3d676f816afd75e40f2d99de88e318ba81a0485215a399940e72"}},{"ruleId":"D2","level":"warning","message":{"text":"metrics.compute_stock_scope_metrics (cognitive 20): metrics.compute_stock_scope_metrics has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, ternaries 2 (3 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"evals/agent_trajectory/metrics.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0166263b9d430f2c29c4b21c15b9931c62d5b2053ee1a5ef34c868ede59cf7"}},{"ruleId":"D2","level":"warning","message":{"text":"main._prime_daily_market_context (cognitive 20): main._prime_daily_market_context has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 3 (6 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":"main.py"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"868679304d88f65225f5fd6078aa5d0be225efde35b183566f3d365c8143fb26"}},{"ruleId":"D2","level":"warning","message":{"text":"main.start_bot_stream_clients (cognitive 20): main.start_bot_stream_clients has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), error handling 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.py"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f45e49e142e36927dd5d230b66c6c383ff90272cd42910ac098d837b7ca332"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMToolAdapter._parse_litellm_response (cognitive 20): LLMToolAdapter._parse_litellm_response has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 1 (4 pts), boolean chains 2, loops 1 (2 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/llm_adapter.py"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f81cac122dfb9b70d367b3ad0bc348ae95fe0bd08c184641072c22f84d47822"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_scope.extract_stock_codes (cognitive 20): stock_scope.extract_stock_codes has cognitive complexity 20 (threshold 15). Drivers by points: loops 4 (7 pts), if/else 4 (6 pts), error handling 1 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/stock_scope.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"085990eb9bdd590626b0d110fc132a92a65bfd2ed38231146f661eb4462310d8"}},{"ruleId":"D2","level":"warning","message":{"text":"execution._resolve_tool_stock_access (cognitive 20): execution._resolve_tool_stock_access has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 2 (4 pts), boolean chains 3 (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":"src/agent/tools/execution.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a670b557ad5fc3fc0e1929322a506a8e2120c73f1f46365120dc16f1e440d4"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiAnalyzer._resolve_configured_response_provider (cognitive 20): GeminiAnalyzer._resolve_configured_response_provider has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 8, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":3160}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d20a982b4312031cd456e27f1e5bdecc14dd40f9d13a1cecd033591e4014c8"}},{"ruleId":"D2","level":"warning","message":{"text":"BacktestEngine._evaluate_targets (cognitive 20): BacktestEngine._evaluate_targets has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5, ternaries 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/backtest_engine.py"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda5b7d2a63b8b5e1938d54b86a1e7e5970ffe2efd603a74129407df0195e306"}},{"ruleId":"D2","level":"warning","message":{"text":"trading_calendar.infer_market_phase (cognitive 20): trading_calendar.infer_market_phase has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 3, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/trading_calendar.py"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e79d634a086ee1349a90453fa74f6aa555da1b6fbcf02a96d656bb0c0d9048"}},{"ruleId":"D2","level":"warning","message":{"text":"local_cli_backend._find_diagnostic_flow_scalar_end (cognitive 20): local_cli_backend._find_diagnostic_flow_scalar_end has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e37d2947b300a2baaf230d77dc195fe5461dc85a8afb5988281e71daf502ab"}},{"ruleId":"D2","level":"warning","message":{"text":"MarketAnalyzer._resolve_configured_response_provider (cognitive 20): MarketAnalyzer._resolve_configured_response_provider has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 8, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_analyzer.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fceb9500af9fb07dcc7c7ce923810300dc7a0badeff79b5bacad08bcc85433"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchService._has_low_quality_news_page_signal (cognitive 20): SearchService._has_low_quality_news_page_signal has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 20. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":3030}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ac639abbb7ecb003d7d15b824c343e0665aece647a5b75f0f3f73daba32a85"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchService._filter_news_response (cognitive 20): SearchService._filter_news_response has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2, 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":"src/search_service.py"},"region":{"startLine":3687}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ccdcf14b24b5b384f9f3d79f2256e4b337fa581b4f9892e895eb865e435ede"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_model_service._build_legacy_deployments (cognitive 20): agent_model_service._build_legacy_deployments has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (4 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":"src/services/agent_model_service.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b3d2a00e523cc4566c755fdc84fbc958ceb7fc186e21e3c2d803ea46b6876c"}},{"ruleId":"D2","level":"warning","message":{"text":"decision_signal_extractor.build_decision_signal_payload_from_report (cognitive 20): decision_signal_extractor.build_decision_signal_payload_from_report has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 6 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_extractor.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafd9c7cf3f6788078fcce79922f19110650172ba1eb680fd8a346ea3c85e9ac"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionSignalService._normalize_payload (cognitive 20): DecisionSignalService._normalize_payload has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 7 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_service.py"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f7b044664cf73229bdf8aea72e42406b830493ece21c377cd9f68c742d07c4"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationBackendStatusService._litellm_route_error (cognitive 20): GenerationBackendStatusService._litellm_route_error has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, loops 2 (3 pts), ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9ac5ede2d90f99eb2d1787b70f3980664c2b58ed63bcc9f1da09a586c8b73d"}},{"ruleId":"D2","level":"warning","message":{"text":"image_stock_extractor._parse_codes_from_text (cognitive 20): image_stock_extractor._parse_codes_from_text has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (4 pts), boolean chains 2, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/image_stock_extractor.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe75379abde456a5f50be0618b389e7d17cacd5823097200382e6cad83db088"}},{"ruleId":"D2","level":"warning","message":{"text":"MarketHotspotService.get_hotspots (cognitive 20): MarketHotspotService.get_hotspots has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 9, error handling 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":"src/services/market_hotspot_service.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e2526967febe5b983eca0a5d8520a128e2f33003609e7020f3c6f9c02791b8"}},{"ruleId":"D2","level":"warning","message":{"text":"MarketStructureService._infer_stock_role (cognitive 20): MarketStructureService._infer_stock_role has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 4 (7 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/market_structure_service.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8f077cfc6d5bcc80dccda8b4bab14c848425871ba481c816c3e89112c0e666"}},{"ruleId":"D2","level":"warning","message":{"text":"context.summarize_candidate_identity (cognitive 20): context.summarize_candidate_identity has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, ternaries 2 (3 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/context.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5e29ad544fa1e087442117103fb7815ab1fb2d68eeb5a5f150fe468422f301"}},{"ruleId":"D2","level":"warning","message":{"text":"daily._compute_daily_quality (cognitive 20): daily._compute_daily_quality has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5162e576679658df002400b4d79c20b8fb8880a0aa23c6c2a2b056a504a5324"}},{"ruleId":"D2","level":"warning","message":{"text":"hotspot.load_hotspot_timeline (cognitive 20): hotspot.load_hotspot_timeline has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 8, 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":"src/services/screening/hotspot.py"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09b7e8a397f9f3e53d9bac1818c67dae91d7e1f52a0b1c5fed2b86d122a1f55"}},{"ruleId":"D2","level":"warning","message":{"text":"screening_service._resolve_screening_llm_models (cognitive 20): screening_service._resolve_screening_llm_models has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 7, loops 2, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":3207}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2c1930d78bad729646e759eb78e3f72589b90a752288f9f16cb39aa651342e"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_index_remote_service.validate_stock_index_payload (cognitive 20): stock_index_remote_service.validate_stock_index_payload has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3, 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":"src/services/stock_index_remote_service.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec24d79216268c5b39b0f1abc9f9f9415738e5e186a0e439137da3e29b82eff"}},{"ruleId":"D2","level":"warning","message":{"text":"main.configureElectronAutoUpdater (cognitive 20): main.configureElectronAutoUpdater has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, ternaries 4 (5 pts), if/else 3 (4 pts) (nesting depth added 2). Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 1726, 1744, 1758, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/main.js"},"region":{"startLine":1684}}}],"partialFingerprints":{"codehealthFindingId/v1":"257d4cd5edf9a57e7a74e79087813a0cc7cebec67273a1c982f699b606577fde"}},{"ruleId":"D2","level":"warning","message":{"text":"StockBar.StockBar (cognitive 20): StockBar.StockBar has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, ternaries 4 (6 pts), if/else 5, loops 1 (nesting depth added 2). Of this number, 10 points are the body\u0027s own statements and 10 belong to 5 function literals inside it that branch. 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":"apps/dsa-web/src/components/history/StockBar.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"355a68548790fec002a1412b6f9cdacb0d4b401bfe5e0a83c4ac0c39ea573631"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis._resolve_analysis_input (cognitive 19): analysis._resolve_analysis_input has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (17 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":"api/v1/endpoints/analysis.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6e6fc98983e14e6a49b372ffbba6a083551e6cefa4a254271a146d2214feb1"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis._handle_async_analysis_batch (cognitive 19): analysis._handle_async_analysis_batch has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 7, ternaries 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":"api/v1/endpoints/analysis.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cbdb9da135555b7a24ed7c2cf611b9b37c36637b04aaa15217e42899c4ff0f"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager._fetch_offshore_fundamental_bundle (cognitive 19): DataFetcherManager._fetch_offshore_fundamental_bundle has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, error handling 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":"data_provider/base.py"},"region":{"startLine":3777}}}],"partialFingerprints":{"codehealthFindingId/v1":"017901ef110ae4b7572348221165d11e9d753bb4836e47114a3804cb9a6213c8"}},{"ruleId":"D2","level":"warning","message":{"text":"disagreement._classify_conflict_type (cognitive 19): disagreement._classify_conflict_type has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/disagreement.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"71aa6ea9b73e769d05ffe503e0e851ce50a96e02222baa45280a5c54d130fd7b"}},{"ruleId":"D2","level":"warning","message":{"text":"EventMonitor.check_all (cognitive 19): EventMonitor.check_all has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 2 (6 pts), loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/events.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cd0ba9681bb9064b2dbf5adfa51a9a25bee57f3fd959d7e3d9c35395364c43"}},{"ruleId":"D2","level":"warning","message":{"text":"litellm_route_resolution.resolve_agent_litellm_route (cognitive 19): litellm_route_resolution.resolve_agent_litellm_route has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, ternaries 1 (2 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/litellm_route_resolution.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb84796ab159fb470e066c4c78fea02d5fb8841e31af0389a6f360cb4c0862ac"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentMemory.get_stock_history (cognitive 19): AgentMemory.get_stock_history has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 4, error handling 2 (4 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/memory.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b7402c44ff0bca1d0b01512d5fbf11dcfd3faed79c9278d1c38f438f090e1f"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOrchestrator._partition_skill_opinions (cognitive 19): AgentOrchestrator._partition_skill_opinions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (7 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":"src/agent/orchestrator.py"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbecfb5395bebc221774461f93e53d6c271578f545147207b4c59201af3cbf1"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillRouter._detect_regime (cognitive 19): SkillRouter._detect_regime has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, error handling 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/router.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4067635c0db98a1759be1abc0e6797fd7702afe3329791482cf437d159ce36ab"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis_tools._handle_calculate_ma (cognitive 19): analysis_tools._handle_calculate_ma has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 4 (6 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tools/analysis_tools.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"045975fe0393e478ffed6444f90997162e68eafefda404fc326485fc9342d3fd"}},{"ruleId":"D2","level":"warning","message":{"text":"execution._normalize_tool_stock_code (cognitive 19): execution._normalize_tool_stock_code has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, error handling 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tools/execution.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"e795669afc8d03c020eac2bb4170e4d28430ad67b306cb17573e359ca9f6d772"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis_context_pack_overview._sanitize_persisted_overview (cognitive 19): analysis_context_pack_overview._sanitize_persisted_overview has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (8 pts), loops 1, ternaries 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis_context_pack_overview.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb07ea32bf30f214cea660e6a0bad7d296b78c2eadbce382d510ea30b953fb7"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis_context_pack_prompt._block_lines (cognitive 19): analysis_context_pack_prompt._block_lines has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 3 (8 pts), boolean chains 1, 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":"src/analysis_context_pack_prompt.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"915d656110d030065768c12fe477fb27467ce898e83f86b576e1e108a844a7fb"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiAnalyzer._get_hermes_config_error (cognitive 19): GeminiAnalyzer._get_hermes_config_error has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (6 pts), error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 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":"src/analyzer.py"},"region":{"startLine":2959}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8279db029265ca7c3dac6a8801d185f276cba4d474b5a1cecbb1cecd5ebc42"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiAnalyzer.generate_text_with_metadata (cognitive 19): GeminiAnalyzer.generate_text_with_metadata has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, if/else 4 (7 pts), error handling 3, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":3965}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a91049c1739e25123628ac5422755a49a8e37fed0569558d503ce918398854"}},{"ruleId":"D2","level":"warning","message":{"text":"analyzer.get_stock_name_multi_source (cognitive 19): analyzer.get_stock_name_multi_source has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 2 (4 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":1671}}}],"partialFingerprints":{"codehealthFindingId/v1":"006e323e90bbd5ae4e67f4735e7d9c936df793973eb17040306b86719bcd1592"}},{"ruleId":"D2","level":"warning","message":{"text":"StockAnalysisPipeline._refresh_saved_diagnostic_snapshot (cognitive 19): StockAnalysisPipeline._refresh_saved_diagnostic_snapshot has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 5, error handling 2 (4 pts), loops 1, 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":"src/core/pipeline.py"},"region":{"startLine":2965}}}],"partialFingerprints":{"codehealthFindingId/v1":"8819a7c4bb17a1ae419f6b1f4194121d9bfa5451e82bbf3bb721cfc44f38e3da"}},{"ruleId":"D2","level":"warning","message":{"text":"formatters._flush_table_as_key_value_rows (cognitive 19): formatters._flush_table_as_key_value_rows has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (4 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/formatters.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba26e9d10fc0ce699e1736622ae4a0cb043e43663331edb246c4d37728c0fb77"}},{"ruleId":"D2","level":"warning","message":{"text":"usage._provider_usage_json_has_count_signal (cognitive 19): usage._provider_usage_json_has_count_signal has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (4 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":"src/llm/usage.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"86896ed85d26db7ad8d0755bcd2b070828cbd9ab02fd8db7d2db51d49e0b85f6"}},{"ruleId":"D2","level":"warning","message":{"text":"SerpAPISearchProvider._extract_rich_snippet_extensions (cognitive 19): SerpAPISearchProvider._extract_rich_snippet_extensions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b4767fb8b06076dd3369da29027b6443fbf13e3b58f102a8ba8f00c041892e"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchService._get_cached_or_wait_for_reservation (cognitive 19): SearchService._get_cached_or_wait_for_reservation has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, ternaries 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":2756}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a9ab3a5d10a7216a876cddb34ba0f33d015e1d754e45f34aac884fc6d0244b"}},{"ruleId":"D2","level":"warning","message":{"text":"AlertService._normalize_parameters (cognitive 19): AlertService._normalize_parameters has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), error handling 3 (6 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_service.py"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e6f39667da6c784a44d4bbe5274703c2491e4483a316d81d63859b4287e5bf"}},{"ruleId":"D2","level":"warning","message":{"text":"DailyMarketContextService._load_same_day_history (cognitive 19): DailyMarketContextService._load_same_day_history has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (4 pts), boolean chains 3, error handling 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":"src/services/daily_market_context.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"231c80adc3218139a3e317590610f65d2a9dc0033fb2055004bf9468fba9fa9f"}},{"ruleId":"D2","level":"warning","message":{"text":"daily_market_context._extract_full_market_report (cognitive 19): daily_market_context._extract_full_market_report has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/daily_market_context.py"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdec0808a5375aa6ebd73358b289c2b94b0139660a5fc4293aabea08f0fbd7ba"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionSignalOutcomeService.run_outcomes (cognitive 19): DecisionSignalOutcomeService.run_outcomes has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_outcome_service.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"45924d54424d022c6974a1f590bae92bb8b02fa6c283a46ccc15e70e1ea2a9ef"}},{"ruleId":"D2","level":"warning","message":{"text":"decision_signal_reassess_service._extract_guardrail_reason (cognitive 19): decision_signal_reassess_service._extract_guardrail_reason has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 pts), ternaries 3, boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_reassess_service.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b61a9a93353fb3acbde1af7c355afcd964e1414cc7616bffb9820264752f0b"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionSignalService._history_guardrail_reason (cognitive 19): DecisionSignalService._history_guardrail_reason has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 pts), ternaries 3, boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_service.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2239fba03ab6a7c6372e885e083a9ecf9cae4e88c922454ece6e250e004141"}},{"ruleId":"D2","level":"warning","message":{"text":"market_light_alerts.normalize_market_alert_parameters (cognitive 19): market_light_alerts.normalize_market_alert_parameters has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/market_light_alerts.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f8a09f5003c470ecd6bdbb17d98cdff682a2e3b471c0f1c79831ff549ddd6c"}},{"ruleId":"D2","level":"warning","message":{"text":"MarketStructureService._infer_primary_theme (cognitive 19): MarketStructureService._infer_primary_theme has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/market_structure_service.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3224a319e7e6ebf85cdf3806334420543dcfbde340c7e2cdfbe6bec069c572"}},{"ruleId":"D2","level":"warning","message":{"text":"dsa.extract_deep_analysis_summary (cognitive 19): dsa.extract_deep_analysis_summary has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/dsa.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade3b04630d4f757ec74bb9a7f12e62bc49f7710091493aad92166e1682f5dea"}},{"ruleId":"D2","level":"warning","message":{"text":"industry._normalize_cached_mapping (cognitive 19): industry._normalize_cached_mapping has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (5 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/industry.py"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e10ae89730e947b57283dca4eacf103ffaf9481c3129ca6e990d98b02787222"}},{"ruleId":"D2","level":"warning","message":{"text":"ranker._fit_candidate_prompt_lines (cognitive 19): ranker._fit_candidate_prompt_lines has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (6 pts), ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/ranker.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"444fc9b49310b993caf8a17f71900968a1e13b259ccf389b6cf8c890985bbbd3"}},{"ruleId":"D2","level":"warning","message":{"text":"screening_service._normalize_screening_hotspot_detail (cognitive 19): screening_service._normalize_screening_hotspot_detail has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, ternaries 7. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b6d31e1b978327f462ba9d31f02e25e569fe9a88a08c54176859ef50c74788"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService._validate_cross_field (cognitive 19): SystemConfigService._validate_cross_field has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 15, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":4603}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdea6283ae0985cca91d2ec7018fdb45a2a2274f3b7e231b8fc0ac93e5075b5"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService._has_legacy_key_for_provider (cognitive 19): SystemConfigService._has_legacy_key_for_provider has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 15, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":5135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1accd58ea2caa1c1bf7b5c9f9d71f4f7a0d0d2e4112c257767e1034cfc8702ec"}},{"ruleId":"D2","level":"warning","message":{"text":"storage.persist_llm_usage (cognitive 19): storage.persist_llm_usage has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, ternaries 4 (5 pts), if/else 3, loops 2 (3 pts), error handling 1 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage.py"},"region":{"startLine":4707}}}],"partialFingerprints":{"codehealthFindingId/v1":"852fbdb769caf5b2af5d557ca86b2e29339bcb48e510b44b7d03373cc0ec52c3"}},{"ruleId":"D2","level":"warning","message":{"text":"main.compareVersions (cognitive 19): main.compareVersions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 1 (3 pts), boolean chains 2, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/main.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb84365b8076fe8480f39bf0c128f58f31228cbab500cbe6c51f261e6976fdb"}},{"ruleId":"D2","level":"warning","message":{"text":"UiLanguageToggle.UiLanguageToggle (cognitive 19): UiLanguageToggle.UiLanguageToggle has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 11 (18 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":"apps/dsa-web/src/components/i18n/UiLanguageToggle.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03d067425886ccd1dad722fe08d4f2e240f1c558b06a0f708e30210a5ca3172"}},{"ruleId":"D2","level":"warning","message":{"text":"decisionAction.getDecisionActionTone (cognitive 19): decisionAction.getDecisionActionTone has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4 (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":"apps/dsa-web/src/utils/decisionAction.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"2274e11d14e03510faf4bc858bfdb86f130c19b0d5068299a4cf4a922a125243"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskPanel.TaskPanel (cognitive 19): TaskPanel.TaskPanel has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9 (13 pts), boolean chains 4, if/else 2 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/tasks/TaskPanel.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b131dd736ce9b7ebc12d580f4e7bb8ff5145d3b0325c127c9a32d2eca77de682"}},{"ruleId":"D2","level":"warning","message":{"text":"waitForHealth (cognitive 19): waitForHealth has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 2, error handling 1 (nesting depth added 1). None of this is in the body itself: all 19 points belong to 8 function items inside it that branch ((anonymous)::finish, (anonymous)::attempt, (anonymous)::emitProgress, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/main.js"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"3adf154786648b9a5ea3026bebca94076de8b2a874d4e5b21bfabcca50c290ef"}},{"ruleId":"D2","level":"warning","message":{"text":"AskCommand._extract_summary (cognitive 18): AskCommand._extract_summary has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 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":"bot/commands/ask.py"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bfa3bcc6a808fcccbc906e5a8707c340beffa364224457698973ff1fe99761"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager._get_cn_index_name (cognitive 18): DataFetcherManager._get_cn_index_name has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, error handling 1 (2 pts), 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":"data_provider/base.py"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29813a6610a863aa530caf11447c14cabf17a18c6220bb6308b11931883ea5c"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager._get_tickflow_fetcher (cognitive 18): DataFetcherManager._get_tickflow_fetcher has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), error handling 3 (6 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":"data_provider/base.py"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a896fbd4e9e842f3d12092c226939a360a8814361ca29ce35721b32c0959ce"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager.close (cognitive 18): DataFetcherManager.close has cognitive complexity 18 (threshold 15). Drivers by points: error handling 3 (8 pts), if/else 5 (7 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":"data_provider/base.py"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"45346f8eedd612cf9a9766900d390a601a4c1faaac41feb4301a21804c8d9d85"}},{"ruleId":"D2","level":"warning","message":{"text":"AkshareFundamentalAdapter.get_capital_flow (cognitive 18): AkshareFundamentalAdapter.get_capital_flow has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, ternaries 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/fundamental_adapter.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c33d70036c30695ae4a4012d7423fa447d7b14a54bda5f7cf40348ffc266cf"}},{"ruleId":"D2","level":"warning","message":{"text":"TickPlusFetcher._quote_from_row (cognitive 18): TickPlusFetcher._quote_from_row has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 5, ternaries 4, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/tickplus_fetcher.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe2a0cc36f2c42a4311a0980fd646ff52cad7c11ed11c4589246ef7ccbd0c5f"}},{"ruleId":"D2","level":"warning","message":{"text":"TushareFetcher._convert_stock_code (cognitive 18): TushareFetcher._convert_stock_code has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 3 (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":"data_provider/tushare_fetcher.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd16672b8fcc7eb60cb90834ef54b86ec4d0b5f6176fbf5e17e5bb78afd33ada"}},{"ruleId":"D2","level":"warning","message":{"text":"YfinanceFetcher._normalize_data (cognitive 18): YfinanceFetcher._normalize_data has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a4f154d8a11a964a57da8cafe7e13ba7d7324e1f9f46faa5c2fbd5dfebd9a2"}},{"ruleId":"D2","level":"warning","message":{"text":"YfinanceFetcher._get_us_stock_quote_from_stooq (cognitive 18): YfinanceFetcher._get_us_stock_quote_from_stooq has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7, boolean chains 4, ternaries 4, error handling 2, loops 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b8866d150b250c7d17800cfb8079a6d810ee0851e1c96509ee4c3533767621"}},{"ruleId":"D2","level":"warning","message":{"text":"factory._normalize_skill_ids (cognitive 18): factory._normalize_skill_ids has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 1, 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":"src/agent/factory.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb17be1398c80400607fc5eb3c95f2fef90699b6d91e11465765f91ef594ffe"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMToolAdapter._init_litellm (cognitive 18): LLMToolAdapter._init_litellm has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6, error handling 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":"src/agent/llm_adapter.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d9581042a0402c61363e9143cb4aa85a2bb0cb327b0140e706af336850a1f6"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOrchestrator._collect_strategy_synthesis (cognitive 18): AgentOrchestrator._collect_strategy_synthesis has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, ternaries 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/orchestrator.py"},"region":{"startLine":1708}}}],"partialFingerprints":{"codehealthFindingId/v1":"39578264ede09b91a1eabc66501d49a6ef72f8b935e089aa02cac8ffc8c41b70"}},{"ruleId":"D2","level":"warning","message":{"text":"risk_override.validate_risk_application_transition (cognitive 18): risk_override.validate_risk_application_transition has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, ternaries 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":"src/agent/risk_override.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50acca158d224591ac8f8cf47911e13157eabf86bf2596ad7c98a31f726e0a2"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.parse_dashboard_json (cognitive 18): runner.parse_dashboard_json has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/runner.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ca307093ef910cfde772fca42beeed6bdf62dd7a873502695d24ae0e49df7d"}},{"ruleId":"D2","level":"warning","message":{"text":"deliberation._parse_deliberation_json (cognitive 18): deliberation._parse_deliberation_json has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 1 (2 pts), loops 2, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/deliberation.py"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1820fd56adf04638cf4868a117d75ff26a8994fa4fd392cd9c3eb4c787ccba"}},{"ruleId":"D2","level":"warning","message":{"text":"StrategySynthesizer._group_opinions (cognitive 18): StrategySynthesizer._group_opinions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/synthesis.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"544e274f33a6faceb00d1624eea49490b9d24b77dd5ac53555c4bfc34860246d"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiAnalyzer._get_analysis_system_prompt (cognitive 18): GeminiAnalyzer._get_analysis_system_prompt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 3 (7 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":2683}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c39e6528b056bc8518d74d84d0b6bdd55eca147617795c17a6c9a3ebb022f8"}},{"ruleId":"D2","level":"warning","message":{"text":"config.resolve_unified_llm_temperature (cognitive 18): config.resolve_unified_llm_temperature has cognitive complexity 18 (threshold 15). Drivers by points: error handling 3 (8 pts), if/else 4 (6 pts), boolean chains 3, 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":"src/config.py"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"c893f408a3775dd6aae32866c8ece4403d944b9d188b9cd91eae077a8163259f"}},{"ruleId":"D2","level":"warning","message":{"text":"StockAnalysisPipeline.__init__ (cognitive 18): StockAnalysisPipeline.__init__ has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7, boolean chains 4, ternaries 4, error handling 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44ecb3cf5562570c94aa4a2232fb820d5dc800ebeceb3126f289f11c40c6860"}},{"ruleId":"D2","level":"warning","message":{"text":"local_cli_backend._extract_claude_code_json (cognitive 18): local_cli_backend._extract_claude_code_json has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 7, error handling 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":"src/llm/local_cli_backend.py"},"region":{"startLine":1783}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7ea40ea45d24b597adf1d974a087cc12de9684d6036e7f3b2827cea7a92f63"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationService._send_via_source_context (cognitive 18): NotificationService._send_via_source_context has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 3 (6 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cb64bb812dead28edc00088438d7ec5b18b9ca220f28aaaad8b68933856ea7"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomWebhookSender.send_to_custom (cognitive 18): CustomWebhookSender.send_to_custom has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 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":"src/notification_sender/custom_webhook_sender.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efc72efc24de556a1c8c87a43a9c224c16f6eac1f383117bf890708d8cacfbb"}},{"ruleId":"D2","level":"warning","message":{"text":"EmailSender.get_receivers_for_stocks (cognitive 18): EmailSender.get_receivers_for_stocks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (7 pts), boolean chains 1, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/email_sender.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c2b731ade1512b5e10b54760cae8dc24ace5d9eefecffa08e58f746b0386eb"}},{"ruleId":"D2","level":"warning","message":{"text":"TelegramSender._send_telegram_chunked (cognitive 18): TelegramSender._send_telegram_chunked has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/telegram_sender.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"427f6cfb0b843edd38ffe8f39e97eb560286efa08434385ad1166d351466c1fc"}},{"ruleId":"D2","level":"warning","message":{"text":"BacktestService._get_recent_evaluations_by_phase (cognitive 18): BacktestService._get_recent_evaluations_by_phase has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/backtest_service.py"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a845a7fbe0d8f59ef271818af4123d54867975581c897ecf6c154b88c63f5cc"}},{"ruleId":"D2","level":"warning","message":{"text":"image_stock_extractor._get_api_keys_for_model (cognitive 18): image_stock_extractor._get_api_keys_for_model has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/image_stock_extractor.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc6b4c00242e30101ff9978590707f90e539bc0f4f15f7e25d257791f549ac5"}},{"ruleId":"D2","level":"warning","message":{"text":"report_renderer.render (cognitive 18): report_renderer.render has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 3, loops 2 (3 pts), error handling 2 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/report_renderer.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8ba536ed23c41c09266e99a73e875816837fb7825b27d0331c913e3315243f"}},{"ruleId":"D2","level":"warning","message":{"text":"run_diagnostics.build_run_diagnostic_summary (cognitive 18): run_diagnostics.build_run_diagnostic_summary has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 8 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_diagnostics.py"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f209ac573d82ccfbee81dc153064b70379ac5e2e6b3f14f909886543961ce42"}},{"ruleId":"D2","level":"warning","message":{"text":"run_flow._append_context_blocks (cognitive 18): run_flow._append_context_blocks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 3 (6 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_flow.py"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad9c01a11a62d4eab2a91362e8b398e5be7393f70b08c4a909d923c48e43d81"}},{"ruleId":"D2","level":"warning","message":{"text":"run_flow._append_notification_runs (cognitive 18): run_flow._append_notification_runs has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 3 (5 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":"src/services/run_flow.py"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0cbe477320fb068dd7886288b1739289179b067f2da325538dc2915e5dac4b"}},{"ruleId":"D2","level":"warning","message":{"text":"config._parse_llm_channels_env (cognitive 18): config._parse_llm_channels_env has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/config.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"3035bf46956a6ca0ffe3c657e871e7c59eb53c8875470aa5ceef746064a53fde"}},{"ruleId":"D2","level":"warning","message":{"text":"daily._fetch_daily_tencent (cognitive 18): daily._fetch_daily_tencent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (6 pts), ternaries 4 (6 pts), boolean chains 4, loops 2 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2b21d8f063f9a65257c505027e44b95834ff0ef5610aec3e5fe0c3b531a041"}},{"ruleId":"D2","level":"warning","message":{"text":"hotspot.classify_hotspot_stage (cognitive 18): hotspot.classify_hotspot_stage has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 12, if/else 6. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/hotspot.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6635d0763dd415a1a9f5c8d7282994b4c89008bf65f111b8f4cca6d522d596c7"}},{"ruleId":"D2","level":"warning","message":{"text":"post_analysis._scorecard_delta (cognitive 18): post_analysis._scorecard_delta has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 6, ternaries 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":"src/services/screening/post_analysis.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bc5b94231edb560348e699085d1afdcf8e65d43f0fc185f760855c97fd5769"}},{"ruleId":"D2","level":"warning","message":{"text":"risk.assess_pick_risk (cognitive 18): risk.assess_pick_risk has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, boolean chains 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":"src/services/screening/risk.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a31ccdafa8cf5ab2e6e7d8456882f04f4acea7e29607724737eb870827dab1"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_index_remote_service.refresh_remote_stock_index_cache (cognitive 18): stock_index_remote_service.refresh_remote_stock_index_cache has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 3 (6 pts), 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":"src/services/stock_index_remote_service.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"50012b2e7ad661049dcf53eec342615938939bf41097d8e2f1bae1adf52025fb"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService._extract_llm_tool_call_names (cognitive 18): SystemConfigService._extract_llm_tool_call_names has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 4 (6 pts), boolean chains 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":"src/services/system_config_service.py"},"region":{"startLine":1990}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4a5fc8c262ebbb7fac079ee9e22389524e85631f46adb30870ccda5da2d5f3"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService._classify_llm_http_error (cognitive 18): SystemConfigService._classify_llm_http_error has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 8. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":4251}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad472508e1612cb9b387fa4cc6c8c9c6de5a2036bb02f7d344e854a84c7e55ff"}},{"ruleId":"D2","level":"warning","message":{"text":"data_processing._normalize_belong_boards (cognitive 18): data_processing._normalize_belong_boards has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (17 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":"src/utils/data_processing.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d918bf7466de4cf0ec8c554bbcd7f2dd10e435e26678716235fde34f69e713c7"}},{"ruleId":"D2","level":"warning","message":{"text":"data_processing._deep_merge_dicts (cognitive 18): data_processing._deep_merge_dicts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts), boolean chains 1, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/data_processing.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2f5bfb7139d1fdfa5b56e97d92fefb6c87677b4e0ddee62058f85b8f968d72"}},{"ruleId":"D2","level":"warning","message":{"text":"main.parseQuotedEnvValue (cognitive 18): main.parseQuotedEnvValue has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 1 (nesting depth added 12). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 732). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/main.js"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c92d6eafd117c7ec8443c3a0c6bf5351ddf4671e55657f12291d5978a157078"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryList.HistoryList (cognitive 18): HistoryList.HistoryList has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (5 pts), ternaries 3 (4 pts) (nesting depth added 2). Of this number, 10 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. 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":"apps/dsa-web/src/components/history/HistoryList.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbbed850f9a07e97fd7c0015d0ac0387eb39fd9e147db8c0f995aa879b69d19"}},{"ruleId":"D2","level":"warning","message":{"text":"RunFlowEventList.RunFlowEventList (cognitive 18): RunFlowEventList.RunFlowEventList has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (10 pts), boolean chains 6, if/else 1 (2 pts) (nesting depth added 4). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 105, 62, 84, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowEventList.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"795633c36ff84c08b2927c1be59451662a22c32aa7bcd19d586a72b8dd2062db"}},{"ruleId":"D2","level":"warning","message":{"text":"LoginPage.LoginPage (cognitive 18): LoginPage.LoginPage has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9 (11 pts), boolean chains 4, if/else 3 (nesting depth added 2). Of this number, 13 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/LoginPage.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb7efcd533f543ab6a7181f0a0dfaa13acd00631460908ffa5e23c7e62526bb"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenUsagePage.TokenUsagePage (cognitive 18): TokenUsagePage.TokenUsagePage has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (12 pts), if/else 3 (4 pts), boolean chains 1, error handling 1 (nesting depth added 5). Of this number, 9 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/TokenUsagePage.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"145339413a8e60cc75842399666d4dd52e0a2b50d9318455471c47d03df6141c"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager.get_chip_distribution (cognitive 17): DataFetcherManager.get_chip_distribution has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 1 (2 pts), loops 2, ternaries 1 (2 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":"data_provider/base.py"},"region":{"startLine":2957}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39610bb1ca993a46f639d72f439e497dcb795c9164476384960dd9092d660ed"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager.get_main_indices (cognitive 17): DataFetcherManager.get_main_indices has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 2 (5 pts), boolean chains 1, 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":"data_provider/base.py"},"region":{"startLine":3328}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a7ab6fb8902adf3cc9713249ccf6e1eb36d1a5bb0178c732006f43020f3c45"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager.get_concept_rankings (cognitive 17): DataFetcherManager.get_concept_rankings has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 4 (5 pts), error handling 2 (3 pts), loops 1, ternaries 1 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":4946}}}],"partialFingerprints":{"codehealthFindingId/v1":"5635f625e60b881a352812f39a65cbad54fe049df157607f08c52e31138c4ab4"}},{"ruleId":"D2","level":"warning","message":{"text":"MiaoxiangFetcher._table_rows (cognitive 17): MiaoxiangFetcher._table_rows has cognitive complexity 17 (threshold 15). Drivers by points: loops 5 (9 pts), boolean chains 3, ternaries 1 (3 pts), if/else 1 (2 pts) (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/miaoxiang_fetcher.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"01041def698ee87fd82ab5a5a0a346b41b91a814d072b50f3f267ac027031fc9"}},{"ruleId":"D2","level":"warning","message":{"text":"main._compute_trading_day_filter (cognitive 17): main._compute_trading_day_filter has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, 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":"main.py"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"673656f8f100187535980c00461ffa10ac200fb48d456ede654711e306b2864f"}},{"ruleId":"D2","level":"warning","message":{"text":"main.start_api_server (cognitive 17): main.start_api_server has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 2, boolean chains 1, 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":"main.py"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"094eff9f4e596a83b85d837c6158f3f124d015932a0f94ef4e29e3a92a5b328a"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentChatExecutor.execute_turn (cognitive 17): AgentChatExecutor.execute_turn has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/chat_executor.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3729076745fcef28ffc1a3c759fc99b2294622f51ecdf47ca3a01ae3c02d19"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillAggregator.calculate (cognitive 17): SkillAggregator.calculate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/aggregator.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e487de7d96e029c7b7aa10194da9f5718b69a659741217d5f380a3842524656a"}},{"ruleId":"D2","level":"warning","message":{"text":"web_intent_tokenizer._extract_markets_from_tokens (cognitive 17): web_intent_tokenizer._extract_markets_from_tokens has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_tokenizer.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"514861ef60138ef469e0f4e2a5e7fcba303202b38bc2c0152f2a2067d61ff293"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiAnalyzer._resolve_response_model_provider (cognitive 17): GeminiAnalyzer._resolve_response_model_provider has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":3194}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea654adadbe8937098b9da5da9cc77b905ff7fc2f45b9317d5fded25f6f623c"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiAnalyzer._consume_litellm_stream (cognitive 17): GeminiAnalyzer._consume_litellm_stream has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, error handling 1, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":3440}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dcb228a0127c1a25182754afec2bc1e1344a8b278069c19193a694fb1a765c"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiAnalyzer._call_litellm (cognitive 17): GeminiAnalyzer._call_litellm has cognitive complexity 17 (threshold 15). Drivers by points: error handling 5 (9 pts), if/else 4 (5 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":3518}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc42a7a0df4082f1671541aa7de72b5550f5d91e5273a4b47362e2bb28a6923"}},{"ruleId":"D2","level":"warning","message":{"text":"analyzer._capital_flow_bias_with_status (cognitive 17): analyzer._capital_flow_bias_with_status has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, ternaries 2, 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":"src/analyzer.py"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec60bca92cdaf44a2efec4f40ca926a0e81110fe95807fbd3fc9fed8e0162b15"}},{"ruleId":"D2","level":"warning","message":{"text":"BacktestEngine._classify_outcome (cognitive 17): BacktestEngine._classify_outcome 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":"src/core/backtest_engine.py"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d17d8050cdb0be2afbd907c34a7916bcd80a159f8d3219ac6a4fe8a93e5fc65"}},{"ruleId":"D2","level":"warning","message":{"text":"hermes.canonicalize_hermes_base_url (cognitive 17): hermes.canonicalize_hermes_base_url has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, boolean chains 7, error handling 1, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/hermes.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc247299cd908215543b2648e711d1c40b883f909d923979220e3be3d3f50ad6"}},{"ruleId":"D2","level":"warning","message":{"text":"local_cli_backend._consume_diagnostic_scalar (cognitive 17): local_cli_backend._consume_diagnostic_scalar has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 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":"src/llm/local_cli_backend.py"},"region":{"startLine":1486}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7a811a1de10800062761f8d69750ed89dd96941c953d78e6bdb3b0f224adf5"}},{"ruleId":"D2","level":"warning","message":{"text":"local_cli_backend._consume_shell_command_substitution (cognitive 17): local_cli_backend._consume_shell_command_substitution 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":"src/llm/local_cli_backend.py"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f341202d03a3817db7a3eb385abdb433828ffa2cdd166083a8d6b4c5be94a95"}},{"ruleId":"D2","level":"warning","message":{"text":"usage._sanitize_raw_usage (cognitive 17): usage._sanitize_raw_usage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/usage.py"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e3269848d764e66fabc08e426bac6944a2edede301adf55eb719116cb4086c"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomWebhookSender._send_custom_webhook_image (cognitive 17): CustomWebhookSender._send_custom_webhook_image has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 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":"src/notification_sender/custom_webhook_sender.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"038cf86ce3064796abcf4e9b27174eb369224cc03257925264d8fcf00a8a6922"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscordSender._post_discord_message (cognitive 17): DiscordSender._post_discord_message has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/discord_sender.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"33249339980f0aac92d2b426acfa99095323b836e3af3b9fed9b02e9dcc3bf01"}},{"ruleId":"D2","level":"warning","message":{"text":"AlertService._normalize_rule_payload (cognitive 17): AlertService._normalize_rule_payload has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 6, error handling 1 (2 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_service.py"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"220b4be80e62a0b5394572415844b7e97f0c7d39990fd489b6347a3a7df1ecf6"}},{"ruleId":"D2","level":"warning","message":{"text":"BacktestService._build_dynamic_summary (cognitive 17): BacktestService._build_dynamic_summary has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 1, ternaries 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":"src/services/backtest_service.py"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"19677e02eac43876ad888032f182a6b7e1be67bacb5f53ef601e7076adae1228"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationBackendStatusService.smoke_test (cognitive 17): GenerationBackendStatusService.smoke_test has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 2 (4 pts), ternaries 2 (4 pts), error handling 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":"src/services/generation_backend_status_service.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"633b47277648935ecb66a12ecf2c7103db8a87d7309ca6f75bf17d64edf2b5bc"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryService.get_history_list (cognitive 17): HistoryService.get_history_list has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 3 (5 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/history_service.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b88b7166d1f105836c6689886a242af1db97bc46f5324123e27af2b7a47e38"}},{"ruleId":"D2","level":"warning","message":{"text":"IntelligenceService._normalize_source_fields (cognitive 17): IntelligenceService._normalize_source_fields has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 6, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/intelligence_service.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"692f5916ea1f8c2fc892fe444c212ffe421f4315ad33323da8a95c5beb04e2de"}},{"ruleId":"D2","level":"warning","message":{"text":"portfolio_alerts._portfolio_holding_symbols (cognitive 17): portfolio_alerts._portfolio_holding_symbols has cognitive complexity 17 (threshold 15). Drivers by points: if/else 2 (6 pts), boolean chains 4, error handling 1 (3 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":"src/services/portfolio_alerts.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f19e17984206739b5516958cb38347c83f37fa49ba186eeab36356f9b2ddfc2"}},{"ruleId":"D2","level":"warning","message":{"text":"PortfolioRiskService._ensure_drawdown_snapshot_window (cognitive 17): PortfolioRiskService._ensure_drawdown_snapshot_window has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (6 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_risk_service.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1b283713035cf762053d3bccef9ead21e54692bcca621d1313042502d801e6"}},{"ruleId":"D2","level":"warning","message":{"text":"PortfolioService.record_trade (cognitive 17): PortfolioService.record_trade has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 11, if/else 5, error handling 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_service.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4635ea5fbe867badb06c2e6702a0007bb02c7c2ca8680d3ed3010732e73ed0"}},{"ruleId":"D2","level":"warning","message":{"text":"research_artifact_service._build_evidence (cognitive 17): research_artifact_service._build_evidence has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 4, ternaries 2 (4 pts), loops 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/research_artifact_service.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5903a0c1a09986d37beacb1915f08c818272ce1acaa9ec67e6e2f58646a96f4b"}},{"ruleId":"D2","level":"warning","message":{"text":"run_flow._normalize_history_diagnostics_for_record (cognitive 17): run_flow._normalize_history_diagnostics_for_record has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_flow.py"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"142711873252a94f5f969a3da6d37920cb9f82a04e9c508c2f479bb0ebdd8a00"}},{"ruleId":"D2","level":"warning","message":{"text":"context.summarize_event_profile (cognitive 17): context.summarize_event_profile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 1 (3 pts), loops 2 (3 pts), boolean chains 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":"src/services/screening/context.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40cd8909ce0e38a855788f3ee27b12e93547fa0bdae2151fee81180c2f9b44e"}},{"ruleId":"D2","level":"warning","message":{"text":"filter.validate_check_snapshot (cognitive 17): filter.validate_check_snapshot has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, error handling 1 (3 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/filter.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd135e77fd6c31df9602d3cfd146e44b8520897dc1013e089a5cf592fa090d2"}},{"ruleId":"D2","level":"warning","message":{"text":"hotspot.resolve_hotspot_topic (cognitive 17): hotspot.resolve_hotspot_topic has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 2 (4 pts), loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/hotspot.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6aff2ecbc2fafc3d5ee781a31fe14854e1a8903a500e17ee2ce6ad2c1b160e"}},{"ruleId":"D2","level":"warning","message":{"text":"pipeline._format_filter_waterfall (cognitive 17): pipeline._format_filter_waterfall has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/pipeline.py"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9dc0bb4edb8e7b1f9b8437d024f373683a3ab03bd41ea381c50748070886858"}},{"ruleId":"D2","level":"warning","message":{"text":"ranker._coerce_completion_content (cognitive 17): ranker._coerce_completion_content has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, 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":"src/services/screening/ranker.py"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"de768a29655477ef137af235a940c6944cb9a2694d85de1668cd3065307916ac"}},{"ruleId":"D2","level":"warning","message":{"text":"screening_service._summarize_screening_source_history (cognitive 17): screening_service._summarize_screening_source_history has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 4, 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":"src/services/screening_service.py"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57798157d386b5cecebc9ddc61b7d775ad1594269af31f9a1ddc57597c81b0b"}},{"ruleId":"D2","level":"warning","message":{"text":"screening_service._normalize_dsa_daily_history (cognitive 17): screening_service._normalize_dsa_daily_history has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 3, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":3370}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2b215a4c4cbabb8413ba06f3db2e698692569fbeb937d2594a6c8364a5d89e"}},{"ruleId":"D2","level":"warning","message":{"text":"share_image._market_segments (cognitive 17): share_image._market_segments has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efe9a2f7a2289ea5bd9da5565137d862e21c78ac00dc26197a5ffe2d27c57b4"}},{"ruleId":"D2","level":"warning","message":{"text":"share_image._parse_index_bullets (cognitive 17): share_image._parse_index_bullets has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (6 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"949c694fb5f218f7ee7f3ec6653b30019b0efc6c4600aa6d56164d49a760fc64"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabaseManager._backfill_decision_signal_profile_from_metadata (cognitive 17): DatabaseManager._backfill_decision_signal_profile_from_metadata has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage.py"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"88af9c4840674a8240854903648203676760213cb8b12815a647e3bb4befb80a"}},{"ruleId":"D2","level":"warning","message":{"text":"data_processing.normalize_signal_attribution_values (cognitive 17): data_processing.normalize_signal_attribution_values has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/data_processing.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a06298706e66b0f2b4f7dd1b1f8c32c2aae9d321647c9f76cf72cf1d9fde6f"}},{"ruleId":"D2","level":"warning","message":{"text":"Tooltip.Tooltip (cognitive 17): Tooltip.Tooltip has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, ternaries 5 (6 pts), boolean chains 4 (nesting depth added 1). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 35, 71, 85, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/Tooltip.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacd3558508585b1fe29e8bb54051681b7efb2c10a8492147670fe669cb7360d"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatPage.ChatPage::getCurrentStage (cognitive 17): ChatPage.ChatPage::getCurrentStage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 8. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (ChatPage.ChatPage) 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":"apps/dsa-web/src/pages/ChatPage.tsx"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fac7f51ec88109cb2ae4f2f96bd93c1a2d53452f07ea1192e73fc455ec4702"}},{"ruleId":"D2","level":"warning","message":{"text":"StockScreeningPage.formatScreenMessage (cognitive 17): StockScreeningPage.formatScreenMessage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 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":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2055646bfa3f13bc0c5b398d18eb3a4d102f5c67b2f03833966ade6d9dcf2d"}},{"ruleId":"D2","level":"warning","message":{"text":"ResearchCommand.execute (cognitive 16): ResearchCommand.execute has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 1, error handling 1, 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, 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":"bot/commands/research.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"93da7c6459f85fa1d6b1d761cdb40b2b0ef7ed8d09431c960f762a948e8b468c"}},{"ruleId":"D2","level":"warning","message":{"text":"AkshareFetcher.get_main_indices (cognitive 16): AkshareFetcher.get_main_indices has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/akshare_fetcher.py"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd28d67ba57b40997a0ddb60a52cacb2167ef89647f3f72e25ab91de705e94f"}},{"ruleId":"D2","level":"warning","message":{"text":"AkshareFetcher._normalize_limit_time_value (cognitive 16): AkshareFetcher._normalize_limit_time_value has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (6 pts), if/else 4 (5 pts), error handling 3 (4 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/akshare_fetcher.py"},"region":{"startLine":2431}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adeb79f58078573dc6fa432c697001383e527752f828f05ff623064ef7dad42"}},{"ruleId":"D2","level":"warning","message":{"text":"BaostockFetcher.get_stock_name (cognitive 16): BaostockFetcher.get_stock_name has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 1 (3 pts), boolean chains 2, loops 1 (2 pts), 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":"data_provider/baostock_fetcher.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"064b5a02ebed066bff9d12365f79b4aef7dfeb89c10bac71f8c67b723487538f"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFetcherManager._dividend_contract_has_values (cognitive 16): DataFetcherManager._dividend_contract_has_values has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":3631}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86fbba9a866acb11eb03cb69f05026fb9ba7375ac95205c4561ff6af6cb0b75"}},{"ruleId":"D2","level":"warning","message":{"text":"TickFlowFetcher._extract_universe_entries (cognitive 16): TickFlowFetcher._extract_universe_entries has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 4, ternaries 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/tickflow_fetcher.py"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"32941bf4654b0386263589d2056e8c4c6c057dc7420a906958ebc3117abdae90"}},{"ruleId":"D2","level":"warning","message":{"text":"ResearchAgent.research (cognitive 16): ResearchAgent.research has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), 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":"src/agent/research.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1c282ccd3913bad02b851aa4e68ed6cf2d6ac4534c059263e03232605e29b7"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillManager.get_skill_instructions (cognitive 16): SkillManager.get_skill_instructions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/base.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd5601b9dd43848169e396f43ff2e6b8b779df151f591b692448771462ddcdf"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis_context_pack_prompt._subject_lines (cognitive 16): analysis_context_pack_prompt._subject_lines has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis_context_pack_prompt.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac34a410cd69421abcf7cee04800d0732aa7d478b4e09d5da44ed866e74c4681"}},{"ruleId":"D2","level":"warning","message":{"text":"analyzer._has_structural_risk_alert (cognitive 16): analyzer._has_structural_risk_alert has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36921062d14407abbc491f8958d23d0684301d42d48d886b6a3186d288223f2"}},{"ruleId":"D2","level":"warning","message":{"text":"config.get_api_keys_for_model (cognitive 16): config.get_api_keys_for_model has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config.py"},"region":{"startLine":3890}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e076c9d3f304acb6ea577273cb27f4c4c476f186ed680361a6f85cb939394aa"}},{"ruleId":"D2","level":"warning","message":{"text":"BacktestEngine.evaluate_decision_signal (cognitive 16): BacktestEngine.evaluate_decision_signal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 3 (4 pts), boolean chains 1, loops 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":"src/core/backtest_engine.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ccf8a2f3d562335454d713b0eed242db62b4ea9e66701c0a20e601e7f4eba6"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigManager._read_config_map (cognitive 16): ConfigManager._read_config_map has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (3 pts), ternaries 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":"src/core/config_manager.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"203592d791e22897f4c537ef95e880807838022337b749d30d1a4032f3dfaee9"}},{"ruleId":"D2","level":"warning","message":{"text":"market_review._render_single_market_review_payload (cognitive 16): market_review._render_single_market_review_payload has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 5, ternaries 1 (2 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/market_review.py"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28c3745baddfc6fab88bc01e12d2df4bb35066b0dc292257f6916158b8d9397"}},{"ruleId":"D2","level":"warning","message":{"text":"StockAnalysisPipeline._attach_belong_boards_to_fundamental_context (cognitive 16): StockAnalysisPipeline._attach_belong_boards_to_fundamental_context has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, boolean chains 5, ternaries 3, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"4942f8f7e1e816899705bd499fbc0a157262e2967bc40c27e677fd7efd513e3d"}},{"ruleId":"D2","level":"warning","message":{"text":"StockAnalysisPipeline._is_agent_field_missing (cognitive 16): StockAnalysisPipeline._is_agent_field_missing has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":2399}}}],"partialFingerprints":{"codehealthFindingId/v1":"865fccf39bb75d471f35d4c43aeeb577b8053d13aa214273373f9ce26ed6e5c5"}},{"ruleId":"D2","level":"warning","message":{"text":"StockAnalysisPipeline._send_single_stock_notification (cognitive 16): StockAnalysisPipeline._send_single_stock_notification has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), error handling 2 (3 pts), ternaries 2, boolean chains 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":3628}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0a1c1c06ab8b5eeeaf6b08c94bbaefe15dd2d356eb6c3af8288bdc63f554f1"}},{"ruleId":"D2","level":"warning","message":{"text":"trading_calendar.build_market_phase_context (cognitive 16): trading_calendar.build_market_phase_context has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/trading_calendar.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60c6df029747ef0a5c554fa05a0120e8a566d30eeb89f2471045b578bf01eb2"}},{"ruleId":"D2","level":"warning","message":{"text":"trading_calendar.compute_effective_region (cognitive 16): trading_calendar.compute_effective_region has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/trading_calendar.py"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5aa0635d4475c03c0cb1132a23a55375c15322cac14d44b570e5e0773de36b1"}},{"ruleId":"D2","level":"warning","message":{"text":"local_cli_backend._iter_opencode_events (cognitive 16): local_cli_backend._iter_opencode_events has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (6 pts), loops 3 (6 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":1939}}}],"partialFingerprints":{"codehealthFindingId/v1":"7837e76295fc21041e3a43977ff4a3d4120b59658542e7b23da762f5afa778f9"}},{"ruleId":"D2","level":"warning","message":{"text":"MarketAnalyzer._split_report_sections (cognitive 16): MarketAnalyzer._split_report_sections has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (6 pts), if/else 4 (5 pts), boolean chains 4, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_analyzer.py"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"47834fca7deb36c3037cf01ee01b6f0b76d5eb23fc0a08a1117b9733f30f70e6"}},{"ruleId":"D2","level":"warning","message":{"text":"phase_decision_guardrail.apply_phase_decision_guardrails (cognitive 16): phase_decision_guardrail.apply_phase_decision_guardrails has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 4, ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/phase_decision_guardrail.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dfd24800bd3d1f41637024151fd19e778dd4854cf34388563d1bae8fffd2b8"}},{"ruleId":"D2","level":"warning","message":{"text":"BacktestRepository.align_existing_result_dates (cognitive 16): BacktestRepository.align_existing_result_dates has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/backtest_repo.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ff29803d6d918b8efd395878673d8e35496a94b853897ba69edd259cdb3839"}},{"ruleId":"D2","level":"warning","message":{"text":"BraveSearchProvider._do_search (cognitive 16): BraveSearchProvider._do_search has cognitive complexity 16 (threshold 15). Drivers by points: error handling 5 (7 pts), if/else 6 (7 pts), boolean chains 1, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":1647}}}],"partialFingerprints":{"codehealthFindingId/v1":"d216284ae0713b392d3b77cafaa9d0b9ddee28be22c38438597f3627624e5148"}},{"ruleId":"D2","level":"warning","message":{"text":"SearXNGSearchProvider._extract_public_instances (cognitive 16): SearXNGSearchProvider._extract_public_instances has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, 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":"src/search_service.py"},"region":{"startLine":1928}}}],"partialFingerprints":{"codehealthFindingId/v1":"609363a124645e09f3015b97b9f1e83ce753245f5ba8f61c6b6893bfcedfe712"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchService._filter_ranked_news_for_context (cognitive 16): SearchService._filter_ranked_news_for_context has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, 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":"src/search_service.py"},"region":{"startLine":3428}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24cf2f0b30fca6f500beb1706c172afc984e7e0799d2777bcf72a568e0b602d"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis_context_builder._build_daily_bars_block (cognitive 16): analysis_context_builder._build_daily_bars_block has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (6 pts), if/else 5, boolean chains 4, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/analysis_context_builder.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bc46fcbd42874dc5f7a33bb64c5cf48992f802429e39e08a90b9320460f927"}},{"ruleId":"D2","level":"warning","message":{"text":"etf_rotation_service.build_report (cognitive 16): etf_rotation_service.build_report has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 5, boolean chains 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":"src/services/etf_rotation_service.py"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57739d3b51635e679339a2976401648ddcd7f982320be5eff625ba02278deaf"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationBackendStatusService._infer_legacy_litellm_model (cognitive 16): GenerationBackendStatusService._infer_legacy_litellm_model has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, ternaries 3 (6 pts), if/else 4 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"86610386a6a30b088fed2489799e98754794856f6d1c7403c970f19829b81a3c"}},{"ruleId":"D2","level":"warning","message":{"text":"PortfolioImportService.register_parser (cognitive 16): PortfolioImportService.register_parser has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 5, loops 3 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_import_service.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d325754e6743d6a2f022dbdf9b51d2d5fe5439be427577fdf8532e4fae6b76d3"}},{"ruleId":"D2","level":"warning","message":{"text":"run_diagnostics._notification_component (cognitive 16): run_diagnostics._notification_component has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 4, ternaries 2 (3 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_diagnostics.py"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36b07c43bd70e311ca40634618b22bc84791f27708cb647f5b1c2cfcb237a47"}},{"ruleId":"D2","level":"warning","message":{"text":"context._allocate_section_budgets (cognitive 16): context._allocate_section_budgets has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/context.py"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae3f4006f99db74946e699601dc3872aed24c575d0587dad32d30a3653c620c"}},{"ruleId":"D2","level":"warning","message":{"text":"dsa_provider._build_dsa_summary (cognitive 16): dsa_provider._build_dsa_summary has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 4, boolean chains 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":"src/services/screening/dsa_provider.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9280b2ec2c48b8cacabe2d8e2ec7fcdcd85bf24e45b50e65342b9455cc5d0643"}},{"ruleId":"D2","level":"warning","message":{"text":"hotspot._resolve_topic_from_candidates (cognitive 16): hotspot._resolve_topic_from_candidates has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (6 pts), boolean chains 5, ternaries 4, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/hotspot.py"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa12ab9929bbd2569e0e7f310b952a5815399d80d5cb2c0e26796bcac620468"}},{"ruleId":"D2","level":"warning","message":{"text":"snapshot.fetch_snapshot_with_fallback (cognitive 16): snapshot.fetch_snapshot_with_fallback has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/snapshot.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e88dc3f617b9be3acdb4b49248cb7d7d587835a9de8e4bb93b9bab44b4e661"}},{"ruleId":"D2","level":"warning","message":{"text":"strategy.match_strategies (cognitive 16): strategy.match_strategies has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 6, 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":"src/services/screening/strategy.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61d0511e66d648ee55c43825f3314a12b3da2598abcb3639df0cf91f3844601"}},{"ruleId":"D2","level":"warning","message":{"text":"screening_service._match_screening_litellm_headers (cognitive 16): screening_service._match_screening_litellm_headers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 5, ternaries 1 (2 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":3172}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b2b619e49815d72e854c0861b0c08d515f76ba88e65cbb91b65c9977b04be7"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_code_utils._build_market_code_variants (cognitive 16): stock_code_utils._build_market_code_variants has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_code_utils.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9ffc10cf3db7a55bcee1cc151197d0437cded84971f4917e38641ca85a02e3"}},{"ruleId":"D2","level":"warning","message":{"text":"stock_list_parser._index_entry_from_row (cognitive 16): stock_list_parser._index_entry_from_row has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_list_parser.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97cfeace9593a9778d39be403b75897bb1bbdcde08ec43242bdd1cdc2a7e6a6"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService.update (cognitive 16): SystemConfigService.update has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), error handling 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":2059}}}],"partialFingerprints":{"codehealthFindingId/v1":"778c556657cd16dfc8db723603f8891a770cf87c0e2f257e590fd64694138f78"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigService._resolve_setup_primary_model (cognitive 16): SystemConfigService._resolve_setup_primary_model has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":3669}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea55c55b38b1c0721092664f9c8d315d67d5ef7876bf8af560a7d1c8bdf6337"}},{"ruleId":"D2","level":"warning","message":{"text":"share_image._stock_heading_entry (cognitive 16): share_image._stock_heading_entry has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"17db75af358dc7823b988929d0940db24c44ea05dd78821fa0be7ba90c3855bc"}},{"ruleId":"D2","level":"warning","message":{"text":"StockTrendAnalyzer._analyze_support_resistance (cognitive 16): StockTrendAnalyzer._analyze_support_resistance has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stock_analyzer.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcc97baa6296301d27326933d5d7340325c644a10fba6f4fa0595667d718b4a"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabaseManager._run_write_transaction (cognitive 16): DatabaseManager._run_write_transaction has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), error handling 2 (4 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage.py"},"region":{"startLine":2373}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb2416bfcd765779964e37cf57416a8878190bcc1eaf73da90dcaa3b1a82113"}},{"ruleId":"D2","level":"warning","message":{"text":"stockPoolStore.fetchMarketReviewHistory (cognitive 16): stockPoolStore.fetchMarketReviewHistory has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 3 (4 pts), boolean chains 1, 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":"apps/dsa-web/src/stores/stockPoolStore.ts"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fc7979a320caff28c82baa0d0cdc7abcb7350378df8e5e6239bc7553adc4a0"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticleBackground.ParticleBackground (cognitive 16): ParticleBackground.ParticleBackground has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 4). None of this is in the body itself: all 16 points belong to 5 function literals inside it that branch (lines 75, 49, 66, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/ParticleBackground.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce4f4b45d27db7fa46d9617e40265a372aeaf2d098039f40a611d0b8de01e6a"}},{"ruleId":"D2","level":"warning","message":{"text":"searchStocks.calculateMatchScore (cognitive 16): searchStocks.calculateMatchScore has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/searchStocks.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a23af3344018acc06acf60d4a08542c97d23f78d4208df692e07afd10fe588"}},{"ruleId":"D2","level":"warning","message":{"text":"StockAutocomplete.StockAutocompleteInner (cognitive 16): StockAutocomplete.StockAutocompleteInner has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 5, match/switch 1 (nesting depth added 1). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 6 function items inside it that branch (handleKeyDown, updateDropdownPosition, a function literal at line 156, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/StockAutocomplete/StockAutocomplete.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac5888da8468accecd6213b6aeb58cb2f48783ca23c3db6731ceba084493d84"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMChannelEditor.parseChannelsFromItems (cognitive 16): LLMChannelEditor.parseChannelsFromItems has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 15, ternaries 1. Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1484, 1492). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0c18227955ba779ce523b692f9ec509609c8677d168dc8e7ba86f575465779"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMChannelEditor.channelsToUpdateItems (cognitive 16): LLMChannelEditor.channelsToUpdateItems has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (8 pts), if/else 4 (6 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a4698e4a5225130ed2b9bb95ab206d6c649160965da881629fc337c28a4ed6"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionSignalProfileCalibration.DecisionSignalProfileCalibration (cognitive 16): DecisionSignalProfileCalibration.DecisionSignalProfileCalibration has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 10 (12 pts), boolean chains 3, if/else 1 (nesting depth added 2). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 6 function items inside it that branch (childLabel, a function literal at line 184, a function literal at line 117, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/decision-signals/DecisionSignalProfileCalibration.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fd4613cfb5c3afac2f1df317281657dab713e37e40852aaf13a0f8fc797833"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PortfolioPage.PortfolioPage: FunctionTooLong \u2014 PortfolioPage runs 1373 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1273 over it, 13.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"43dec863338e15e96e5cf2156e5130c7523dd80bdcbdf92b5271435faf64ac4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: HomePage.HomePage: FunctionTooLong \u2014 HomePage runs 1324 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1224 over it, 13.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/HomePage.tsx"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca81f04f4617e2216f0c5c0950be97e73869b210c130589ce23f4430549ff4e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatPage.ChatPage: FunctionTooLong \u2014 ChatPage runs 1210 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1110 over it, 12.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/ChatPage.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3a3484dcb76445fc6786f225fc448478f88dec5ad6be1ffba5d65aff12c102"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StockScreeningPage.StockScreeningPage: FunctionTooLong \u2014 StockScreeningPage runs 1141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1041 over it, 11.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5eac50f2c3aebe0af81eda70448752c540d2606def118dfb7bb6b15551062bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DecisionSignalsPage.DecisionSignalsPage: FunctionTooLong \u2014 DecisionSignalsPage runs 1091 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 991 over it, 10.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/DecisionSignalsPage.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad18393390670cc3db1925763534045766e391c3a3d595fbbadc03ac8c0be07"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/system_config_service.py: FileTooLong \u2014 4626 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4126 over it, 9.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e5f662bdc232e08f905877183c722b4295bc67b7d73845320e6d6cb559b575"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsPage.SettingsPage: FunctionTooLong \u2014 SettingsPage runs 905 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 805 over it, 9.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/SettingsPage.tsx"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"246078dba0353034497121a4d1c97c53e6699ea3aee2a12aaaeeda264ac5487e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/analyzer.py: FileTooLong \u2014 4169 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3669 over it, 8.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":"src/analyzer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"927bda79566f0c07988f297077e45c5be49f1883bfb59575fadff613af1bc509"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LLMChannelEditor.LLMChannelEditor: FunctionTooLong \u2014 LLMChannelEditor runs 804 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 704 over it, 8.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":1668}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc4eede2950d4d578740bd0c25e40dc895111e47966968e7d5c89850e16936c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/screening_service.py: FileTooLong \u2014 3631 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3131 over it, 7.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdcca537625abdf899f145033aed4e0917a8ab7ef610717bb2d5c0e1942f38c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/search_service.py: FileTooLong \u2014 3618 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3118 over it, 7.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd8828909ec75278e698c320bf9ebfe9fe04c401f8d9cc867f7b645707d8447"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data_provider/base.py: FileTooLong \u2014 3590 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3090 over it, 7.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd863805102fa768bc762223074fbf34ff44dc024c9848f1fad7c2f91fbc837"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/pipeline.py: FileTooLong \u2014 3413 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2913 over it, 6.83\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd05f1977101b9d124a957c5d1a979745022186bb5cafdbd7b38ceac700e85db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/storage.py: FileTooLong \u2014 3402 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2902 over it, 6.80\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b0e2b48599c020522b623cdf86094d21afadc626f9f50931ffeb23095f4964"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AlertRuleForm.AlertRuleForm: FunctionTooLong \u2014 AlertRuleForm runs 582 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 482 over it, 5.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/alerts/AlertRuleForm.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"900cd4fac37e0a0f84801b6e34734c8ae2a450d77b92a7007be43195b5af52fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/config.py: FileTooLong \u2014 2803 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2303 over it, 5.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85353d09bb357ceb83f11e0a30371ff0a4ddd9f606647588a7f317a19059023"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LLMChannelEditor.ChannelRow: FunctionTooLong \u2014 ChannelRow runs 462 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 362 over it, 4.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cc1ffa94fa45eef19d649745b32f637d7afdafdf7f1395cd4f9e3d4ee72d62"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/notification.py: FileTooLong \u2014 2233 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1733 over it, 4.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b93d7c5f5277a76e4c0d86c1a4fe334af64ab08782a59a0d49f9722ff0f51c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RunFlowGraph.RunFlowGraph: FunctionTooLong \u2014 RunFlowGraph runs 439 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 339 over it, 4.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aadf82c48daf6107dd711e89ca94a114b675e48b815d5b819fc6b4b1c6d187c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SystemConfigService: TooManyMethods \u2014 131 methods. The bar is 30 methods; this is 101 over it, 4.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0494f47672d51ea48b1d3e1c3a330b6e83fb5321f278248835dd5ec66d0e74d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/LLMChannelEditor.tsx: FileTooLong \u2014 2132 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1632 over it, 4.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4390bd118f65f71b5e39bd856149796fc7b12daabd8ee0f30052cf66c9d36e9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: llm/local_cli_backend.py: FileTooLong \u2014 2076 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1576 over it, 4.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"593eb658cad9ca63588d714989cc160fa8ed53bd08ce4f988e4e26e403a816de"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BacktestPage.BacktestPage: FunctionTooLong \u2014 BacktestPage runs 414 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 314 over it, 4.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/BacktestPage.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac1dd7f1fcedb444d33050b397934b0f2545554d49bc7a05b38207009a7dc3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/PortfolioPage.tsx: FileTooLong \u2014 1877 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: PortfolioPage (624-2210). The bar is 500 significant lines; this is 1377 over it, 3.75\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1224c92917a826415070a31ccbffd5f7246da78b33361419649dc8328e05f334"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/StockScreeningPage.tsx: FileTooLong \u2014 1737 significant lines (blank, comment-only and punctuation-only lines excluded), about 66% of them inside a single declaration: StockScreeningPage (841-2190). The bar is 500 significant lines; this is 1237 over it, 3.47\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb69a8ea0bba33045be9e3941c42c0b7774f248e3cccb77b9a4a190d846d73d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/orchestrator.py: FileTooLong \u2014 1724 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1224 over it, 3.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/orchestrator.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"481256d2b91147bfc22602715bc49516dfdf99392cdc55b661d9a5b1f9b3a842"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PortfolioPage: ClassTooLong \u2014 1373 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 973 over it, 3.43\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":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac64bd3fb28c1caec58970af9ee3da69dd16d598335537065be3167b37c19b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data_provider/akshare_fetcher.py: FileTooLong \u2014 1702 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1202 over it, 3.40\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/akshare_fetcher.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6795a41e89ce8625fc9bb401c554da28bc8a6fe1a7d7fef081404649755e3c5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: stockPoolStore.useStockPoolStore: FunctionTooLong \u2014 useStockPoolStore runs 339 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 239 over it, 3.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/stores/stockPoolStore.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"398823a57c06f7a19a97db4bdb582973a4fece87ae152df1ebc8fa60060f4ec1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/share_image.py: FileTooLong \u2014 1694 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1194 over it, 3.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":"src/share_image.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4149bc0bc7359abcc7deb349d6663e1de8ebece8170a328c4ca93c57f6fc11b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HomePage: ClassTooLong \u2014 1324 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 924 over it, 3.31\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":"apps/dsa-web/src/pages/HomePage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7cf44b8cf2d89807ad52aa00d2329b11cdd96493ed069466a788ef4351d73d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MarketReviewReportView.MarketReviewReportView: FunctionTooLong \u2014 MarketReviewReportView runs 331 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 231 over it, 3.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/MarketReviewReportView.tsx"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"2786cd88b858981760cf77774abb4ce59f5a7fbcb1846e83127a13bc718673f6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DatabaseManager: TooManyMethods \u2014 94 methods. The bar is 30 methods; this is 64 over it, 3.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage.py"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"26855d8c4f28bd0e61b66467c83a7cb485595e29151a55b4e927dff2abcb6855"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/market_analyzer.py: FileTooLong \u2014 1513 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1013 over it, 3.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_analyzer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4a077984b10a8e9d2b0036c38a481c436818f00b40116f8c3d29389114b33b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatPage: ClassTooLong \u2014 1210 significant lines (blank, comment-only and punctuation-only lines excluded), 6 methods. The bar is 400 significant lines; this is 810 over it, 3.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/ChatPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1bb4261352cea45ce1790b98ac9b4d53c4dcfcb1c36ae34956a55a6567e5e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/HomePage.tsx: FileTooLong \u2014 1512 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: HomePage (252-1916). The bar is 500 significant lines; this is 1012 over it, 3.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/HomePage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55f528a75bbc4756fede34f8de9e84fdf70e8277a2f74519babc15a44afe718"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/SettingsPage.tsx: FileTooLong \u2014 1492 significant lines (blank, comment-only and punctuation-only lines excluded), about 61% of them inside a single declaration: SettingsPage (688-1736). The bar is 500 significant lines; this is 992 over it, 2.98\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/SettingsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64f066e1aeaba6bcb55839eff470654c17c2f49c82df64b1cee7063d03d8fdd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screening/hotspot.py: FileTooLong \u2014 1481 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 981 over it, 2.96\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/hotspot.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab6e587e8b3be1138d6d5953319fb9ac6a11f3b76d3a217b51d7e74a07176f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dsa-desktop/main.js: FileTooLong \u2014 1480 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 980 over it, 2.96\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":"apps/dsa-desktop/main.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc0fc30dff6ff3b1e734640a5c0a5b06b44575ed2b108260d1d6e95b42771fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IntelligentImport.IntelligentImport: FunctionTooLong \u2014 IntelligentImport runs 295 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 195 over it, 2.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/IntelligentImport.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e2e8a8b1ef34253a085b2a868430833e15c4da37e76d35e4071ec6cb95a1cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: HomeStockWorkspace.HomeStockWorkspace: FunctionTooLong \u2014 HomeStockWorkspace runs 295 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 195 over it, 2.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/watchlist/HomeStockWorkspace.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"2178444e43dfde5cdd91b8a6bb86cbd95e62588366263a8bf953b7144e5582fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/portfolio_service.py: FileTooLong \u2014 1468 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 968 over it, 2.94\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e228a6011dfdc8cfba69cb8d4742f3cd701495b704502485117fe0f894169c3a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DataFetcherManager: TooManyMethods \u2014 88 methods. The bar is 30 methods; this is 58 over it, 2.93\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7edb6d31a9e3ec0c19fcb81d6e245383f4723efdb1a8ef5e2dede20e55e54a7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StockScreeningPage: ClassTooLong \u2014 1141 significant lines (blank, comment-only and punctuation-only lines excluded), 58 methods. The bar is 400 significant lines; this is 741 over it, 2.85\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":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a1256595e20e091bbe1597b1c204e63798525cad89987bdaa6a302d684616f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/DecisionSignalsPage.tsx: FileTooLong \u2014 1389 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: DecisionSignalsPage (388-1631). The bar is 500 significant lines; this is 889 over it, 2.78\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/DecisionSignalsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36a89a8db6671f86414e51cfe30670520926ee5c1a029f93dc73f2ebbdb3a3f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DecisionSignalsPage: ClassTooLong \u2014 1091 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 691 over it, 2.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/DecisionSignalsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b81454119fa489b15a1f2d895ee140ec75e4f1b992e0cc0eccdbb59fbd54bb1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/web_intent_resolver.py: FileTooLong \u2014 1330 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 830 over it, 2.66\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/web_intent_resolver.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6238cfbc3a94e6f3a49bc065c241400c27b7831c943eabfab7d8776930251e39"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useSystemConfig.useSystemConfig: FunctionTooLong \u2014 useSystemConfig runs 260 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 160 over it, 2.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/useSystemConfig.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"860e54db5ecc8531fd611e9d6d5f9a68a5b14414deb46bc2bf7d1a898387a0b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentChatStore.useAgentChatStore: FunctionTooLong \u2014 useAgentChatStore runs 259 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 159 over it, 2.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/stores/agentChatStore.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dca540eae686ccaccf1fc146ad3347f4a5043554b35e2800ab17fd4335793c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/ChatPage.tsx: FileTooLong \u2014 1279 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: ChatPage (83-1517). The bar is 500 significant lines; this is 779 over it, 2.56\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/ChatPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aec619379adbd6c16462af0353ab03e219a8b9a0f19363fee2e89a63f17cecd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/run_flow.py: FileTooLong \u2014 1266 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 766 over it, 2.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_flow.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb288f230b3da44e3b42129cb36c2f904858fb3a6fcbcee0f39c40fcfc245dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/run_diagnostics.py: FileTooLong \u2014 1222 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 722 over it, 2.44\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_diagnostics.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f81f9d59c9f05c66ea85f062848aea356403e9867174548c801ab6743421ecf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsPage.SchedulerSettingsCard: FunctionTooLong \u2014 SchedulerSettingsCard runs 236 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 136 over it, 2.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/SettingsPage.tsx"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"3072cafcb45102a1db509d2240ba742a3407a44ebf72b4a29819c0c2fd4a86b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/decision_signal_service.py: FileTooLong \u2014 1175 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 675 over it, 2.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef3474adf1161bc34851239e2a4e5554048a0bc4a5649accea1033ee8475ed5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RunFlowNodeDetails.RunFlowNodeDetails: FunctionTooLong \u2014 RunFlowNodeDetails runs 232 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 132 over it, 2.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowNodeDetails.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12b6053ec15ef1da58f2a2d3e33185a11cd4045a6b3b84101820637c9527734"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AlertsPage.AlertsPage: FunctionTooLong \u2014 AlertsPage runs 232 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 132 over it, 2.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/AlertsPage.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e975d5c3a8dff410741cdd9aed090f61b411a3ab7b9fa6122a880e09e6072955"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/alert_service.py: FileTooLong \u2014 1154 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 654 over it, 2.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6746853f0613fbb53d69cd2ef802a583184f7cdd3c8d32056ff9c4b889a0d109"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: endpoints/analysis.py: FileTooLong \u2014 1148 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 648 over it, 2.30\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":"api/v1/endpoints/analysis.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4be494140c9a85368f109bb00b1a2caa66729968929017a4c5bcf5dee4c32c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReportDiagnostics.ReportDiagnostics: FunctionTooLong \u2014 ReportDiagnostics runs 229 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 129 over it, 2.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportDiagnostics.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a931ebace0079c1d4a003d864a94bb1443495b5787fd50681323d35f6711779"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SettingsPage: ClassTooLong \u2014 905 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 505 over it, 2.26\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":"apps/dsa-web/src/pages/SettingsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"108240e37b4d40fb1d1c11e8d4e574a791078d9cc3b4d03acfa0e5d2415a7a33"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/history_service.py: FileTooLong \u2014 1119 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 619 over it, 2.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/history_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b8ae229bf0ed1b1a5f055b17e20494796cf0879d86e07c0838d5a4eb1233e8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NotificationService: TooManyMethods \u2014 67 methods. The bar is 30 methods; this is 37 over it, 2.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc76c30396d95b6c86e035864937d5b71a437a3ad123c52865e0301579b23b8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screening/daily.py: FileTooLong \u2014 1085 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 585 over it, 2.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5fd40b3ac668df96b190511eeaf2b3e4016cea7b4599fe43336dca2d183f34"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReportOverview.ReportOverview: FunctionTooLong \u2014 ReportOverview runs 217 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 117 over it, 2.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportOverview.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"25997cdfd74e1d029984493e70e24ac8114b24ef94d19d53298e2f1f817f6130"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LoginPage.LoginPage: FunctionTooLong \u2014 LoginPage runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/LoginPage.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b505d4dd3045961fc43e55e3626c21ba06a263c7f107554d1660833360e99799"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DecisionSignalService: TooManyMethods \u2014 64 methods. The bar is 30 methods; this is 34 over it, 2.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_service.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c383ef2fff6bed0e51e07bcd17d057f45d0c8851531501d1e5783da0156d451"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StockAnalysisPipeline: TooManyMethods \u2014 63 methods. The bar is 30 methods; this is 33 over it, 2.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"566b22310dbe80f0de70337be41aa5be30447ee0c99f7b85b0569231712da998"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/data_capability_service.py: FileTooLong \u2014 1037 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 537 over it, 2.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/data_capability_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"418bd631c0390c9def8ef1629ee34fcc8bce004bbcc4e0df00105e6a2775aa83"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MarketAnalyzer: TooManyMethods \u2014 62 methods. The bar is 30 methods; this is 32 over it, 2.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":"src/market_analyzer.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f347b8d9c5fc68adedaae6cebf37ffa845c2a2aec18e617e11c2560fb10844"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StockHistoryTrendDrawer.StockHistoryTrendDrawer: FunctionTooLong \u2014 StockHistoryTrendDrawer runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/history/StockHistoryTrendDrawer.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0ef3af45d4a2569ff6065df21209249f838f8101d17dce416215fd7cbfe909"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data_provider/tickflow_fetcher.py: FileTooLong \u2014 1024 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 524 over it, 2.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/tickflow_fetcher.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41104b69101fd7d7a108a97903fcf74c31e30d145669cb9eac419ad08faf4bd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LLMChannelEditor: ClassTooLong \u2014 804 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 400 significant lines; this is 404 over it, 2.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a1150bb720915b391502854c0ff3122f5560f69236984d6a32a4b6bf5859ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/backtest_service.py: FileTooLong \u2014 997 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 497 over it, 1.99\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/backtest_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3b5e8eed47727feee33277f6ed6bb7f43364210eddcf3a76dd2e534d67e8d3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GeminiAnalyzer: TooManyMethods \u2014 58 methods. The bar is 30 methods; this is 28 over it, 1.93\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":1942}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d3ffb367bb645590fcf8d8c629ffca2097a4e37f1f1329b6ed2223973cbb20"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repositories/portfolio_repo.py: FileTooLong \u2014 959 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 459 over it, 1.92\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/portfolio_repo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8229142eb2754310cbbfcc618bf0b3070647cb69df2514fdba993682d0ac5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: llm/usage.py: FileTooLong \u2014 956 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 456 over it, 1.91\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/usage.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eacc4f4a489d6983ec3aca73955912018bad477b3ec9783c1ef8b1c3934a78b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SearchService: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":2244}}}],"partialFingerprints":{"codehealthFindingId/v1":"15045fd117ee625df57f25308e7f6b40466196741740d9476fafa4f3eaf6269b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: error.parseApiError: FunctionTooLong \u2014 parseApiError runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/error.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0326a2fcb534e087ed93d9d636ab5ec385020c0dce70f22d36ee275e3a7bcfa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data_provider/efinance_fetcher.py: FileTooLong \u2014 878 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 378 over it, 1.76\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":"data_provider/efinance_fetcher.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3924d29e115776bcc8cfe8e7aa60f5f0786eea8d9f939afc15f47daabcfcf2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AnalysisContextSummary.AnalysisContextSummary: FunctionTooLong \u2014 AnalysisContextSummary runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/AnalysisContextSummary.tsx"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be6163e47c2cfd98d7bf3cf91e5159c6b978b1802d4b530cc992e791c292488"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TickFlowFetcher: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/tickflow_fetcher.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0aa12404b58b86e1646795bb41de6c52ca0a7ebe31c9798eb15c3b102c0c6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ScoreGauge.ScoreGauge: FunctionTooLong \u2014 ScoreGauge runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/ScoreGauge.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"423208f9fd4dbc971738ff25baaa674db1942ac6e820ad38d6710ead9db58c8c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/decision_signal_outcome_service.py: FileTooLong \u2014 852 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 352 over it, 1.70\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_outcome_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4a1bccde2298d0007422b0f94a81486bdefa8dad3e6b4c815111d3261cc302"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TokenUsagePage.TokenUsagePage: FunctionTooLong \u2014 TokenUsagePage runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/TokenUsagePage.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"513fd1800bbd4fa9f14b53e2652d86a81247cee08fd0d09bb31e9efdb6efdbf0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DecisionSignalProfileCalibration.DecisionSignalProfileCalibration: FunctionTooLong \u2014 DecisionSignalProfileCalibration runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/decision-signals/DecisionSignalProfileCalibration.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"396cd9799fdcfc3aaef6c037c520c7f41b75e31780a811aa3c1ee79d973ad989"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsHelpButton.SettingsHelpButton: FunctionTooLong \u2014 SettingsHelpButton runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/SettingsHelpButton.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e132214597b5d547daaf5623dabde4e55f117b54e43e1249623ef81117f2b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skills/deliberation.py: FileTooLong \u2014 834 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 334 over it, 1.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/deliberation.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66e7adeb07d5d84b460cddfbc7af32e0f51a74757ed64b32d82dfe6fb5673ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentChatStore.useAgentChatStore.startStream: FunctionTooLong \u2014 useAgentChatStore.startStream runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/stores/agentChatStore.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71c626451c5a2b465334a94eed632c19d7f19f4fdefb4bf7bccb4deddb9157d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PortfolioService: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_service.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b79fab5ed2f342c93d54475c2d69ebe14809f5c85e88e2b7904b0925f733ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AlertRuleList.AlertRuleList: FunctionTooLong \u2014 AlertRuleList runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/alerts/AlertRuleList.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde2cc9eb6179a09021d76d2c7fe4a389e27992ae7fbe44159b3dc891dcfe97f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stores/stockPoolStore.ts: FileTooLong \u2014 806 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 306 over it, 1.61\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":"apps/dsa-web/src/stores/stockPoolStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efa2088bfcba3e1f3f6167923e84bc049b1f600563ab12906d5fdc88a29095e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlertService: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_service.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a1ba2fcfe6251096fd2410b4427da9d58572317ba5cee183492df5605a91fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/daily_market_context.py: FileTooLong \u2014 791 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 291 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/daily_market_context.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4029a2a4764189255e98a51b2ac34def88a96e18a3d67b136eee9bbe1e83de7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screening/ranker.py: FileTooLong \u2014 788 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 288 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/ranker.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd456b201e3038f321ebd45789d79545eb97c1d24ef3437c7a43423bdebd8c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/generation_backend_status_service.py: FileTooLong \u2014 786 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 286 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9315d0f49c2847be4074613f3c53cf463b107f48cd77cea85037027239625a98"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screening/strategy.py: FileTooLong \u2014 786 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 286 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/strategy.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56db6b9feadf94172448995b621495ddb045ddc16f6f3b50f9131db667f5e2d0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgentOrchestrator: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/orchestrator.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73b4e373824165b46a4548132196f448682f6ae8ddff1be06d5960dd6b419b5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DsaEastMoneyHotspotProvider: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":2021}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c0e6ee41787443336c72668eaf49f870a4321b79585d5e1bb7b4e9c6298a3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data_provider/tushare_fetcher.py: FileTooLong \u2014 781 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 281 over it, 1.56\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/tushare_fetcher.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a83b0e373ce200f0f618b21032f033502122ef294ef779cfef2d89bfceedc27"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MarketReviewRegionSelector.MarketReviewRegionSelector: FunctionTooLong \u2014 MarketReviewRegionSelector runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/market-review/MarketReviewRegionSelector.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddddeff7aa6c8d0b6d545010036f6b67073e465c420a2f469f5b780b7a39d27"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PortfolioRepository: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/portfolio_repo.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b306dd6c021ef9351ed6241826b777b082eb4c63ab34610623269875134ae15"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/llm_adapter.py: FileTooLong \u2014 762 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 262 over it, 1.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/llm_adapter.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f249618acfa74b8ea8aa414e8cb8e67869a8ee6482b60dc32387e2ea8258e6cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/alert_worker.py: FileTooLong \u2014 762 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 262 over it, 1.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_worker.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7bf5e6dd0a1bbc98795ba41b54151518e067fdd0c188e6dba97af53313e63e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/market_review.py: FileTooLong \u2014 761 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 261 over it, 1.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/market_review.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d1904edd015750e9ac61b0f00df4f6f308346dda875adf3de0f47c26f2f2f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StockAutocomplete.StockAutocompleteInner: FunctionTooLong \u2014 StockAutocompleteInner runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/StockAutocomplete/StockAutocomplete.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9a6fb8878312f4a9f99d7ffd2894cb765fcd42e73da3f7b62bdc90ef064d39"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlertWorker: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_worker.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d4452ee6fb4ca516ef9d9d1118185336637a1baaba7e5fe4c33a566dd1a394"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DecisionSignalOutcomeService: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_outcome_service.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8900270649aa68980aca946aef0952abec560735307025a0c13851f03f093bcb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/report_language.py: FileTooLong \u2014 732 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 232 over it, 1.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/report_language.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cf11cf7af1b8aee0dd9054693d5432eec4255441bc40eb3b9648303ef72b18"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReportMarkdownPanel.ReportMarkdownPanel: FunctionTooLong \u2014 ReportMarkdownPanel runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportMarkdownPanel.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff6ee60dd76df688f8a85397264ff18ff2d03503d4e006de7180954aa619fa5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsPage.FirstRunSetupCard: FunctionTooLong \u2014 FirstRunSetupCard runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/SettingsPage.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"90232a7b0b47af760d5b89188e3e985b03f356866713ac166d29ce7e7fd355a1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AlertRuleForm: ClassTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 182 over it, 1.46\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":"apps/dsa-web/src/components/alerts/AlertRuleForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afe9e671d259708171a26bb3fbdf008820ba1e09e5b2dffeb97c80a653e2c88"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StockBar.StockBar: FunctionTooLong \u2014 StockBar runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/history/StockBar.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0486c808e6ca055c00f2f9aed9b923413f005be1c195e4cd16600e6571de5068"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/intelligence_service.py: FileTooLong \u2014 717 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 217 over it, 1.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/intelligence_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"004566b46ae5cc3d8aa308af16b1ed117d8101aecb736e9dc7393c7f9ee5ac5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: HistoryList.HistoryList: FunctionTooLong \u2014 HistoryList runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/history/HistoryList.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"403c9da9fa215048108d00b57f24fe6cf03654664d84f57a3b1ce9f5beab17c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RunFlowPanel.RunFlowPanel: FunctionTooLong \u2014 RunFlowPanel runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowPanel.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa98addd60174b2c5312e7225888b4a786cb73ac3eb3be16be0b04750214435"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: endpoints/history.py: FileTooLong \u2014 702 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 202 over it, 1.40\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/endpoints/history.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c210d881aa6db8b251bf45ee5ec8199fa92122da62f83e95766975f32c00dd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DataCapabilityService: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/data_capability_service.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fa93f153ee754b232c6f337e84e3136af0584b9011e091eff4b26410cfde52"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IntelligenceService: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/intelligence_service.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7737c4f4939ca6fefe8476016d5ee3a8ba74d42d66f68afd1611dd7a52d22013"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: llm/provider_cache.py: FileTooLong \u2014 700 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 200 over it, 1.40\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/provider_cache.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03efb66d25728ae99942bb22f8c0f142039dc1592b01aeb63452f0a51eac687c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DecisionSignalDisplay.DecisionSignalDetails: FunctionTooLong \u2014 DecisionSignalDetails runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/decision-signals/DecisionSignalDisplay.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"24526bfcb8dfb70e59e8df054f79dea9bf298e2bd7ec65a47680719d67e9da82"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DesktopUpdateIndicator.DesktopUpdateIndicator: FunctionTooLong \u2014 DesktopUpdateIndicator runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/layout/DesktopUpdateIndicator.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2286d0000f350d5c2f4151b09a282550a15cee3b158e5c5af56363f51ba6c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screening/industry.py: FileTooLong \u2014 692 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 192 over it, 1.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/industry.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b44bbba2cf43ac9c6637685bf0929c79b5220b01a9a8d2ae6f3c5e68a83713"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/task_queue.py: FileTooLong \u2014 684 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 184 over it, 1.37\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/task_queue.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5392f484213b774ba1ce0df6064943160c3e7cee8a5bdd45713ff1e7a638169"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HistoryService: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/history_service.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36e684df99bae7ecba08ec0cb622d6aa95c8244b0b3e8b8510f146e36618ac0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/runtime_scheduler.py: FileTooLong \u2014 681 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 181 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/runtime_scheduler.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdafc13b168bf3a4f8d97c34c9709eff7f0478aae6b9982d71997689728fd711"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Input.Input: FunctionTooLong \u2014 Input runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/Input.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"030b3ba75947e964053cf9c25298ba9fc92cd59ebf304b738e4a2b07b34791f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DataCenterPage.DataCenterPage: FunctionTooLong \u2014 DataCenterPage runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/DataCenterPage.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"30188020237245c8d0c1d39f2c0948a5c107f48881c40725035888cec77023de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: alerts/AlertRuleForm.tsx: FileTooLong \u2014 674 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: AlertRuleForm (127-787). The bar is 500 significant lines; this is 174 over it, 1.35\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/alerts/AlertRuleForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28edea6cdfeb3aaabbe491f8f84237e0921b78b81ae41c737fd6b7d974f3b8c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: run-flow/RunFlowGraph.tsx: FileTooLong \u2014 664 significant lines (blank, comment-only and punctuation-only lines excluded), about 66% of them inside a single declaration: RunFlowGraph (314-831). The bar is 500 significant lines; this is 164 over it, 1.33\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"945bd0675c0ccc922a3bb30315cf6b0362e05e4cc6b36ef4fa92605bf8fd040e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/formatters.py: FileTooLong \u2014 653 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 153 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/formatters.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c72b417d1f2b42e4a0b27191b86529f9c74069214cf35f6b48501f36ca08196"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data_provider/longbridge_fetcher.py: FileTooLong \u2014 651 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 151 over it, 1.30\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":"data_provider/longbridge_fetcher.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b873edaf4507e8b1e6cefce2c1265a041712683671d7c043f91ca99b279caa2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data_provider/yfinance_fetcher.py: FileTooLong \u2014 645 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 145 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/yfinance_fetcher.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98bad55d36a7a80a3c84286439ad13320a691b9b1c73a8a41f48540a0df93ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/backtest_engine.py: FileTooLong \u2014 643 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 143 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/backtest_engine.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27bfed6559cf8a53da5c6c29429daea531882b08d0da15335e049c878f25cdd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ShareImageButton.ShareImageButton: FunctionTooLong \u2014 ShareImageButton runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ShareImageButton.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d957697c40f8de6eb81f70d39788c2ee42eb241ce5925a7470a7bfcc8b896c0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsField.renderFieldControl: FunctionTooLong \u2014 renderFieldControl runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/SettingsField.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd54680dd03fcfdbdc08adafe167ffb39466ec08cfaa2d1d113c1a9146c23c08"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/analysis_context_builder.py: FileTooLong \u2014 620 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 120 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/analysis_context_builder.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c479bc9c6c85251a36051fe2b4309e0671c7e6425e3e476204843399c0f3a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StockBarItem.StockBarItemComponent: FunctionTooLong \u2014 StockBarItemComponent runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/history/StockBarItem.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2609d14954a3110e494a486badd89054f37522f164fdddfceb0ed809ca27da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/executor.py: FileTooLong \u2014 617 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 117 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/executor.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbc1acae83c7e5822e681287cf2f841ad6196ca74af68b27948ee153812e1a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screening/pipeline.py: FileTooLong \u2014 617 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 117 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/pipeline.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7921fd97699fcc82d9a211b695d1b57120be317b18f1dc0606beb30676084be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: watchlist/HomeStockWorkspace.tsx: FileTooLong \u2014 617 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 117 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/watchlist/HomeStockWorkspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"383a7704c9cc5a54bc4876f672ee2a1d43e24ad90b9c5027f039947a266bb995"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AkshareFetcher: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/akshare_fetcher.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f23e7dbebc6fad022b0dfbf4ee99827694efa42d967a370807437600839ae4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReportDetails.ReportDetails: FunctionTooLong \u2014 ReportDetails runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportDetails.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3207374ae8a8b3de5f71ef8d145013cd40ca7dc1dca2acaf972577bf1462adec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screening/snapshot.py: FileTooLong \u2014 612 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 112 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/snapshot.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ef95f9cfb9f7d2b702466de8b39b879bc33bae5c11dc2ee72061761f51cb3c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: report/MarketReviewReportView.tsx: FileTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 109 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/MarketReviewReportView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafda1d0690a452a78aac15da915455aa27b0e8d0d2141c61d052b1fa0cb025d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/BacktestPage.tsx: FileTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded), about 69% of them inside a single declaration: BacktestPage (246-726). The bar is 500 significant lines; this is 102 over it, 1.20\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/BacktestPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dddaa7069a3ea66e5247d337a535ffe0a9482cedc0a1b690e7b592a42326f09"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidebarNav.SidebarNav: FunctionTooLong \u2014 SidebarNav runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/layout/SidebarNav.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fda9b889f889797213002e617155d3bb78c6c153003dfe32957560bfec77bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/market_structure_service.py: FileTooLong \u2014 594 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 94 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/market_structure_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28383e410f354c7ace75b3ca8a3f06096e265521f70b3d31f61734ef01ca69b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: topologyViewModel.buildRunFlowTopologyModel: FunctionTooLong \u2014 buildRunFlowTopologyModel runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/topologyViewModel.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9ab6cc2250e99ce885d532446a7b248cd9d35f58bfaa3f45ec0ac0fab98810"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/runner.py: FileTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 86 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/runner.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff182140a0f032b05ae4d88a24abd583122b2efc7941254ef015d88ac5245bcb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/market_hotspot_service.py: FileTooLong \u2014 576 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 76 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/market_hotspot_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7dd03c948ce9ce81f427b0492b9a1a98e4f06700bfd6d2a7e71224901b42dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReportNews.ReportNews: FunctionTooLong \u2014 ReportNews runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportNews.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf0d188b8e397b4994ef17bf15bc4cfcda231149ed618daaa229ab6a78773a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskPanel.TaskItem: FunctionTooLong \u2014 TaskItem runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/tasks/TaskPanel.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8690c898d1cb109a9d0633865c3920084f6cca2d7027541ee71509448ed2191b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: endpoints/portfolio.py: FileTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 71 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/endpoints/portfolio.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bf292c00caf2ab855958081a4f25716c25ec6cad0abdba510ca1b75c5ff6a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GenerationBackendStatusPanel.GenerationBackendStatusPanel: FunctionTooLong \u2014 GenerationBackendStatusPanel runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/GenerationBackendStatusPanel.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"499789c5cd9bce8f82752b5c86ecd90bc68f25017cdd39503e21c82a4962eb6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screening/context.py: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 63 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/context.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6046948c86bd32fea69d14d46e8e6fc072ff42bfa269a9c7856f992400e8d3a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MarketStructureCard.MarketStructureCard: FunctionTooLong \u2014 MarketStructureCard runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/MarketStructureCard.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7c36d8cc72e519f67124760b2d00b5396e310a06a84ff10b59fc3bdc18507d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BacktestService: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/backtest_service.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"838758dc1833b2189ab5de14685aff0bf2dd62df0559f0d569bf29c9e3a4b026"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: endpoints/system_config.py: FileTooLong \u2014 550 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 50 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/endpoints/system_config.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f622f710a4006bf9bda2a4a701b2b8b2f08ba930e6591729156dde6215257e3a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RunFlowGraph: ClassTooLong \u2014 439 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 39 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea07edfff7bc99745e6b7f610d1d91a148050cd8615b2dcf83375a1070d2ea3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentBackendStatusPanel.AgentBackendStatusPanel: FunctionTooLong \u2014 AgentBackendStatusPanel runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/AgentBackendStatusPanel.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e8573911955f1689ac5f8186be961a3ade4a2cce7065ff5b86083437aa42c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/data_tools.py: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 37 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tools/data_tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04668250a930ecee65dd4e7a69204a6fdc2817d033fd2c5c90519e83cb53d0a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/ask.py: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 36 over it, 1.07\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":"bot/commands/ask.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b034b1a20eb49560ced2359bc971283167e06a510fd3e4e2aaaf878307dcbc0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskPanel.TaskPanel: FunctionTooLong \u2014 TaskPanel runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/tasks/TaskPanel.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c255cb81f267eea54a0a2f784d14424ce92876076082ab6471b120264902713"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/stock_analyzer.py: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 32 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stock_analyzer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0203611c95bf707f58f8a42653b89161a540b6e951eceb90b70ab4aa2688536"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BacktestPage: ClassTooLong \u2014 414 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 14 over it, 1.04\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":"apps/dsa-web/src/pages/BacktestPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ab5e680a52d1179eaed5f99c83bebc61ea8b43f0031b48593f3b02be4511ed"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MarketStructureService: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/market_structure_service.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1f70797af952fc6a0db19ce9102365dd3df4068ed5821200a62cfa2d9203e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChangePasswordCard.ChangePasswordCard: FunctionTooLong \u2014 ChangePasswordCard runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/ChangePasswordCard.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"76821f56ab0c37fa7904cb46b8fe9488dd20c60e980212ca278cbeefdce32019"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: decisionAction.getLegacyDecisionAction: FunctionTooLong \u2014 getLegacyDecisionAction runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/decisionAction.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60707e33bec41ade6b4c1b297d7921c00f686a8ef213804b11b4bc7ada62882"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/stock_index_loader.py: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 7 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/data/stock_index_loader.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd914833b21f165e2dd5a3fc0985e80078ddeb5964a1d5f03b00a6496c0f0390"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screening/candidate_context.py: FileTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1 over it, 1.00\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/candidate_context.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7facd209c6a488508d1e1f65459d131eff7fbb377ef25b7d8f08dfbe28305579"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (171 shared lines): src/notification.py:1260-1622 | src/services/history_service.py:1117-1469 \u2014 These two members are variants of one another: 171 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d5bae7fa97a77cef374dfae2b6870fa22d7fb08dfaabeb2a1ce79df39f2b1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (63 shared lines): data_provider/base.py:3967-4270 | data_provider/base.py:4315-4620 \u2014 These two members are variants of one another: 63 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":"data_provider/base.py"},"region":{"startLine":3967}}}],"partialFingerprints":{"codehealthFindingId/v1":"9801a728c9b74e1d8a55c52112c9f46cfbfd81f3b0f77bb7a6aa13919caf5f7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (55 shared lines): bot/dispatcher.py:458-539 | bot/dispatcher.py:542-602 \u2014 These two members are variants of one another: 55 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":"bot/dispatcher.py"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bb05fd22dbfc3d115c66bf078adff7d9429f1c0dec40a06ce7b1a6fb6d7292"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (52 shared lines): data_provider/akshare_fetcher.py:1118-1216 | data_provider/akshare_fetcher.py:1523-1619 \u2014 These two members are variants of one another: 52 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/akshare_fetcher.py"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e411d082b1fdc095eef06ef199b9380641ab624468a45aab66eac025b0206176"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (52 shared lines): data_provider/yfinance_fetcher.py:694-792 | data_provider/yfinance_fetcher.py:795-945 \u2014 These two members are variants of one another: 52 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/yfinance_fetcher.py"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc7cd511d73273df60925ebedfabea66dabd69d8f427c95d3aac56bc15b06d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (49 shared lines): data_provider/akshare_fetcher.py:1219-1367 | data_provider/akshare_fetcher.py:1370-1520 \u2014 These two members are variants of one another: 49 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"4336793cf367c7ddc6d5dd71faa2d9d2532c4000132a816027779a6e37e7977c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (44 shared lines): src/services/screening/filter.py:198-274 | src/services/screening/filter.py:283-374 \u2014 These two members are variants of one another: 44 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/filter.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"db965b2f0c230ff6ee53a69c5f7b8dc97682c86a633c51949dbfa1a772881878"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (39 shared lines): scripts/generate_index_from_csv.py:778-913 | src/data/stock_index_loader.py:598-700 \u2014 These two members are variants of one another: 39 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":"scripts/generate_index_from_csv.py"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"decdf1f25fec240dfcc3660f0c8df43605e4678cabbdfe941d1d3c201418d5ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/services/system_config_service.py:3552-3639 | src/services/system_config_service.py:4718-4904 | src/services/system_config_service.py:4908-4994 | src/services/system_config_service.py:4998-5036 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":3552}}}],"partialFingerprints":{"codehealthFindingId/v1":"21aa4772110f7c87101d31dd8db36323993eaaeadfb8e22f2e2b3e60aeb1af18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (92 corresponding lines): data_provider/efinance_fetcher.py:625-747 | data_provider/efinance_fetcher.py:831-922 \u2014 These two members are one piece of code written twice and then edited apart: 92 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"389dcc9ed27af3fcb7d6ec77229c2b91f6e760bf29f001cb885eda9b04a27597"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (80 corresponding lines): data_provider/efinance_fetcher.py:396-475 | data_provider/efinance_fetcher.py:478-569 \u2014 These two members are one piece of code written twice and then edited apart: 80 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2626c7be95b6e56a39cdbf9e0a4ef74e8f46fe19782a1b3c8187d83717ba32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (83 corresponding lines): src/formatters.py:619-701 | src/formatters.py:1020-1105 \u2014 These two members are one piece of code written twice and then edited apart: 83 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/formatters.py"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"588318520accbfd7e6fe57c5c7ccbde07178ed86d840c5dcaa2caa95e5c24121"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): bot/handler.py:58-136 | bot/handler.py:145-205 \u2014 These two members are one piece of code written twice and then edited apart: 61 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":"bot/handler.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c88623cf9fef39a16ade2534c56b7033c85f0d94f8dd00b9107c452e3bb793a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): data_provider/akshare_fetcher.py:767-825 | data_provider/akshare_fetcher.py:923-984 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/akshare_fetcher.py"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"55914b347f51145f8dfe7bfd2efa41eb72c3a597337236910133d6890e9dd78a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): src/notification_sender/email_sender.py:142-226 | src/notification_sender/email_sender.py:231-282 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/email_sender.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"08808f2cc01a92a1062cd8b52709b5440c7065003163b5332dfbcaeee849a9c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): src/services/alert_service.py:313-374 | src/services/alert_service.py:377-436 \u2014 These two members are one piece of code written twice and then edited apart: 60 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_service.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"b460eda7a192b657b31f873c429bd5caabab8640e7d4198c9aef6b48f6c3bde1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): src/repositories/portfolio_repo.py:580-614 | src/repositories/portfolio_repo.py:626-658 | src/repositories/portfolio_repo.py:671-705 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 33 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/portfolio_repo.py"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"382d219d1e7e63afa9c1a3eca680fbc21fbe89d076c20e45331900e33314a01f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): src/search_service.py:368-404 | src/search_service.py:518-557 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9980e816dabfb179b5e7d901db6267d842e8f1892ce3281a3ae960713168b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): src/share_image.py:465-510 | src/share_image.py:521-569 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96f4467fdbf2045417bcc857d630d3e6312dd3b76282333792cdb6b3e404c87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src/market_analyzer.py:1314-1334 | src/market_analyzer.py:1337-1357 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_analyzer.py"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea9b5761a9e057f1658ef3f5f353f9547084db5a01ed66f2073ce8239f1e609"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): src/agent/runner.py:176-240 | src/agent/skills/deliberation.py:972-1005 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/runner.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b5d8eaffce9791815a93d070868f30267917202e1f89d6fe6066e187b4b5d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): src/agent/skills/deliberation.py:376-420 | src/agent/skills/deliberation.py:834-880 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/deliberation.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4cdcf89905da3016ca1330730e83593efab0b7bacc028c48c302f3822a2b7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src/services/alert_indicators.py:241-262 | src/services/alert_indicators.py:328-355 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_indicators.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f87dada1a1dea34d589b5388b9fe67e3fcb26e1cf750af620e9a54326d0eab8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): data_provider/akshare_fetcher.py:2246-2280 | data_provider/efinance_fetcher.py:1152-1188 \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":"data_provider/akshare_fetcher.py"},"region":{"startLine":2246}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4f3d54efa83ef3270ca6430c06935e02984ba4c1e8334e5eec5306649a3d00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): src/agent/orchestrator.py:237-269 | src/agent/orchestrator.py:285-316 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/orchestrator.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0bea36f0b7dad19887b4f9166955980f0300a5f3895f0dbf76c12ec63e177b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): src/agent/research.py:315-355 | src/agent/research.py:439-481 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/research.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb53405354729ceced7de1d7baa7fc1f49b83a78f2cf2cc03d1e08c82249755"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): src/repositories/alert_repo.py:74-102 | src/repositories/alert_repo.py:307-330 | src/repositories/decision_signal_outcome_repo.py:149-177 | src/repositories/intelligence_repo.py:62-85 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/alert_repo.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4440bce6a1c0bffb4c4e90bfc113b858fdee2b7d8ec778169bc5f22122ad937c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): bot/dispatcher.py:294-320 | bot/dispatcher.py:323-361 \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":"bot/dispatcher.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b457bffe727a84d5aa0c589a9190661d557319b5a1a187150969641c2c3a19c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): src/analyzer.py:3344-3381 | src/services/screening/ranker.py:688-718 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":3344}}}],"partialFingerprints":{"codehealthFindingId/v1":"40754ed6e16498e6506a30ec8496e186ad1fc873c72d4b943fd3f8ffa80132f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): data_provider/akshare_fetcher.py:672-718 | data_provider/akshare_fetcher.py:721-764 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/akshare_fetcher.py"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd4a6954e781975f516a171fd6777595d0b339d6f559a198e12e2428d57882a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): src/auth.py:247-279 | src/auth.py:290-329 | src/auth.py:425-459 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 33 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/auth.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"1407f3ce11785ae9c872f501067bbd471950d9da6a7ba73f8928e1e6cd63ddbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): src/services/decision_signal_service.py:715-746 | src/services/decision_signal_service.py:959-984 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_service.py"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"0457a236791e8afd8f663f019401b4d6661d5b02cd0636fcd0f4c79247e41f8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/llm/hermes.py:127-149 | src/services/system_config_service.py:4189-4212 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/hermes.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5b329079eb7dc4f839726a7d55d8275f09d49a08d2a8ac2c4535647984d1f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/llm/local_cli_backend.py:1748-1764 | src/utils/sanitize.py:167-187 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de45a142af796da056333aa7b230d2d71a3a9fd4f6ec89e4a35de8d72fc8f1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): src/services/portfolio_service.py:352-384 | src/services/portfolio_service.py:396-421 | src/services/portfolio_service.py:434-466 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_service.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"759b05780d4c2f8588f9c97822cf4a722aa49a60497ca73c42fd55429acdc8a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/core/backtest_engine.py:114-132 | src/core/backtest_engine.py:136-155 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/backtest_engine.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a7390304d31a3a5181428008a184c47ec9bd635c3e8b27eef5b33e36d44a54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): src/config.py:253-287 | src/config.py:298-332 \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":"src/config.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9494a74167b4f1902f1d12688196c64a30adf46883aaf8583b1a1e3dbc5ed4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): src/notification_sender/gotify_sender.py:21-44 | src/notification_sender/ntfy_sender.py:21-48 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/gotify_sender.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda92eeb928edca780d07d72828b464ba81d2a732723240547420eb64833acc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src/repositories/decision_signal_outcome_repo.py:111-136 | src/repositories/decision_signal_outcome_repo.py:245-266 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/decision_signal_outcome_repo.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c0e209b369cfb81393b01d861a9ed11fd2498d8f263970bf917eb0994031eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): api/v1/endpoints/stocks.py:361-376 | api/v1/endpoints/stocks.py:394-411 \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":"api/v1/endpoints/stocks.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"593524b6e51cd1819f2475887f38ecee6e007e5c96b88bc164ffbd1f3822b313"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): src/storage.py:1604-1637 | src/storage.py:1785-1846 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage.py"},"region":{"startLine":1604}}}],"partialFingerprints":{"codehealthFindingId/v1":"44030be159f4a7ab543d3f798867996d08c2ace6ca0e77c7bcb8a5472469e7af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): data_provider/alphavantage_fetcher.py:96-114 | data_provider/finnhub_fetcher.py:81-97 \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":"data_provider/alphavantage_fetcher.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87fade89118d012a9099b790ce9160c25647c3d131b442fd794e01be94a78cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/services/screening/context.py:340-358 | src/services/screening/context.py:365-375 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/context.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"de097e3ab48343cd2921ae0a5ed13da36d537f23a6ba9c5101cd6f0bae6c9991"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): data_provider/base.py:4998-5013 | data_provider/base.py:5020-5035 \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":"data_provider/base.py"},"region":{"startLine":4998}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7751c215006805ba123e1374412085d01579b9f3bad232980205dc866423175"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/services/screening/candidate_context.py:430-441 | src/services/screening/normalize.py:33-55 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/candidate_context.py"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed8a05ddfef3658620ef22a903985cd819ec5c98ee69bde9023c7eb47110ebe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): api/v1/endpoints/system_config.py:580-611 | api/v1/endpoints/system_config.py:672-700 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"api/v1/endpoints/system_config.py"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"f316721090b911fc1fbf8518966c2e0311cd9fd6b0579675292f03150e573d03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/notification.py:2185-2203 | src/notification.py:2397-2416 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":2185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5ab1c50ee6aff1636c5c22ee9b0eca5cef5c15df33851a07f2ff32a455faf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/repositories/backtest_repo.py:279-297 | src/repositories/backtest_repo.py:338-356 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/backtest_repo.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d6f4bcf6899e1e51dd48ab892416e011ad436d68064d72cbc78f9bca7696c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src/market_phase_prompt.py:139-160 | src/market_phase_prompt.py:164-188 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_phase_prompt.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"780a169718b3abac53c9198429ced89cf48b5f0de079161e7d8a3bf1e816fcb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/agent/tools/data_tools.py:122-141 | src/services/history_loader.py:68-87 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tools/data_tools.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6339665f388c0e4479f20b279f70a51c8e20e9ac1280f7f1b97f3e11f925317f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/services/portfolio_service.py:1264-1277 | src/services/portfolio_service.py:1281-1300 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_service.py"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce215dfc3c8ed4d78e3ff0f90dbd97b12c123ab8c89df20640e6f8dc087411b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): data_provider/base.py:920-940 | data_provider/base.py:1385-1405 \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":"data_provider/base.py"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c83465e78d2f5d33f07ef7fbe554fbb6a15e83629658acb843d7babf7414992"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): data_provider/fundamental_adapter.py:148-165 | data_provider/fundamental_adapter.py:285-305 \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":"data_provider/fundamental_adapter.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b21824358ce7b0ed89aa6d20bd5f74f0f973c649ac57c3d2371095bb2278b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/services/system_config_service.py:3399-3410 | src/services/system_config_service.py:3413-3426 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":3399}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40b5b05f2a00a7eeeb36ee984c7e948a05896511869b9cb5237696181987c63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): api/v1/endpoints/system_config.py:282-317 | api/v1/endpoints/system_config.py:380-415 | api/v1/endpoints/system_config.py:628-655 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/endpoints/system_config.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"8598424d46ae9c9340d96c0b993b664ec746e93c421c3bacb5f28751c20000e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/agent/web_intent_tokenizer.py:366-378 | src/agent/web_intent_tokenizer.py:518-535 \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":"src/agent/web_intent_tokenizer.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"df341a751f502296cf18d8a6d425de2f19fded8b49820d4f487a3d8092b9a4bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src/formatters.py:595-615 | src/formatters.py:978-1011 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/formatters.py"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80ca6ccda0a9005120894a527eb7a4610eb58732730ef8fcfb49c7c064782b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/llm/usage.py:1027-1044 | src/storage.py:4779-4794 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/usage.py"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"630cde7a2be85283896f32e20d107edee1ba8d5ed6a57352e84b15c3d8a8fb56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/llm/local_cli_backend.py:923-938 | src/llm/local_cli_backend.py:1517-1539 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a8c170ceb521926cbf416adfde9b64504805bdc1914a6630dcff183e2c4d0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/services/screening/hotspot.py:862-889 | src/services/screening/industry.py:584-598 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/hotspot.py"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"e309beba7e360e4468f43febdb22064162a904dc1f8f7ec8beed5a5a2c0ccf10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): api/v1/endpoints/portfolio.py:260-276 | api/v1/endpoints/portfolio.py:338-357 \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":"api/v1/endpoints/portfolio.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c35d862c54526f3601de7d0f2aefa10c5d15a642d35a85f839b4d9deaff078c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): src/notification_sender/slack_sender.py:107-135 | src/notification_sender/slack_sender.py:138-171 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/slack_sender.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5bb043649fe63c788bc1fd1bada0018f14ebd3ee6f47106b739f5f6e6bc645"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/services/run_diagnostics.py:365-380 | src/services/run_diagnostics.py:435-453 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_diagnostics.py"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bb590b03a442c2d7bae202ea4ec44e099f07b1439a3f63af707838a8bb1b99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/services/decision_signal_outcome_service.py:893-911 | src/services/decision_signal_outcome_service.py:983-996 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_outcome_service.py"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7cef44746bc2ddcb32acdba0af7db4e6c6be7306b2dff07f46d4a82e52ae06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/services/run_diagnostics.py:587-599 | src/services/run_flow.py:1458-1471 \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":"src/services/run_diagnostics.py"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"352590a77d4fb4357d8b7b00cd3aa9b875b825f651bf95fc15236eaec1235282"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/repositories/decision_signal_repo.py:229-244 | src/repositories/decision_signal_repo.py:255-273 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/decision_signal_repo.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1935da852e7f22c6f2d212ab5df814f346217898cf234f118f8516a2e53868b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): data_provider/akshare_fetcher.py:131-159 | data_provider/base.py:168-185 | data_provider/longbridge_fetcher.py:364-380 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/akshare_fetcher.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0231aa20eb0e7964af14398004a211d640f5f6d7405727a1c2d1a616942bc0b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): bot/platforms/feishu_stream.py:204-238 | bot/platforms/feishu_stream.py:242-272 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bot/platforms/feishu_stream.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"6375e62b3a515df87e69dfb497b18aefde9aa0f43165a8dafd31c4cf231d5dd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): data_provider/fundamental_adapter.py:49-63 | src/notification.py:95-111 \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":"data_provider/fundamental_adapter.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e131a1069efd9b1061135b6345bcaf55239939be2c9137071526d57f517e857f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/services/screening/daily.py:448-467 | src/services/screening/snapshot.py:222-243 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"068557abf79bc92e48827f19b5b9a342354dffe46b40cc04ad8cfaf79e0cc6b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/utils/sanitize.py:78-87 | src/utils/sanitize.py:110-120 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/sanitize.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"336487ba7a6a1639f9e4353a224fb55359c714c5383b759b68b1049fdf42e385"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/repositories/backtest_repo.py:309-325 | src/repositories/backtest_repo.py:480-497 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/backtest_repo.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01932f2597a7823b0011613eed39faf73267d20140ebae14f7152649b6f477e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/analysis_context_pack_overview.py:107-122 | src/core/pipeline.py:3191-3208 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis_context_pack_overview.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b31e44adebb768794d458cb2a216968528632422b578237fce0abeba4877357"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/services/decision_profile_policy.py:109-126 | src/services/decision_profile_policy.py:208-222 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_profile_policy.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7066a4a8ca35b94fc32600175664a6e58167a8613de4527e132db9aa81468142"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/core/pipeline.py:2715-2732 | src/storage.py:3714-3739 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":2715}}}],"partialFingerprints":{"codehealthFindingId/v1":"06443192e15797798c61ba6ecbd50d3a9f965b502ca519d3f49a244fecd7449e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/webui_frontend.py:90-105 | src/webui_frontend.py:166-180 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/webui_frontend.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5914ec81065aaccb9d72dc829b9846ea1c83fe0641323d147162f97e51f09605"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): api/v1/endpoints/portfolio.py:239-250 | api/v1/endpoints/portfolio.py:317-328 | api/v1/endpoints/portfolio.py:400-411 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/endpoints/portfolio.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"935a480df0b51e47ec9a999fda8cea8f43033d3fe9351fa79f71561e51eb655b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/services/system_config_service.py:654-667 | src/services/system_config_service.py:678-695 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"642db433e27131141df30fac1139eb1398dcc0915f773db6f7fc076cae16577f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): api/v1/endpoints/history.py:709-734 | api/v1/endpoints/history.py:752-777 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"api/v1/endpoints/history.py"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"7920de9113c1cd6eb9217e75364d21a7041360fd6b1323d67aeba238910bb583"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): data_provider/akshare_fetcher.py:2305-2324 | data_provider/akshare_fetcher.py:2357-2376 \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":"data_provider/akshare_fetcher.py"},"region":{"startLine":2305}}}],"partialFingerprints":{"codehealthFindingId/v1":"600a15edaaaa7fbbb5b4e07b6cf58f526596525f328a22196a8ab492276b1c57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/services/skill_opinion_outcome_service.py:209-224 | src/services/skill_opinion_performance_service.py:161-176 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/skill_opinion_outcome_service.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"53757bae771d54fa2042a6ac81d7cea6805979d904bc2c587f6d65e69f812df2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): data_provider/akshare_fetcher.py:381-392 | src/search_service.py:73-91 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/akshare_fetcher.py"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"c290b45b8b1249ceeeee3e7f4da9265409b95e5ff32bffb5a8ff0fc98bca69a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): api/v1/endpoints/screening.py:134-145 | api/v1/endpoints/screening.py:156-167 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/endpoints/screening.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93d36b6357de71d112dfd36e0fdd569391a848370baad4ba83e6e3e3f71f1cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/agent/skills/base.py:96-106 | src/storage.py:2844-2855 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/base.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8033d45b99b8c8c307979fe818fe17de3b529e24a8685b308790ef0234be660"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/analyzer.py:5136-5146 | src/analyzer.py:5149-5159 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":5136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd321b52a3495d93fc3c3d37ed8d4ef31cd5b1a43ec22bf28920a99d58ce29e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): src/repositories/alert_repo.py:44-55 | src/repositories/decision_signal_repo.py:283-295 | src/repositories/portfolio_repo.py:108-119 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/alert_repo.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0aa88d7c1b919bd75b34b28203d1dab2c72847e9a1a73ee585f002a0cf730b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): src/repositories/portfolio_repo.py:420-432 | src/repositories/portfolio_repo.py:435-447 | src/repositories/portfolio_repo.py:450-462 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/portfolio_repo.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f110100241f689cc9722f6aa4a68840f430068e51358d494f2e3984e0455c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): data_provider/akshare_fetcher.py:1900-1930 | data_provider/efinance_fetcher.py:1278-1312 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/akshare_fetcher.py"},"region":{"startLine":1900}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec26cf6898007a8b3b339d553e40d5cac81e7f7871eac610570840fff818b65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): data_provider/base.py:277-294 | src/services/stock_code_utils.py:134-143 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69d18b2327697d242c61e27534c12f3c12d2b2382af1122c3337c8a2625656f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/agent/runner.py:277-289 | src/agent/runner.py:304-319 \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":"src/agent/runner.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"359852fbde683023f5f2f6b5a5b791bc807c7242821055f06192bc2f98c83548"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/llm/local_cli_backend.py:1768-1780 | src/utils/sanitize.py:191-203 \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":"src/llm/local_cli_backend.py"},"region":{"startLine":1768}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e2bb1ae8a39233a6f520ea8135e58a11edf33261f64f8b10d1e99ddffad1e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/repositories/alert_repo.py:192-205 | src/repositories/alert_repo.py:254-264 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/alert_repo.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"715e56c11747f14bfc1da597b49438ea13f55908f41d96ac52c1372a20e21aa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/services/screening_service.py:2303-2312 | src/services/screening_service.py:2315-2323 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":2303}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a3fe07f7ff472ff0c3d53e60a9dd1e2bd371698c607208b034e033ab99577e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): bot/dispatcher.py:606-625 | bot/dispatcher.py:629-647 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bot/dispatcher.py"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"25516a4fa4d4977599612b38321bf8913edcb35a94d5a8d6f4be819b77a31db1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/services/alert_worker.py:379-387 | src/services/run_flow.py:1422-1431 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_worker.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67173b835a74168a4d3ca3e6b0792b011f48a35b4536695a0e540deb6a933f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): data_provider/base.py:804-821 | data_provider/base.py:829-846 \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":"data_provider/base.py"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc52a0c72b9135d401cb2659fb7a586df372e4eb73fdf7b5c8b089078943cba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/services/history_service.py:538-556 | src/services/history_service.py:869-893 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/history_service.py"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8340da5f86a97703c8cc94eae2dab57de473ceee03f8f34e90149b8c961a83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/llm/usage.py:203-216 | src/llm/usage.py:1054-1065 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/usage.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"526eabb3fcec988af8d8fa42535580471a7689a4ffdf65302f8a5d6361c783da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): api/v1/endpoints/portfolio.py:214-229 | api/v1/endpoints/portfolio.py:293-307 | api/v1/endpoints/portfolio.py:375-390 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/endpoints/portfolio.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdabce7334aeb8a15c45b44bf973e9bad45e080c52c2ed2d15f1ad21ca06e5fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/repositories/intelligence_repo.py:42-50 | src/repositories/intelligence_repo.py:95-106 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/intelligence_repo.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29e18205e5d8e631eeca12bb83db9e49ba55b802ac64b7e5c287d70d5b40b2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/repositories/portfolio_repo.py:366-382 | src/repositories/portfolio_repo.py:398-417 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/portfolio_repo.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"baced9dbc78aba749c307a46bc8a8a520c1bd0cc5cb334fe834dcf481c7fe583"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 11\u002B corresponding lines): data_provider/futu_fetcher.py:182-193 | data_provider/futu_fetcher.py:223-233 | data_provider/futu_fetcher.py:236-248 | data_provider/futu_fetcher.py:251-261 | data_provider/futu_fetcher.py:264-274 | data_provider/futu_fetcher.py:277-287 | data_provider/futu_fetcher.py:290-301 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/futu_fetcher.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"442340271ffde7bae675f3ae7f438916a8aad3ac45190ba8da5f6fa9b7b01a1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/repositories/portfolio_repo.py:178-196 | src/repositories/portfolio_repo.py:234-248 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/portfolio_repo.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2daee5ccc1c7dd7d4e609e8ac79cfe36c1502bc876949ef17826fb6a8e517c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): api/v1/endpoints/alerts.py:65-73 | api/v1/endpoints/alerts.py:132-143 \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":"api/v1/endpoints/alerts.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b4c8f62bb63e27a4839907f41ff0f393903b6287a5d46e7f06cb4b0e6a9e1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/formatters.py:305-316 | src/notification_sender/custom_webhook_sender.py:450-462 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/formatters.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a5ace8c1eea317270c5caf36c732224a1b7488fb65e84c6fe5ddb83906f6ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/services/screening/daily.py:957-962 | src/services/screening/daily.py:966-971 \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":"src/services/screening/daily.py"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"27127fb3af7223b2cee76f833facdd09ee90a32db95c116c64a8eb73c2abe18a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/storage.py:4120-4130 | src/storage.py:4482-4501 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage.py"},"region":{"startLine":4120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa3a6489b4c9d9ac00cb52738779fc562c75525a6ea3e3de59c221162c18977"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/services/screening_service.py:3316-3324 | src/storage.py:2879-2887 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":3316}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1b5a0e5d813066246efb487983cf420e0bc5f7cd51bf19501a37be162d3d1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): api/v1/endpoints/intelligence.py:95-106 | api/v1/endpoints/intelligence.py:135-143 \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":"api/v1/endpoints/intelligence.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4028d5f5a0113c07d287563157a511b2ef96a3aba63e47e258218a22d69d35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): src/services/run_diagnostics.py:943-964 | src/services/run_diagnostics.py:996-1013 | src/services/run_diagnostics.py:1023-1039 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_diagnostics.py"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cffe9178af9474a2e8bfb5237185d5b62926d1a0499325b3e3b414a6c68f773"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): api/v1/endpoints/decision_signals.py:414-428 | api/v1/endpoints/decision_signals.py:517-533 | api/v1/endpoints/decision_signals.py:555-572 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/endpoints/decision_signals.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"2801dea3024c2b270c0a985d08655b139e5da4a35070ea509f149336f9995c3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src/repositories/portfolio_repo.py:478-488 | src/repositories/portfolio_repo.py:501-511 | src/repositories/portfolio_repo.py:524-534 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/portfolio_repo.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d0d3de073ec121aa616b62e6495ece84b7943abc84a2e89e5e5792e9877195"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/services/daily_market_context.py:775-784 | src/services/stock_daily_start_resolver.py:132-141 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/daily_market_context.py"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"50dc5af0f66f4c0c88bf09364cc58af8cdaa6ed0e29c9507c223b74b8c3c1644"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): api/v1/endpoints/alerts.py:91-106 | api/v1/endpoints/decision_signals.py:275-291 \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":"api/v1/endpoints/alerts.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc61bbfb6e062e5b0f18139630e925b9d7dad51e3ea5c255c0fe1f7aeda3d703"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): data_provider/tencent_fetcher.py:168-175 | data_provider/tickflow_fetcher.py:438-445 \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":"data_provider/tencent_fetcher.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88a2cf3563f261b1800b47a2ecc57ab5e6a4c61775b512a7f79ae57dfb7c75a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): src/repositories/stock_repo.py:142-150 | src/repositories/stock_repo.py:163-171 | src/storage.py:3439-3463 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/stock_repo.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"31098e9b002f8c7c3fea6e5ee4a2c61062da1a52df9cd99f46d77533c04f9347"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/services/screening_service.py:143-152 | src/services/screening/snapshot.py:394-402 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e517b98aac732e8e1d74b3de264dd1c7d8483b15efb7ccb253a29a19ac3393"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/utils/sanitize.py:150-163 | src/llm/local_cli_backend.py:1733-1744 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/sanitize.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ff0325013c5dc815c50dcfb8edd1c88c92cbd39df4214e4a862bf5c9c3c15a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): main.py:617-623 | main.py:787-793 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.py"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"83dfb074f79bcacdd1ad10442be6aaf98b09a206fa59c875b0f538f489dfdf38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/services/history_service.py:696-706 | api/v1/endpoints/analysis.py:111-117 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/history_service.py"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce4385cbd97eab0f2610b37d0e6ca0ad54c63bc0a1f240f1c40c37ed0cd7764"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/services/run_diagnostics.py:1119-1126 | src/analysis_context_pack_prompt.py:489-496 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_diagnostics.py"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f29c05a69a3973246a2121005a930172a685c369cd021a93ed0d327b83d246e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/services/alert_indicators.py:389-395 | src/services/market_light_alerts.py:358-364 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_indicators.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"3055c54cd6ed9b8ce2182f93808c485731c74c4187921720d7a2ebee0b4f9bad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/services/screening_service.py:3302-3312 | src/services/portfolio_alerts.py:375-383 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":3302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26dc70af7aecbc3ab7cfef0e9d5b6fcb11ae406ca4de05a3e312c3628e5d286"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/core/backtest_engine.py:587-592 | src/schemas/decision_action.py:256-261 \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":"src/core/backtest_engine.py"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cda6333233852f9cabf5f579b43f9245ba13925b853864e29c2d8b306e4785"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/market_structure_prompt.py:179-186 | src/analyzer.py:724-732 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_structure_prompt.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f468d54cf21c60dadbe01013bb6442766bbea0920cdba15a1506ea474b4dbe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): api/v1/endpoints/data.py:22-36 | api/v1/endpoints/system_config.py:149-161 \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":"api/v1/endpoints/data.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddda7d54d569db9c44151da1fc7a5da3754017844e5105af3ad7afe056cae507"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/notification_sender/custom_webhook_sender.py:38-47 | src/notification_sender/slack_sender.py:29-38 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/custom_webhook_sender.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"018304e072d0cd54d227ca8cf6af1d2ddd1f792b61d17a345bc3aa79a700b153"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/services/decision_signal_outcome_service.py:789-794 | src/services/decision_signal_service.py:1165-1169 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_outcome_service.py"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0ca264b0f2880bff4574e6e7bf1b3a3be4657be312589959d593faefd39545"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): data_provider/akshare_fetcher.py:438-451 | data_provider/efinance_fetcher.py:319-329 \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":"data_provider/akshare_fetcher.py"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd70fa63d70d9817b296e9d49cb813f34c93f67ce35ba71cb9e3894175d81753"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/agent/chat_executor.py:69-80 | src/agent/orchestrator.py:441-458 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/chat_executor.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d88802069e0867c2439dcdc8018505ed46a414b4f0605d10f84fdef4529d37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/services/analysis_timeout_partial.py:353-361 | src/services/skill_opinion_weight_service.py:206-211 \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":"src/services/analysis_timeout_partial.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e55d7d999f65b472caaf2b06368d78105341d092972e0cf4897b278fa42289"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): src/services/alert_service.py:1166-1167 | src/services/alert_worker.py:303-304 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_service.py"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abe8022602b4ad136fc16a5e90d8e7c0ed34dab6a5f6faa837fc60d5b2e7bd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): api/v1/endpoints/alerts.py:116-122 | api/v1/endpoints/decision_signals.py:470-476 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/endpoints/alerts.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a1ce9f3a542107e56919cc33c0833caff61d0032de6caaef510edfc748fdb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): api/v1/endpoints/alerts.py:171-177 | api/v1/endpoints/decision_signals.py:493-499 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/endpoints/alerts.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"4238255e8ac0ed07a80961070368c9f41e1f27c9211e9397ea44908d0df069cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): src/notification.py:1138-1140 | src/services/screening/dsa.py:291-294 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c449da4f45f4f2d78bf526b88fd52b86bb6ed83ec68cf1373383995a4021eb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): bot/platforms/dingtalk_stream.py:62-65 | bot/platforms/feishu_stream.py:390-394 \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":"bot/platforms/dingtalk_stream.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"29845edbd5aa863f340b894495b014bc576b0df428a1cfe65b4dd0b03d6ef1d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): src/services/research_artifact_service.py:382-383 | src/services/screening_service.py:589-590 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/research_artifact_service.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"edabeb511bc3dc7d3c1806fb5f923d6650bcb5e262783f81c37088bd07f9353c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): api/v1/endpoints/alerts.py:51-55 | api/v1/endpoints/decision_signals.py:85-89 \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":"api/v1/endpoints/alerts.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0409a8e5eceea125cd25cab99bf4b172c863008283ddb8c21b7d0f2fdb54d0c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/core/backtest_engine.py:679-685 | src/services/decision_signal_service.py:778-784 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/backtest_engine.py"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d545edaa44e23732d47c7036770a75d767ebd0ee77bf13179880d12fc18ab8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/repositories/analysis_repo.py:60-79 | src/repositories/stock_repo.py:63-78 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/analysis_repo.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7cd0c87b8c01d51b79312fb986306e7ea5c7873e193632f36a59283b4de981b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/agent/chat_executor.py:50-57 | src/agent/executor.py:650-656 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/chat_executor.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2847de603759e2102acc0c074fc3b3d702c44a7971a6fbada145211eb4eddc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): src/agent/skills/deliberation.py:896-898 | src/agent/skills/synthesis.py:469-471 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/deliberation.py"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"182ad4083854410d31e2dbc09a04f72498770f7ff154436a4bd4e6551766c99d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/services/decision_signal_service.py:1197-1204 | src/services/skill_opinion_outcome_service.py:257-262 \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":"src/services/decision_signal_service.py"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df70e3ee68be23cbaff298cbe775d712f32b34c4a626c3073c5525455d135b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): api/v1/endpoints/analysis.py:985-989 | src/services/run_flow.py:1439-1443 \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":"api/v1/endpoints/analysis.py"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce5a1f97660e4db3063eb39167c47db3dcfaa909cd6ca48e686a656035f5540"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): data_provider/yfinance_fundamental_adapter.py:54-62 | src/agent/runner.py:609-624 \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":"data_provider/yfinance_fundamental_adapter.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1fb4b9467bee110c354197335835a4332cc4731de5d51c297a6c66489317fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): scripts/smoke_bot_index_entry.py:94-100 | src/llm/local_cli_backend.py:633-638 \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":"scripts/smoke_bot_index_entry.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1922e9fda10a2afb0bf8e9abd2be6c4b094575df866d0f855c20c991ab61e75c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/agent/llm_adapter.py:388-391 | src/analyzer.py:2750-2753 \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":"src/agent/llm_adapter.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"269e1ca581c134c4472b1f5137d78e842dccf16a4d9527a3dfe1aadf68fd317a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): data_provider/akshare_fetcher.py:421-435 | data_provider/efinance_fetcher.py:285-297 \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":"data_provider/akshare_fetcher.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8ab77acaa4abaf3df3eccfd25a2861e2f42e8b0dafe6db6fd431f564ef2bf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/llm/usage.py:1018-1023 | src/services/decision_signal_reassess_service.py:297-302 \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":"src/llm/usage.py"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1c0d11b932ce5cb5349fa512b9015af7f817cd805d4187016147e24bc615f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/services/decision_signal_extractor.py:497-506 | src/services/run_diagnostics.py:556-560 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_extractor.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"14aef55debc845cba06cd0555317de42abc24d9434a1ed3b021e206d19f4e768"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): bot/platforms/dingtalk_stream.py:238-245 | bot/platforms/feishu_stream.py:618-625 \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":"bot/platforms/dingtalk_stream.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca11e18ea1729c27d769a89bc3ce0bc8708103582f56a63f03982f1731908d88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): src/services/run_diagnostics.py:1089-1092 | src/services/screening/dsa.py:269-273 | src/services/screening/dsa_provider.py:83-86 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_diagnostics.py"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2735ef871e3a82b78a03d12cd90bbff0b0f120d1a347680926f531f578a8c2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201359 lines \u00D7 3): src/notification.py:1358-1416 | src/notification.py:1555-1558 | src/services/history_service.py:1174-1230 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/notification.py:1358\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bd7a3fe3177324c883ea05a5395c67b07bc8bb6d41e86a3af73d306d1002eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52\u201354 lines \u00D7 2): data_provider/base.py:2056-2107 | data_provider/base.py:2135-2188 \u2014 both copies are in the same file, so extract the block 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 \u0060data_provider/base.py:2056\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060data_provider/base.py:2191\u0060 calls \u0060info\u0060 and \u0060data_provider/base.py:2108\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":"data_provider/base.py"},"region":{"startLine":2056}}}],"partialFingerprints":{"codehealthFindingId/v1":"07dbe90926c1202d0d357640dc79d2a21a6cea6c2d6f03ddbd82b4bd9e8a49f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): src/repositories/portfolio_repo.py:875-924 | src/repositories/portfolio_repo.py:1060-1109 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/portfolio_repo.py"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c90e96d401c99ac508010fb9cf706d306fd16ce099282cbbc36434275bb75d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201349 lines \u00D7 2): bot/handler.py:58-106 | bot/handler.py:145-178 \u2014 both copies are in the same file, so extract the block 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":"bot/handler.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07679102bb81f1ae648262a288a79c42aef71686d567b0fa6aa36a99a96a85b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47\u201349 lines \u00D7 2): data_provider/base.py:994-1040 | data_provider/base.py:1207-1255 \u2014 both copies are in the same file, so extract the block 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 \u0060data_provider/base.py:994\u0060 it does not close everything it opens, so those exact 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":"data_provider/base.py"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"88123dc4e1103b6da9e9a0c43c011344ae638654d66dceea4a65d1004fec0031"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): src/notification.py:1493-1541 | src/services/history_service.py:1316-1364 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/notification.py:1490\u0060 calls \u0060_append_phase_decision_block\u0060 and \u0060src/services/history_service.py:1313\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":1493}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad43127f038759ce3b03eeab3809ec14f21041640e235f4a6cc7c1f40210fb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42\u201343 lines \u00D7 2): src/services/system_config_service.py:5218-5260 | src/services/system_config_service.py:5355-5396 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/services/system_config_service.py:5218\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":5218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9fe3a8b1639c0886ba8200e66b2d25992ef01ec2d86972c646d74092237f14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201342 lines \u00D7 2): src/repositories/portfolio_repo.py:997-1037 | src/repositories/portfolio_repo.py:1111-1152 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/portfolio_repo.py"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"383a72be9ab7e6205b7494c879df90709805f1974a6ad2addc9f106b2ad12ef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): src/search_service.py:1154-1194 | src/search_service.py:1343-1383 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/search_service.py:1154\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac7f15936334266364e92b83b11009715b3651709e10148ba6fab91873a3e1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 2): src/services/system_config_service.py:2600-2636 | src/services/system_config_service.py:5239-5276 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/services/system_config_service.py:5239\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":2600}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf8c5c0a0928fac4582740c1d9a88b712a7fb3f6ad1f3e8fe6f07b2a7d0eced"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201337 lines \u00D7 2): bot/dispatcher.py:458-494 | bot/dispatcher.py:542-561 \u2014 both copies are in the same file, so extract the block 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":"bot/dispatcher.py"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7a631ae4bcc3cd3e6eab6cbe8ad277526caaa375c5ff23db2a3f039a49d9cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (84 lines \u00D7 3): data_provider/akshare_fetcher.py:2100-2183 | data_provider/efinance_fetcher.py:1066-1149 | data_provider/tushare_fetcher.py:965-1048 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/akshare_fetcher.py"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e1455d25c2cb6b114e437d6ba6e794bde5f9b9dae318d2bea930cf805ea6fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201332 lines \u00D7 2): src/notification.py:2065-2096 | src/services/history_service.py:1354-1382 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":2065}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e699ea28dc08eafc3a2f94b7d0784e77777b7148815235c9aa679f7e424f170"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201331 lines \u00D7 2): data_provider/yfinance_fetcher.py:725-749 | data_provider/yfinance_fetcher.py:858-888 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060data_provider/yfinance_fetcher.py:856\u0060 calls \u0060warning\u0060, \u0060_get_us_stock_quote_from_stooq\u0060 and \u0060data_provider/yfinance_fetcher.py:724\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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5687c9172a6a5bb79fc15bc22338f131cb12b25bb89b9374d6a48d2367348a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201331 lines \u00D7 2): src/services/daily_market_context.py:144-174 | src/services/daily_market_context.py:195-222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/daily_market_context.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e8d6cf167aafa7bc0653a8e0f51329f7e78ecda0513c4d2a6cd7e85c5ac201"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/services/decision_signal_reassess_service.py:374-404 | src/services/decision_signal_service.py:603-633 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_reassess_service.py"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"8920dec58df044ee54b257a491fc1bd2c297dbd97c2252f4510ad1c3c000590e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/formatters.py:664-693 | src/formatters.py:1068-1097 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/formatters.py:664\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/formatters.py"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a613b7cd510f4d78b4ca6c7ca45b239cac4d55faba7763c1dee0243812008b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): api/v1/endpoints/system_config.py:389-415 | api/v1/endpoints/system_config.py:507-534 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060api/v1/endpoints/system_config.py:507\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":"api/v1/endpoints/system_config.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2e26249060b0b818169ad1efd45d82e1373480f3250073a488d14116104380"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/analyzer.py:3165-3192 | src/market_analyzer.py:167-194 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":3165}}}],"partialFingerprints":{"codehealthFindingId/v1":"e654f7753905f52cf7e88148fc208d2fd484933696ff4738c27c27b4fa89964f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): bot/platforms/feishu_stream.py:204-230 | bot/platforms/feishu_stream.py:242-267 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bot/platforms/feishu_stream.py:204\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bot/platforms/feishu_stream.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f56724630d67b7b356893088ed0636b7f05f4c9ae30cc3d4c709c044382c216"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/notification.py:1421-1447 | src/services/history_service.py:1236-1262 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/services/history_service.py:1263\u0060 calls \u0060localize_bias_status\u0060, \u0060get_bias_status_emoji\u0060 and \u0060src/notification.py:1448\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4ab52577ee9c92c81ca3fe5b01ca0e6232b37ccd138233b9198d2744c6b53e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): data_provider/akshare_fetcher.py:1900-1925 | data_provider/efinance_fetcher.py:1278-1304 \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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1900}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e86a524371913cfe6764c59daac1250bc675c7ec3a4a0fa0ca0e6e51049778"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): data_provider/base.py:4028-4053 | data_provider/base.py:4392-4417 \u2014 both copies are in the same file, so extract the block 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 \u0060data_provider/base.py:4028\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060data_provider/base.py:4391\u0060 calls \u0060_consume_budget\u0060 and \u0060data_provider/base.py:4028\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":4028}}}],"partialFingerprints":{"codehealthFindingId/v1":"382780f801cfbc7a06a56d8839e343e2944470ea2a547c8249f4f243a1a06410"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/agent/skills/aggregator.py:178-203 | src/agent/skills/engine.py:221-246 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/aggregator.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3855667a865b557d48e9ab5dd7a81ae62f0c16cf32fa3a1f9080fac0469e06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201324 lines \u00D7 3): scripts/generate_index_from_csv.py:708-718 | src/data/stock_index_loader.py:30-47 | src/services/stock_list_parser.py:64-87 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060str\u0060 in one and \u0060object\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate_index_from_csv.py"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"7299ec8f912f7d5a31571cccfa5ff19fbcb8675d33aa59ee924687938714a31f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): data_provider/base.py:1130-1152 | data_provider/base.py:1334-1357 \u2014 both copies are in the same file, so extract the block 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 \u0060data_provider/base.py:1334\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060data_provider/base.py:1153\u0060 calls \u0060_record_daily_source_failure\u0060 and \u0060data_provider/base.py:1358\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":"data_provider/base.py"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"789f7ccaca4e70db4f7298cf4f431ec8dea92ff1ffc438cd38324faece576b4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/notification.py:1230-1253 | src/services/history_service.py:1521-1544 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b4133d450b9acf7e56390821c78cfd3b4d5ac2a5577300b7e67236d020a029"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/notification.py:1571-1594 | src/services/history_service.py:1430-1453 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"582c2403654cc62bdc1c0e75a6ba944a36a038a729b1e0e97fc56d93f8251954"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/search_service.py:3236-3259 | src/search_service.py:3288-3311 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":3236}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9f89ab49aafde5ff86a74476121b50ea4825bb85e0be4cfc53a27c82fbcb58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): src/auth.py:257-279 | src/auth.py:307-329 | src/auth.py:437-459 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/auth.py:255\u0060 calls \u0060_get_data_dir\u0060, \u0060mkdir\u0060 and \u0060src/auth.py:305\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/auth.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"32915531fb88acba6113451796070e568b74fdd54ec720878ffa12f0ea65f3b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/search_service.py:382-404 | src/search_service.py:535-557 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77f28e48986e74c7bee81294630e14d75838aec89d7971d2f29050988367af0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201323 lines \u00D7 2): src/services/portfolio_risk_service.py:309-328 | src/services/portfolio_risk_service.py:374-396 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/services/portfolio_risk_service.py:372\u0060 calls \u0060setdefault\u0060, \u0060set\u0060, \u0060add\u0060 and \u0060src/services/portfolio_risk_service.py:307\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_risk_service.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3023c9de0cb6452be808f6b6415691e732e2b6203f6849161100251518974ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/agent/skills/deliberation.py:376-397 | src/agent/skills/deliberation.py:834-855 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/deliberation.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"321d0d5e809bd2f464ca72557fef4431d4adf28368c411de1c9be1d3f9017508"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): api/v1/endpoints/auth.py:267-287 | api/v1/endpoints/auth.py:295-315 \u2014 both copies are in the same file, so extract the block 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":"api/v1/endpoints/auth.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"418d0041dec1c04c22057784399ca0aa3b0bd679125cd18f04e42b39e41c79a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): data_provider/akshare_fetcher.py:1172-1191 | data_provider/akshare_fetcher.py:1577-1597 \u2014 both copies are in the same file, so extract the block 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 \u0060data_provider/akshare_fetcher.py:1172\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060data_provider/akshare_fetcher.py:1170\u0060 calls \u0060info\u0060 and \u0060data_provider/akshare_fetcher.py:1575\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/akshare_fetcher.py"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b590abf71e73b1801177ee10274f5d13117b7e16ad1a95be2c7740b03a6e71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/llm/local_cli_backend.py:876-896 | src/llm/local_cli_backend.py:1253-1273 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae84fdaf2b17ce9f2ece16373d6cd07cdb1236a110369aa3787c1181744f22e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): src/services/alert_service.py:446-465 | src/services/alert_service.py:546-566 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_service.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cf64bcbc830c855f4cae4dadab9df3697163c07e92439f7bce02c6a079b020"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): src/services/daily_market_context.py:213-233 | src/services/daily_market_context.py:528-547 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/services/daily_market_context.py:213\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/daily_market_context.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fb71200256bb62aca63a66c077c726e0533252efb4bf2aa756dfe11ca1f5a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): api/v1/endpoints/analysis.py:221-239 | api/v1/endpoints/history.py:201-220 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/endpoints/analysis.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de926155d2c743dc4b9835bd006e87518ac15f2281798910aa3cd9f8cd32c4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): bot/dispatcher.py:498-517 | bot/dispatcher.py:564-582 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bot/dispatcher.py"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ae840f6c8d364e01fda600d274e151d163983a8c498070174b7ba576f4bce3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): data_provider/base.py:3979-3996 | data_provider/base.py:4340-4359 \u2014 both copies are in the same file, so extract the block 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 \u0060data_provider/base.py:4340\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":3979}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3621d4d21c213abc2b84eeff3585b5c2f4902a8e8cae18c808808b8f5d610c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): src/search_service.py:3904-3920 | src/search_service.py:4148-4167 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/search_service.py:4148\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":3904}}}],"partialFingerprints":{"codehealthFindingId/v1":"471e0e9694246afeb9cc676ab553e515b403e7700915b1ad8958d57f18242b93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/services/screening/pipeline.py:668-687 | src/services/screening/strategy.py:792-811 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/pipeline.py"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff369dfb4caab4322a35546a6cc9e0f96ece738d37121905416ceaece2d4dfe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5): data_provider/base.py:999-1017 | data_provider/base.py:1025-1043 | data_provider/base.py:1049-1067 | data_provider/base.py:1214-1232 | data_provider/base.py:1240-1258 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"462a943bc737f430bd36aae34ed259c7a3e3a95a4fee8c5d2f486d16c82c7b04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): data_provider/akshare_fetcher.py:454-472 | data_provider/efinance_fetcher.py:332-350 \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":"data_provider/akshare_fetcher.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9075655360bf237d13d3f3714f3d9c745d95c935243c987eff49064a7c2b6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/config.py:269-287 | src/config.py:314-332 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a590d8f8df7c06841fa29978c35f8dae5a20ea8f503c5c636cd8f58496b8a70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/core/pipeline.py:1720-1738 | src/core/pipeline.py:1748-1766 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3937a2ff6929f7a97227cfb905506b1ca1561ac94878dd8a012c4f05ffa516a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/services/screening/filter.py:256-274 | src/services/screening/filter.py:356-374 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/filter.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ebc5c919331a682553de25edee8cbb66bc37a89a5b881e6834aa14c0c3fbe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): src/core/pipeline.py:1720-1736 | src/core/pipeline.py:1748-1764 | src/core/pipeline.py:1778-1795 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/core/pipeline.py:1778\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"7378915c2f9892ef9953219858871ed839c0c63eeff6d41b62c6ff7d1948a1bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): bot/dispatcher.py:519-536 | bot/dispatcher.py:584-599 \u2014 both copies are in the same file, so extract the block 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":"bot/dispatcher.py"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"d578fb9686951583957e74e48ebce0f68cc8ca6f531703ea5bce2859358a3072"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): data_provider/base.py:2654-2671 | data_provider/base.py:2674-2690 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":2654}}}],"partialFingerprints":{"codehealthFindingId/v1":"de567717451334d1e15860840de2a1cc68155d0b9dad0182705a7ca6cc496475"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): data_provider/base.py:4767-4784 | data_provider/base.py:4818-4835 \u2014 both copies are in the same file, so extract the block 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 \u0060data_provider/base.py:4767\u0060 it does not close everything it opens, so those exact 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":"data_provider/base.py"},"region":{"startLine":4767}}}],"partialFingerprints":{"codehealthFindingId/v1":"6664743784d911cbdd33996cb0d4eca87c0ee8a256dd9dd4e86e09bb457e3bf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): src/agent/orchestrator.py:1390-1407 | src/agent/orchestrator.py:1419-1434 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/orchestrator.py"},"region":{"startLine":1390}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba3ba4638093485df901385eb1399f62ea2809c6734775743d477995be3d058"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/analyzer.py:356-373 | src/analyzer.py:423-440 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab3c05139dc2fc740a41208d28280ecb4350114cba0dbd9f28f14bc5c8079d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/market_phase_prompt.py:97-114 | src/market_phase_prompt.py:118-135 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_phase_prompt.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7c08af683c0719800d628daa939469bfacbe93c5c93a94ad35449a1ef05881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): src/repositories/backtest_repo.py:207-223 | src/repositories/backtest_repo.py:249-266 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/backtest_repo.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fc1473044539174b17f8db6890f45dfff9a90626741f7925af6518c11119f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/services/alert_service.py:314-331 | src/services/alert_service.py:378-395 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060rule\u0060 to \u0060PriceAlert\u0060 in one and \u0060PriceChangeAlert\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_service.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f654ec179621bcfedfc45bae7d8d7063801189cc36cf061383eea8328a97fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): src/services/system_config_service.py:3555-3571 | src/services/system_config_service.py:4916-4933 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":3555}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5abd201f63349f690d9b11252d802b42058b47e18a8084359a15460f51d4a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 3): src/search_service.py:1156-1172 | src/search_service.py:1345-1361 | src/search_service.py:1572-1585 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/search_service.py:1156\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd007bfea364e9ceaf1d637b48220fe22426858a15ddad3048569f979a9bf09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): data_provider/akshare_fetcher.py:1270-1286 | data_provider/akshare_fetcher.py:1420-1436 \u2014 both copies are in the same file, so extract the block 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 \u0060data_provider/akshare_fetcher.py:1270\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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"69de2f276aa59e83ba668a8c1b6782458e4a60d940a774b87571d3972e97e05d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): data_provider/akshare_fetcher.py:1288-1304 | data_provider/akshare_fetcher.py:1438-1454 \u2014 both copies are in the same file, so extract the block 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 \u0060data_provider/akshare_fetcher.py:1288\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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c599ca71b8410abc923f73e16c33ad39a795d003bf9da74e963ad0d7b999a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/services/system_config_service.py:4785-4801 | src/services/system_config_service.py:4938-4954 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":4785}}}],"partialFingerprints":{"codehealthFindingId/v1":"e740e07546518e6075e8e3daaf26d3ffb6d3dc3ecfb100b5d866c6b52607c4d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): api/v1/endpoints/agent.py:475-490 | bot/commands/research.py:90-105 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/endpoints/agent.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb3b1bceb5b2cbb933da41be6441edc032ee22e6e761192193fff0aeadb393d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): api/v1/endpoints/analysis.py:1643-1658 | api/v1/endpoints/history.py:664-679 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060api/v1/endpoints/analysis.py:1643\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":"api/v1/endpoints/analysis.py"},"region":{"startLine":1643}}}],"partialFingerprints":{"codehealthFindingId/v1":"f589591603792c03f59ee78e2f3b6694ebd9014f5303fd89937fe4f78cfa2fbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): data_provider/akshare_fetcher.py:1253-1268 | data_provider/akshare_fetcher.py:1404-1418 \u2014 both copies are in the same file, so extract the block 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 \u0060data_provider/akshare_fetcher.py:1253\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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd83b0b59b4e971af9647dd1628d6009a891e0c3af2a8b93f0fbd4806531ded"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): data_provider/akshare_fetcher.py:2196-2211 | data_provider/tushare_fetcher.py:1097-1112 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/akshare_fetcher.py"},"region":{"startLine":2196}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb4a3ac3088734271fd8445de1fc1811cdad1c8da3024e786f5d39d9fbe5b8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): data_provider/yfinance_fetcher.py:668-683 | data_provider/yfinance_fetcher.py:774-789 \u2014 both copies are in the same file, so extract the block 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 \u0060data_provider/yfinance_fetcher.py:668\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/yfinance_fetcher.py"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"13841e453610e3dd92b3cca42a5eb5d0890584331936e8de9c530b491e92c184"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/agent/orchestrator.py:244-259 | src/agent/orchestrator.py:288-303 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/agent/orchestrator.py:244\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/agent/orchestrator.py:242\u0060 calls \u0060join\u0060 and \u0060src/agent/orchestrator.py:287\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/orchestrator.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d85e94f82c1d7cdc3493d66f8288e9a9ae8e4c6b65f330cb09037112dfb5e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/core/pipeline.py:3925-3940 | src/core/pipeline.py:4323-4338 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":3925}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1c38a5300c1d9e9b43aa88ad96012285413df33042488c39faf283073a8fa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/market_analyzer.py:1314-1330 | src/market_analyzer.py:1337-1353 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_analyzer.py"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"513c6b80c899200ce87ea53c1f4b7d6ae6aa94750e07403db6a722f8805b27b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/notification.py:115-131 | src/services/history_service.py:1473-1489 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be689efae3a19426f66cb632df473ec700869273b3edb9cf7b581c2bb5a19b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/repositories/portfolio_repo.py:327-342 | src/repositories/portfolio_repo.py:399-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/repositories/portfolio_repo.py:327\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/portfolio_repo.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e72194f623823b607735bea671409e265b818bf73e967a383db673b7a2915d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/repositories/portfolio_repo.py:367-382 | src/repositories/portfolio_repo.py:402-417 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/repositories/portfolio_repo.py:367\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/portfolio_repo.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"2439d3ed3c55f0126acb4c84f12f9ef903e9a91697f9141acac2fbced15fb10b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/services/alert_indicators.py:245-262 | src/services/alert_indicators.py:338-355 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_indicators.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6c5708a9fda47a675053cb042cfb30e695fbc7ca30937acd50de85050f946d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/services/alert_indicators.py:274-292 | src/services/alert_indicators.py:306-324 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_indicators.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab9227c4e4ea8e0cf96b14f7db779d0b4278bffd3d908bfb1e1075e1398f664"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): api/v1/endpoints/decision_signals.py:187-201 | src/repositories/decision_signal_repo.py:187-201 | src/services/decision_signal_service.py:276-290 | src/services/decision_signal_service.py:314-328 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060api/v1/endpoints/decision_signals.py:187\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":"api/v1/endpoints/decision_signals.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef7fe9c4fc4756630a0112ac48ac3f8cb836b6d4cc3e2ad9ee178ffdf3f7ebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): scripts/generate_index_from_csv.py:891-905 | src/data/stock_index_loader.py:686-700 \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":"scripts/generate_index_from_csv.py"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1a9920403728f3d0e14ac35c567fb551fddcd71476864a081ba51d49b17257"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/agent/factory.py:611-625 | src/agent/factory.py:659-673 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/agent/factory.py:611\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/factory.py"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d78524e0e3d3c9c87fa378328a06c5b16eed68e8ccbd521cd20ce408288950"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): src/agent/runner.py:473-485 | src/agent/runner.py:545-559 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/agent/runner.py:545\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/runner.py"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"39add91864f6494902c4b3e2d6394e9bc554a0b08cc47774f7bdf5402bfb771a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/analyzer.py:5251-5265 | src/analyzer.py:5281-5295 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":5251}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fcb088339488f72165bba451e6af506b88d30854704690e5f94d2e2f1bff9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): src/market_phase_prompt.py:144-158 | src/market_phase_prompt.py:170-183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/market_phase_prompt.py:144\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/market_phase_prompt.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a6204908ffbee8d70d55497f37e87955eb016b4728cc2eb4e7e4040facddff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/services/portfolio_service.py:352-366 | src/services/portfolio_service.py:434-448 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_service.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"24dfb8742177dcc578c4d5f48820689760e8b4ee01b18e36e8c0709c56bf5942"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): src/services/portfolio_service.py:536-549 | src/services/portfolio_service.py:551-565 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/services/portfolio_service.py:536\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_service.py"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ccf797ee4360d1981b9600eba8ca5095f1caddc4d75ee4d08754f2f8fd6272"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): src/services/screening/ranker.py:342-355 | src/services/screening/ranker.py:362-376 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/services/screening/ranker.py:362\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/services/screening/ranker.py:339\u0060 calls \u0060max\u0060, \u0060_truncate_prompt_text\u0060, \u0060_render_ranking_prompt\u0060 and \u0060src/services/screening/ranker.py:362\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/ranker.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c8f7074c23a4313ff453fd683c845cf6f0a4433ff4879e8513e1980eb14023"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): data_provider/base.py:4684-4697 | data_provider/base.py:4774-4787 | data_provider/base.py:4825-4838 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":4684}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97cd33aa7a088be7459049473db00b4dc2c48cff4463b7340fc4b60af7a7331"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): data_provider/akshare_fetcher.py:1154-1167 | data_provider/akshare_fetcher.py:1561-1573 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060data_provider/akshare_fetcher.py:1170\u0060 calls \u0060info\u0060 and \u0060data_provider/akshare_fetcher.py:1577\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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d86f4684590b15ce49e02c6d18187e4f41776defb76f056665a7165f62390ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/analysis_context_pack_prompt.py:168-181 | src/analysis_context_pack_prompt.py:185-198 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis_context_pack_prompt.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"868aec32f6ffb5471d20f2183ae90b9ee746fc519c326a29be077a840bfdde29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/notification.py:1274-1287 | src/services/history_service.py:1133-1146 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5b294a33c345588f2beec2ce942400610d8d28fe56a9489e9f81d045ac7460"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): src/services/market_light_alerts.py:97-110 | src/services/portfolio_alerts.py:202-213 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/services/market_light_alerts.py:97\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/market_light_alerts.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"96047c910e354880b827f078a4d57c56a33acc16543986bcb32c9b1fc48bca50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/services/skill_opinion_outcome_service.py:211-224 | src/services/skill_opinion_performance_service.py:163-176 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/skill_opinion_outcome_service.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f5f4877157e25727305d3bdc6b901a47d2a2a1f9b3dd04bf78ccfb85547874"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/services/system_config_service.py:1687-1700 | src/services/system_config_service.py:1883-1896 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/services/system_config_service.py:1687\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/services/system_config_service.py:1702\u0060 calls \u0060loads\u0060 and \u0060src/services/system_config_service.py:1897\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"d762026a85f688b67574cade32eae4706ac637b333135db50c01d00f56bf87bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/search_service.py:1104-1116 | src/search_service.py:1287-1299 | src/search_service.py:1704-1716 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/search_service.py:1104\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e209b235e76264de56cfb494a9bf8c2d397708d8a9b11ab07c7c941a0339b49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/services/market_hotspot_service.py:663-675 | src/services/market_structure_service.py:667-679 | src/utils/data_processing.py:82-94 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/market_hotspot_service.py"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5f4f5c228008c3414c012f46f91acebaae7e4c451b18766723a4a4ee937016"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): data_provider/akshare_fetcher.py:1653-1665 | data_provider/akshare_fetcher.py:1796-1808 \u2014 both copies are in the same file, so extract the block 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 \u0060data_provider/akshare_fetcher.py:1653\u0060 it does not close everything it opens, so those exact 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1653}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fc1275f0d429c34ab595d74d355487206ee22bbac78d88d73811d4ee0a5150"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): data_provider/efinance_fetcher.py:455-467 | data_provider/efinance_fetcher.py:548-560 \u2014 both copies are in the same file, so extract the block 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 \u0060data_provider/efinance_fetcher.py:455\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":"data_provider/efinance_fetcher.py"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a86877a2380e0ce103a4090cc31d683c8dce0fa9bfcddc653c03c55f044c07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src/repositories/backtest_repo.py:238-250 | src/repositories/backtest_repo.py:309-320 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/repositories/backtest_repo.py:238\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/backtest_repo.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f095969a9d6863f1e8909d6b78f24360234135a6a34d17203a1920c5145326b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src/services/screening_service.py:3691-3702 | src/services/screening_service.py:3711-3723 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/services/screening_service.py:3711\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":3691}}}],"partialFingerprints":{"codehealthFindingId/v1":"b152cd9f56a64007916e4a4559221f9d1c0b513b17a3d21258976d7c703d7417"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/services/system_config_service.py:654-666 | src/services/system_config_service.py:678-690 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c412b0feac007b6f8e8c6a1f779c9a25700fd2cb24c8fea325107f4bb4c2c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/services/system_config_service.py:1169-1181 | src/services/system_config_service.py:1188-1200 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b25f60e3ba6c47450a99a3cac9dd92a657c14903982a95fc3708a185d8479d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/services/system_config_service.py:3586-3598 | src/services/system_config_service.py:4943-4955 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":3586}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ca97e6826a3bb22f02ac2b0c8bbf22c34dbc202e2fc4f1a8974b2bca4a5b55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/services/system_config_service.py:4268-4280 | src/services/system_config_service.py:4415-4427 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":4268}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf13f9d5982ae3a2b720dcb3b276935b3d4f0ec917a9ff91af2e1166d0c7323b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/utils/data_processing.py:55-67 | src/utils/data_processing.py:107-119 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/data_processing.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef045dc6b8ff3314ce9081bb286993f1af099f1927e3c46c44b51adb8eb5f95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): data_provider/akshare_fetcher.py:649-659 | data_provider/akshare_fetcher.py:797-808 | data_provider/akshare_fetcher.py:956-967 \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 \u0060data_provider/akshare_fetcher.py:649\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":"data_provider/akshare_fetcher.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7c4ca81919491001a01930c5113cc5aacf2bc150aa8bd523bce1421ed85fc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): data_provider/yfinance_fetcher.py:665-676 | data_provider/yfinance_fetcher.py:771-782 | data_provider/yfinance_fetcher.py:919-930 \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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d289611fed0fa2042866ae4a55dafe9d73be0743cda72f9e21efbfee31ce59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): data_provider/akshare_fetcher.py:807-822 | data_provider/akshare_fetcher.py:966-981 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"220e6fc1e5109078dd5660fd2775abf91605298297f447e31c9ef1bfb2ea18b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): data_provider/base.py:2913-2924 | data_provider/base.py:3204-3215 \u2014 both copies are in the same file, so extract the block 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 \u0060data_provider/base.py:2913\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":"data_provider/base.py"},"region":{"startLine":2913}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4de1706a0d50715a37d268f5c771df61f5f2cd625e4032f96afcc067d93aea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): data_provider/base.py:4117-4128 | data_provider/base.py:4537-4548 \u2014 both copies are in the same file, so extract the block 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":"data_provider/base.py"},"region":{"startLine":4117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2848e1c63b8790cd1933a8d21e56da752135636c0401d7929913aa07b03feea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): data_provider/efinance_fetcher.py:691-702 | data_provider/efinance_fetcher.py:881-889 \u2014 both copies are in the same file, so extract the block 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c1675aad22168ab44992b4d6ce3d189b52464dde159a559d3b3ee855b781d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): data_provider/tencent_fetcher.py:210-221 | data_provider/tickflow_fetcher.py:530-540 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/tencent_fetcher.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"82fb6247f00ebcad12ab4aa6909a695ccf76d8e776b753a3d0b7b86ccde2bf87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/agent/tools/data_tools.py:130-141 | src/services/history_loader.py:76-87 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tools/data_tools.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b0b63d504b74415f561d6207b4de4d0f98cf1e3cd16e0b13a2db10b1985596"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/llm/usage.py:1027-1038 | src/storage.py:4779-4790 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/usage.py"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"f582959fd2cf13546fc06921f8adac703def5e6ac17fed28fceff4808d2af33c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/services/run_diagnostics.py:588-599 | src/services/run_flow.py:1460-1471 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_diagnostics.py"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce48e2defc91fb3bf2c5a88e4b8121c5a0b1b3217b7a484a44defb2b3fb12c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/services/screening/industry.py:536-547 | src/services/screening/industry.py:561-572 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/industry.py"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51b8d437fc2daa8e3d5a8049bdcfd283cce714d305c3aeed5cefa6e5105dd9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/services/screening_service.py:4251-4262 | src/services/screening_service.py:4266-4277 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":4251}}}],"partialFingerprints":{"codehealthFindingId/v1":"083c509e3e73acf5de18b071ab09c3d6345ec6655110f5fc43d44263fe4f6efd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/services/system_config_service.py:3586-3597 | src/services/system_config_service.py:5069-5080 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":3586}}}],"partialFingerprints":{"codehealthFindingId/v1":"9144013a12f52247711dd1e8ced8794990e59f34c11cd5f0e228e2a6f34d8884"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/llm/local_cli_backend.py:927-937 | src/llm/local_cli_backend.py:1524-1534 | src/llm/local_cli_backend.py:1581-1591 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b97ef718b3822060b4f6185aa06500aaa10b8c7d6cab8d3934d39a64494190"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): src/services/system_config_service.py:3564-3574 | src/services/system_config_service.py:4926-4936 | src/services/system_config_service.py:5055-5064 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":3564}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18a3b4aa97345e8d9ed2b171cdd3a807ad214d60fd18611376f2a52055b7d0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): data_provider/akshare_fetcher.py:1129-1139 | data_provider/efinance_fetcher.py:656-666 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060data_provider/efinance_fetcher.py:652\u0060 calls \u0060is_available\u0060, \u0060info\u0060 and \u0060data_provider/akshare_fetcher.py:1127\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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09597d4c35789f84c994422f6ec6c95b6889ea8c901cec2bd8a0e54bd1a3e0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): data_provider/akshare_fetcher.py:1140-1150 | data_provider/akshare_fetcher.py:1547-1557 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060data_provider/akshare_fetcher.py:1139\u0060 calls \u0060info\u0060 and \u0060data_provider/akshare_fetcher.py:1546\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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ccd7f5b3bc2b63d5e52ea84f2783e27dd6b8b56b5ca3aeb60c3e3d02271510"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): data_provider/fundamental_adapter.py:436-446 | data_provider/fundamental_adapter.py:450-460 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/fundamental_adapter.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"5223bbc0c2dc702a4aeff4a28538f0ff84aa318be08c3966df1954cf8ed027ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): data_provider/yfinance_fetcher.py:709-717 | data_provider/yfinance_fetcher.py:834-844 \u2014 both copies are in the same file, so extract the block 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb391b2333c5625941c861f4912572ea2a4c006a69438be461dea1bf71efeee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/agent/chat_context.py:305-315 | src/agent/chat_context.py:375-386 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/agent/chat_context.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/chat_context.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"caebaf44c01811d9e47088c9356a85360f242bdcb279911f699ad4f75f54fd41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/analyzer.py:5269-5279 | src/analyzer.py:5299-5309 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/analyzer.py:5269\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":5269}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2790fabf8216a49183ecce071855f87ced856b4ae169a215d50b5b7bec639a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/core/pipeline.py:879-889 | src/core/pipeline.py:1614-1623 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/core/pipeline.py:879\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"1038875698d1e56403fb4e8e3f7a3f0c70f99d6a00f8e17e2df7830f2d91f8cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/formatters.py:517-527 | src/formatters.py:808-818 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/formatters.py"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad6bcb3ef8a1750ea0693b35ed26e87da8db4977f4f3e9764fbb7563ca44f6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/llm/local_cli_backend.py:1472-1482 | src/llm/local_cli_backend.py:1497-1507 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"0160b95f294bf1771e2f06a6106e8b9256861c8651ad7c498c5ab1ce385552c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/schemas/decision_scale.py:118-128 | src/services/decision_signal_reassess_service.py:353-363 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/schemas/decision_scale.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71a5c2ca6c7628e3a13659fb34ec6cfdb2fa01c429d99cf834e8c7fa9aa2276"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/search_service.py:370-380 | src/search_service.py:523-533 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"7133f25facc9274707564dcb4f6d32a781cb190b233ddcb32055707bd0a75733"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/search_service.py:4199-4209 | src/search_service.py:4271-4281 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":4199}}}],"partialFingerprints":{"codehealthFindingId/v1":"045819c4d7c809f45c6ccfd8e19ea8af6691c9443c4c713502d220005fbefdae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201311 lines \u00D7 2): src/services/decision_signal_extractor.py:67-73 | src/services/decision_signal_extractor.py:183-193 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/services/decision_signal_extractor.py:183\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_extractor.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"08429f163a6cf3f839efd61e63f54f6c22a9062138c61667de559f4437627e26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/services/decision_signal_reassess_service.py:362-372 | src/services/decision_signal_service.py:590-601 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/services/decision_signal_reassess_service.py:362\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_reassess_service.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc4c7e2839d6f4fde28c00bcdc7b2c4a571c6807e24c2318c1eba99da02beda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/services/decision_signal_service.py:719-729 | src/services/decision_signal_service.py:959-969 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_service.py"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c63360d9af648e1322766ae400dbab06b068f96497dd9927972b9f3e51cec37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/services/portfolio_risk_service.py:297-306 | src/services/portfolio_risk_service.py:352-362 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/services/portfolio_risk_service.py:351\u0060 calls \u0060str\u0060, \u0060get\u0060, \u0060strip\u0060 and \u0060src/services/portfolio_risk_service.py:296\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_risk_service.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd71db3671d9348dba75107ed6a9b58c28be9e80abfab5980618edee2b7a1c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/services/portfolio_service.py:539-549 | src/services/portfolio_service.py:570-580 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/services/portfolio_service.py:539\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_service.py"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb8bc6a57984cd6e205fded6de2262e76b35238ea13e7dd116c0e71b9887432"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/services/screening/daily.py:401-411 | src/services/screening/snapshot.py:178-188 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45c057f49619cf016336b6ee335e42532500559dd6b17f59e9cd8075de919c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/services/screening/daily.py:415-425 | src/services/screening/snapshot.py:192-202 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"644a827d00ea06cbf0b871267de005b05dd31cb7920c7cd20cc7b587c36bf521"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/services/screening/daily.py:429-439 | src/services/screening/snapshot.py:206-216 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"677cc827e4549c3faf9b083a65a1cd03d34e32911e2beee10072ab161d717f5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/services/screening/filter.py:425-435 | src/services/screening/filter.py:445-455 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/filter.py"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a03867e9176c9686d58a07f7cd3b994cfe409f4a7c90b338974c0eae998449"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/repositories/portfolio_repo.py:600-609 | src/repositories/portfolio_repo.py:644-653 | src/repositories/portfolio_repo.py:691-700 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/repositories/portfolio_repo.py:600\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/portfolio_repo.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda018a5018d34df02b62803f90949634f6e63a8e2036e68b1c6395217ea1271"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/services/run_diagnostics.py:589-598 | src/services/run_flow.py:1461-1470 | src/services/run_flow.py:1479-1488 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_diagnostics.py"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fdf3a6499fb920f81224613c1490c2f747423c260349d22f8ef56e602472de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): api/v1/endpoints/stocks.py:367-376 | api/v1/endpoints/stocks.py:402-411 \u2014 both copies are in the same file, so extract the block 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":"api/v1/endpoints/stocks.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"861272891937ac8ebf02309570d668194ad244b0001c3a3f7508c4bc9b88bf5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): data_provider/akshare_fetcher.py:383-392 | src/search_service.py:82-91 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/akshare_fetcher.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee143cf362417c05566959e5a88d6fe0d53c59fac8494c606839536850368f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/agent/orchestrator.py:420-429 | src/agent/orchestrator.py:552-561 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/agent/orchestrator.py:420\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/orchestrator.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1a87cec60c08b159887a89b1c585d1729648567f5a1ff570f3020c38d07c6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/agent/research.py:156-165 | src/agent/research.py:193-202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/agent/research.py:156\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/research.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad498761ba256f530ef93adf2cb8b5ed334680c2ccb853e4e43db4afa96fc192"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/analysis_context_pack_overview.py:300-309 | src/analysis_context_pack_prompt.py:467-476 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis_context_pack_overview.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd4e3ae273790ef71ad8987580e1cc2a39a7eb0d298c8c1a1452f06d9e39508"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/services/intelligence_service.py:476-485 | src/services/intelligence_service.py:540-549 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/intelligence_service.py"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6dad8243bb4c8615e680209fdb349b199579c890a3ffc092c56b9a876d2d6a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/services/portfolio_service.py:1268-1277 | src/services/portfolio_service.py:1291-1300 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_service.py"},"region":{"startLine":1268}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9dd5cce7e88b7ebfab34ed50c3c9c633b4360a69e0f426ec43c7baa5f809029"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/services/run_flow.py:92-104 | src/services/run_flow.py:213-225 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/services/run_flow.py:92\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_flow.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"690a157e1a5c7a4f9df4a5d8701fbb40f4215bd5c1d1bfd356e42772b6ef07bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): src/services/system_config_service.py:3608-3617 | src/services/system_config_service.py:4968-4975 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/services/system_config_service.py:3608\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":3608}}}],"partialFingerprints":{"codehealthFindingId/v1":"6252b3e8aeb9889bbf43c37690cfce0ac1b0859b08cd0497b2553e2c3e526325"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): api/v1/endpoints/portfolio.py:242-250 | api/v1/endpoints/portfolio.py:320-328 | api/v1/endpoints/portfolio.py:403-411 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/endpoints/portfolio.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b44e88da214b67bc04a9ff1e64d52a9b10512b3b98327973f8c1437ec9e21e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): data_provider/akshare_fetcher.py:801-809 | data_provider/akshare_fetcher.py:862-870 | data_provider/akshare_fetcher.py:960-968 \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 \u0060data_provider/akshare_fetcher.py:801\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/akshare_fetcher.py"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a33cb51a4e60327855255b915b1f84f1a30192a8f393f275ea2540b09afb35c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): data_provider/akshare_fetcher.py:817-825 | data_provider/akshare_fetcher.py:912-920 | data_provider/akshare_fetcher.py:976-984 \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":"data_provider/akshare_fetcher.py"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bc0c04bfb65fa173d47cd7a7d4045fa0d239d4d8056fd8a1c2347041a605d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): api/v1/endpoints/analysis.py:1334-1342 | api/v1/endpoints/analysis.py:1643-1651 \u2014 both copies are in the same file, so extract the block 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 \u0060api/v1/endpoints/analysis.py:1334\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":"api/v1/endpoints/analysis.py"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"15dd928d896f361af0712bff438b1a3eece18fb9544592e6b867b0ffcb4af272"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data_provider/base.py:3844-3852 | data_provider/base.py:3859-3867 \u2014 both copies are in the same file, so extract the block 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":"data_provider/base.py"},"region":{"startLine":3844}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac835df7f13e6aafacc00958e13ea87776a38d032be3bdd363368b3965c2c63b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): scripts/generate_index_from_csv.py:849-857 | src/data/stock_index_loader.py:647-655 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate_index_from_csv.py"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f1f76dc9b3686127c11dec6c20fd42adea0fc50f49652b57197571a2a8b896"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): src/agent/skills/base.py:195-202 | src/agent/skills/base.py:263-271 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/agent/skills/base.py:195\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/base.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8b5a2b37343bd11608c4fd090c6b5479189c4a21e37e4e9a08671a1bd8b2d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/analysis_context_pack_overview.py:126-134 | src/market_phase_summary.py:267-275 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis_context_pack_overview.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"67bce710a3aa6ebe5eadcdb412b9433283ea0b5b8fd7971027d34cdcc91079f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/formatters.py:743-751 | src/formatters.py:839-847 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/formatters.py"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d5436bb9425e6bce09bd1594f1537e521c164a137e21ddd068d0b396208a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/notification.py:1326-1334 | src/notification.py:1670-1678 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4c57f58db4f864c3ec1018f90fcab5788128b81faa5937101293fbc0a4db2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/repositories/alert_repo.py:47-55 | src/repositories/portfolio_repo.py:111-119 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/repositories/alert_repo.py:47\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/alert_repo.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78895b6e5d872b0920fe43373bef1529560d61ccb8a9bf47601685b1249a9f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20138 lines \u00D7 4): src/services/system_config_service.py:3607-3614 | src/services/system_config_service.py:4841-4842 | src/services/system_config_service.py:4967-4974 | src/services/system_config_service.py:5028-5035 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/services/system_config_service.py:3607\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/services/system_config_service.py:3605\u0060 calls \u0060get\u0060, \u0060strip\u0060 and \u0060src/services/system_config_service.py:4839\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":3607}}}],"partialFingerprints":{"codehealthFindingId/v1":"98629727af1be63aee7ac60ba06c2ff80ad9a428295e2f865784414898354148"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data_provider/akshare_fetcher.py:1888-1895 | data_provider/tushare_fetcher.py:1217-1224 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data_provider/akshare_fetcher.py:1888\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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3ea9cf4a45ca52caf97a90c5ecb361e644753a2e8727e49a77af4fc0ea7bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): data_provider/base.py:287-294 | src/services/stock_code_utils.py:138-143 \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":"data_provider/base.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00583c97268c3ab30af50e82c94db7717eed8fef47183e39048a3274a104347"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data_provider/base.py:4021-4028 | data_provider/base.py:4383-4390 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060data_provider/base.py:4391\u0060 calls \u0060_consume_budget\u0060 and \u0060data_provider/base.py:4029\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/base.py"},"region":{"startLine":4021}}}],"partialFingerprints":{"codehealthFindingId/v1":"94affc7b4a91065c79462af6c3c08e44f619fa86b23942fa9dfa7dc9081a0b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): data_provider/yfinance_fetcher.py:719-724 | data_provider/yfinance_fetcher.py:847-854 \u2014 both copies are in the same file, so extract the block 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4f5ac619c7984d26654110e7c6fc12abd24210710fd10ef98795f8d7e1f5dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): scripts/generate_index_from_csv.py:839-846 | src/data/stock_index_loader.py:639-646 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060scripts/generate_index_from_csv.py:847\u0060 calls \u0060get\u0060 and \u0060src/data/stock_index_loader.py:647\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate_index_from_csv.py"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13f006ffec47ecdebc2562ba62f0e50edef1b14f7d6c5802c848c3b757c9cc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/agent/runner.py:188-197 | src/agent/skills/deliberation.py:976-983 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/runner.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"d461368382cb948558d2454e41c13ebe8505e4734e28b071313f0e91f36de67f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/agent/skills/base.py:98-105 | src/storage.py:2846-2853 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060object\u0060 in one and \u0060Any\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/base.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e166206f206eb1908c684b3009183ac0787a57e4316ff535d2a810dc77290732"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/core/market_review.py:742-750 | src/core/market_review.py:754-762 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/market_review.py"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d4472cc00d5add123cae4e2195d3202a4357850f99b8663c109039111555a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/llm/hermes.py:111-119 | src/services/system_config_service.py:4177-4185 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/hermes.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e6a1414890518668ee5f62eb77c3a2efc87ac3f936127dd5ac1bace99b407a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/llm/local_cli_backend.py:1754-1761 | src/utils/sanitize.py:171-178 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"291cbbc24d46d3c49b1b99155df648ca1da1f29e88a34b8e67bd8460ee6e4dfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/notification.py:963-970 | src/notification.py:1675-1682 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/notification.py:963\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"b204b88c56b9c8eec96a9414ed32e3740dd787c548a5a9979120ab06b4f30928"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/report_language.py:1270-1277 | src/report_language.py:1289-1296 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/report_language.py"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da789c9bcc9c452801178877d0100c8456aba2f6dcba18ba7514aac50453a6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/services/image_stock_extractor.py:118-125 | src/services/image_stock_extractor.py:155-162 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/image_stock_extractor.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e72927853bbb8d902567fa1ffbecfbf419b948f99797a57d4f1e5361b894178"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/services/screening/filter.py:212-219 | src/services/screening/filter.py:312-319 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/filter.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16aa6c71be9b13e2873ddd5f82e2b6757620c7f346dfcb8c242dc78daee44c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/services/screening/scorer.py:213-220 | src/services/screening/scorer.py:382-389 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/scorer.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f3576ce3174f351f0dfec0ef4c4aae741f5f4d6b77ef743cab22f621bd3c0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/services/social_sentiment_service.py:328-335 | src/services/social_sentiment_service.py:345-352 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/services/social_sentiment_service.py:328\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/social_sentiment_service.py"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf19d49351f459f90d13c768ec3f61d3ed6f3b9b229f250a68acb803034850b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/utils/sniper_points.py:38-45 | src/utils/sniper_points.py:58-65 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/sniper_points.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f6ef18dca5b3e6b0bec7924e34db3491382f670d686768f3ae73cf8b4ced3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): data_provider/akshare_fetcher.py:1187-1193 | data_provider/akshare_fetcher.py:1593-1599 | data_provider/akshare_fetcher.py:1661-1667 | data_provider/akshare_fetcher.py:1804-1810 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/akshare_fetcher.py"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efa54e22c5e94d1712c22c160701f08511d0b50770df893c6bdb3f061ee9a9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): data_provider/akshare_fetcher.py:151-157 | data_provider/base.py:177-182 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/akshare_fetcher.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cd0f83eb0c83934e52c007ae16effee178487a63224077822dcbf350587a5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data_provider/alphavantage_fetcher.py:107-114 | data_provider/finnhub_fetcher.py:90-97 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/alphavantage_fetcher.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"278d19812c9309f3cae3445b73624be53199d53269f25629a34c6bb9805fe8b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data_provider/fundamental_adapter.py:486-492 | data_provider/fundamental_adapter.py:498-504 \u2014 both copies are in the same file, so extract the block 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":"data_provider/fundamental_adapter.py"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"982490c86ab739b0860f5e5d3fe0bc110efc2dc28955b4df204d5c3dfc209684"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): scripts/generate_index_from_csv.py:815-821 | src/data/stock_index_loader.py:615-621 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate_index_from_csv.py"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"498c1a12b661c263d3a07dc65ce02dc56f1640ea256b309c19e3a7684027dc5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/agent/orchestrator.py:1855-1861 | src/agent/orchestrator.py:1883-1889 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/orchestrator.py"},"region":{"startLine":1855}}}],"partialFingerprints":{"codehealthFindingId/v1":"18afdd708a0c7daff1a16d76fc0d5213e0c91dd7ab991c775edbebd1e9ac2f45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): src/analyzer.py:3413-3419 | src/services/system_config_service.py:2013-2018 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":3413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f6222ba7619788e9f69e7dbc7ea548ae74dac052f2191ee30eb2f9ee53e1e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/services/task_queue.py:873-879 | src/services/task_queue.py:960-968 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/services/task_queue.py:960\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/task_queue.py"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3c66c29389a342c7ec3a8fa8104308d9dfb124fa497afe4a1318e5da7f53b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/share_image.py:792-798 | src/share_image.py:802-808 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da14cf168e5b450879f0ab58f464a3b5330bae068d79a6bf379e8ec2e7f3b56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bot/dispatcher.py:315-320 | bot/dispatcher.py:356-361 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The 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":"bot/dispatcher.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c12dbef107259ebd252b666aec6f3f0f6187dae858f7bdd0225443cfb31d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): data_provider/akshare_fetcher.py:1606-1610 | data_provider/akshare_fetcher.py:1673-1678 \u2014 both copies are in the same file, so extract the block 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 \u0060data_provider/akshare_fetcher.py:1606\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/akshare_fetcher.py"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"110ecc861ef2ea47b361bb4c4bac1aa5820e69b10d5595c500b86769ae4d2247"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data_provider/baostock_fetcher.py:364-369 | data_provider/tushare_fetcher.py:688-693 \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":"data_provider/baostock_fetcher.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d747c484f4f877aa98fb24d341117a8684bcae48bd849c0a10e050a3d887882"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/analyzer.py:4207-4212 | src/analyzer.py:4259-4266 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/analyzer.py:4259\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":4207}}}],"partialFingerprints":{"codehealthFindingId/v1":"47450bc56bd31d02b8e77bf5d40ab5e65791532020d281f416d088d732cf05a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/notification.py:1686-1691 | src/notification.py:1976-1981 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a592c0cde944aeff7023850779445d1a5b9820a1ccefa6a6421167f832f812"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/notification.py:2015-2020 | src/notification.py:2022-2027 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":2015}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1f378d1e3ef94b502127c96c37ca7e330fcaa2695784fc2b42c64d6404ab0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/search_service.py:251-256 | src/search_service.py:4683-4688 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a4b9d53aa2dcbf2d4fb4c7b6560221fde4bffba0fe9e615be40fdd3857bf81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/services/generation_backend_status_service.py:868-873 | src/services/system_config_service.py:3585-3590 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"26791b5fd8a62d6c2e755ee43197788e425cdbbfdf1224263d910136d0191675"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/services/screening/filter.py:230-246 | src/services/screening/filter.py:330-346 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/filter.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a9bd4fee55ce9df151072087f2fefca2ee04b990c44aeb5df2c84b2a3defef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/services/screening_service.py:4047-4052 | src/services/screening_service.py:4338-4345 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/services/screening_service.py:4047\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":4047}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b0268d34ead62a1d56c70ef070af5dc02e9ab07c6a5a93ba3c5e04606fb876"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/share_image.py:1480-1485 | src/share_image.py:1487-1492 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/share_image.py"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"66cd6f51fff06e186cc674bbc36304a6446c034738ef7589605dd1ad443be20d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): data_provider/akshare_fetcher.py:1205-1209 | data_provider/akshare_fetcher.py:1608-1612 \u2014 both copies are in the same file, so extract the block 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 \u0060data_provider/akshare_fetcher.py:1205\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060data_provider/akshare_fetcher.py:1204\u0060 calls \u0060safe_float\u0060, \u0060get\u0060 and \u0060data_provider/akshare_fetcher.py:1607\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/akshare_fetcher.py"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99efc5d78196a79b4fbb1dbeb40a5d4246479df5fe071d1fa9f8c69926d4ab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data_provider/efinance_fetcher.py:445-453 | data_provider/efinance_fetcher.py:538-546 \u2014 both copies are in the same file, so extract the block 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 \u0060data_provider/efinance_fetcher.py:445\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":"data_provider/efinance_fetcher.py"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4ace99076a3181de8205456d3dee5f14b8a736c5a53661274c79be34a2c8cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/agent/skills/synthesis.py:47-52 | src/agent/skills/synthesis.py:69-74 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/synthesis.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14827d77524b25387261503c4af87bf92ccbe8a497db42b7b1f1904233ae39c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/repositories/intelligence_repo.py:71-75 | src/repositories/intelligence_repo.py:183-187 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/repositories/intelligence_repo.py:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/intelligence_repo.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83ad52bd097327a52d6fa8c53f67c21ec8b50e43bb0b07c9aff973f59a7507f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/services/alert_indicators.py:414-418 | src/stock_analyzer.py:322-329 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_indicators.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"978502ddd3144777a1f71fb247ee69fdb8464268cbfbdb319ff7a2158d524bb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/services/run_diagnostics.py:1175-1179 | src/services/run_diagnostics.py:1286-1290 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/run_diagnostics.py"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca100ee9afaf498c4e4eb60b7b7ff53c5a68eeeee20c367b5cc1b006bf28375"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/services/screening_service.py:3792-3796 | src/services/screening_service.py:3799-3803 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":3792}}}],"partialFingerprints":{"codehealthFindingId/v1":"8afc7a9d782f0a59479c1d27783e256f4e207c58019a0c1dd5cc0f285fd3a022"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/services/system_config_service.py:3578-3582 | src/services/system_config_service.py:4776-4780 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":3578}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1952c77fb06efdbab00e28dabbc3c91fff23ef84d828bb9d366ce03550fc92c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): bot/platforms/dingtalk_stream.py:297-307 | bot/platforms/feishu_stream.py:709-719 \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":"bot/platforms/dingtalk_stream.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abb24e8323f0b9289d128cd3b5c50ccfc78906a43cf7a7810261e0c075bbbf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/agent/disagreement.py:126-130 | src/agent/runtime_facts.py:241-245 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/disagreement.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a5379e66f994aac4313e92fdc49b949a763f05563fd45c66d733b06e63257a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/agent/skills/deliberation.py:927-931 | src/agent/skills/scheduler.py:172-176 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/deliberation.py"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"b303ba4fe85f6bd57a808fbf32050f7a0c184f056d751c19bbaa7abe9b6f0910"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/analysis_context_pack_overview.py:257-265 | src/analysis_context_pack_prompt.py:508-516 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis_context_pack_overview.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65d3494bb9dc086ade07260366a1208cd130946aa20ff0e44c6821d0f50d584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/analysis_context_pack_overview.py:269-276 | src/market_phase_summary.py:314-321 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis_context_pack_overview.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"938d5b65b2ab66018a73630d75f956df07c2bb3ac3f9b83e9608c36afece1f7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/analysis_context_pack_overview.py:288-296 | src/analysis_context_pack_prompt.py:455-463 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis_context_pack_overview.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"167c07447bb8c185d408e978109dd76af09e3b80ffb59b8046b9f6dc8d3d0efb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/notification_sender/custom_webhook_sender.py:273-279 | src/services/system_config_service.py:3330-3336 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/custom_webhook_sender.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b9e11edde4494b7ae91a7f8e6a98dd324541652d5ab8efb0fb9c63bfc717ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/repositories/portfolio_repo.py:946-954 | src/storage.py:2418-2426 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/portfolio_repo.py"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0864c7a5f32f8a1c5beb66ba5e7eedee206b89fff697b8ff6bee94945b55de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/services/decision_signal_extractor.py:286-290 | src/services/decision_signal_reassess_service.py:330-334 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_extractor.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2e34b4b4dd44bf8cabd52cb4a9ed950ccd0743611658f8e2e6c1299d413767"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/services/screening/config.py:510-519 | src/services/screening/ranker.py:1138-1147 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060protocol\u0060 to \u0060str = \u0022openai\u0022\u0060 in one and \u0060str\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/config.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"130a876a0f8c01bac49272cacb84104fdb766d2eac8d5be45e9ff755726c10f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/services/screening/daily.py:819-832 | src/services/screening/snapshot.py:621-634 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4eb75932b3761d37c1a2b8e0ef6e30aab8319ec34306677f9b5d79db5f16ded"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/services/screening/post_analysis.py:374-381 | src/services/screening/ranker.py:1162-1169 | src/services/screening/risk.py:324-331 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/post_analysis.py"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffeb922d3835f90e3b4de69a542fef73c458b27673224387004a1b68a187722b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): bot/platforms/dingtalk_stream.py:325-335 | bot/platforms/feishu_stream.py:739-749 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bot/platforms/dingtalk_stream.py"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"32074075d65d8c0c92aaf7c749d04413467a12f541664bd0a482f3ca3bee3a88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/core/market_profile.py:97-106 | src/core/market_strategy.py:233-242 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/market_profile.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"260151977c95d5bac6b7f9f5e9335401f7b12a6f40e359a352d178af99b53222"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/repositories/decision_signal_outcome_repo.py:99-108 | src/repositories/skill_opinion_outcome_repo.py:193-202 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/decision_signal_outcome_repo.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d30082551552cc676b8b8c892e149d3657c9c06a0104aebb8edad00590e6dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/services/screening/post_analysis.py:344-348 | src/services/screening/risk.py:276-280 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/post_analysis.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d10cf827e50e4447068fa0ec21fb2ec15e6597619e4f4a318915fe0104f0249"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/services/import_parser.py:160-165 | src/services/import_parser.py:207-212 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/import_parser.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"7022158557a142fa8800f8d961f158952a6661fd974cd739880cc396f8e1d227"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/services/screening_service.py:2955-2959 | src/services/screening_service.py:2977-2981 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":2955}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfd8367c04b0c7539c1184d703606dc862edb22deae814ba32585bb301c8cad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/stock_analyzer.py:352-356 | src/stock_analyzer.py:371-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stock_analyzer.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc30e0444a9c05bd97ba72b5f5618dfae114aefb8c8b1c6511d0dadb01c4944"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): scripts/generate_notification_actions_env_table.py:163-170 | scripts/generate_notification_actions_env_table.py:174-182 \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":"scripts/generate_notification_actions_env_table.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"00818601e3f25c623c685da2edb9a9c750feb62b725a765e86980cb5d9cfe5e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): scripts/generate_index_from_csv.py:65-86 | scripts/generate_index_from_csv.py:213-233 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate_index_from_csv.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d442d8b558239bcb8adcb4d3f46019b27e2a2334d0ee4d1ea9a0e05ff4c12bba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): scripts/generate_index_from_csv.py:270-284 | scripts/generate_stock_index.py:38-52 \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":"scripts/generate_index_from_csv.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16664c3b9a28db045d19672c7a654fdfde293a3407f575946c9b4ced38883a2"}},{"ruleId":"D5","level":"error","message":{"text":"Circular dependency: (root) \u2192 api \u2192 src/services \u2192 (root) (one cycle inside a mutually-dependent group of 14 modules)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1299da550bfa96bf56ad3c6284c4087cd89d6204038c71b951c118680b0bb9c6"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: src/patches: src/patches: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dff4792e172ca3a5d987aecaaca88cb4a1f0c07ed293533e9407e81b4607b4b5"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: src/utils: src/utils: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"027aa870592dc09669224d6e767e3c3238f0f2b417db163fd86719f59b4d89b1"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: src/data: src/data: abstractness 0.00, instability 0.14, distance 0.86 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1fa649457f5e355d0f319148c522b6ceb480dad07eb529402bdcb9172ed345dd"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: src/llm: src/llm: abstractness 0.03, instability 0.20, distance 0.77 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"47462c608e737cfd2c402c75cba4dd38800e25405b4ad98d1c46790dcceb48aa"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: src/schemas: src/schemas: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"263cd4177172fa6fcad02b845d690e81137b8fe9b6285c1769aed5675c8a43cd"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: renders navigation, theme toggle and completion badge: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/layout/__tests__/Shell.test.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bdfd4df6ade835115fde0dd942f845cfb9bba6a7286b81e052dce7bc4f1436"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: opens the theme menu from the sidebar toggle: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/layout/__tests__/Shell.test.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce01e61f4a06baac379cf9e152631d5c403db4b4b31efca4f67bef09ec3bf46"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/e2e/market-structure-card-visual.spec.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"96990c36cf2bd3986de71ff36299d2233fc86d5de4a5ae33e27b18d7f92456d4"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/e2e/report-markdown.spec.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f341b41cc0f95caeaf65b70d61f9869887184dac31060d53f4d11025c29587a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/e2e/report-markdown.spec.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"984bd5bdef5ab1d14ceeb848e811d4da9c4cf61ab6c96f9ff45ffcf4f3af6c6e"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/e2e/smoke.spec.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d5fb38f46129311a38f04e189771615a80e01ad5157e1b5ba35d4e0fb633db"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/e2e/smoke.spec.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9d299ee142591c84ffd0955fb59dd8efa44e93b49d58ac22420c92404c7516"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: createWindow startup path does not throw ReferenceError after restore result handling: This test starts work it did not wait for (\u0060mainModule\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E {\n    setTimeout(resolve, 80);\n  })\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/tests/main.test.js"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af26fb1a4fbeb0dae62b572e7d6c6de9d94e506474e8bfb6552e5eeda0a4d6b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not open details when removing a watchlist row: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/__tests__/HomePage.test.tsx"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b1ff5717c14e054819b0f7e69dd9d9756c0cf97ab85880269fa7026d65d8aa"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: deduplicates index aliases while keeping the same-code stock in analyze-all (PR #2312): This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/__tests__/HomePage.test.tsx"},"region":{"startLine":2239}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6bcfb87352661b6f15a577d6221b2dde0b47c1ab18e26089af0f2c05277e3f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: submits a one-time multi-market override without saving system config: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/__tests__/HomePage.test.tsx"},"region":{"startLine":2688}}}],"partialFingerprints":{"codehealthFindingId/v1":"742725005391f9c75666278928d7ef6fbda1789f7fe88bca8c5884f1d436d7fb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps report language unset when only the UI language is English: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/__tests__/HomePage.test.tsx"},"region":{"startLine":2729}}}],"partialFingerprints":{"codehealthFindingId/v1":"c704e6bce0315281796114b02f05e2f0d15886cd9a22737ad465bd188f7b7869"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: navigates to chat with report context when asking a follow-up question: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/__tests__/HomePage.test.tsx"},"region":{"startLine":3016}}}],"partialFingerprints":{"codehealthFindingId/v1":"c003d0bd446a6e715e33e268f37c151a381599c615981497d649647cf16fdc19"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: triggers reanalyze for the current report even if the search input has other text: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/__tests__/HomePage.test.tsx"},"region":{"startLine":3258}}}],"partialFingerprints":{"codehealthFindingId/v1":"d510bd642a10eca0ef1168644c707e124dd8a18917489c1152afc0d499e76805"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes the selected strategy when submitting stock analysis: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/__tests__/HomePage.test.tsx"},"region":{"startLine":3297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d3cd822e036faf520f35461193163d565efb38d7a67392031c4fb8aeaa91c6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: loads history, refreshes on interval, and reacts to visibility changes: This test sets up 9 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 11 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/__tests__/useDashboardLifecycle.test.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2314d6650d5862cd6d59e984f033bdf2b4787215e92fe3f6ae3a6888efdcc92b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: cleans pending task removal timers on unmount: This test sets up 8 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/__tests__/useDashboardLifecycle.test.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba46fb4653d13acf7018f595533a2c1c1d700f5e9be039d3342127aa5ea3a32"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refreshes completed task history and removes completed tasks after the grace window: This test sets up 12 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/__tests__/useDashboardLifecycle.test.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1100871d4c8c8999449ff9372ed1d867498a60de5bc3d75a9032a9e906f37ec3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards task progress updates to the task sync handler: This test sets up 8 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/__tests__/useDashboardLifecycle.test.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d021925344c152f4a459423a2f50d1a866693c0cb16aae36cf660ae571061b5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports failed tasks and removes them after the failure grace window: This test sets up 8 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/__tests__/useDashboardLifecycle.test.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"096f496aa23ef1a14a44a10b60b359f12cfd87eaee512be2a81897970cd30dff"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reconciles active tasks when the SSE stream connects: This test sets up 8 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/__tests__/useDashboardLifecycle.test.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ff8519419d0d587aeb7e23a9a33fd043357417e7e6107c246f9419636fee2a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: submits manually when fallback input receives Enter: This test sets up 11 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/StockAutocomplete/__tests__/StockAutocomplete.test.tsx"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbd9d90dc10b252c2612c4cfe3ae990dc65ec80197734721e16ef5e31b56c74"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: prevents duplicate form submission when fallback input receives Enter: This test sets up 12 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/StockAutocomplete/__tests__/StockAutocomplete.test.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc08ae59295d50bb7b428f0884a89803e7037ba9e4d926bd277cf2c1622892a7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: submits the raw input when suggestions are open but nothing is highlighted: This test sets up 11 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/StockAutocomplete/__tests__/StockAutocomplete.test.tsx"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e58c1ed586def3931045e38e95f5340f8e35b9acb7286dac7ccd84bd12bf4d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: submits the highlighted suggestion when one is explicitly selected: This test sets up 11 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/StockAutocomplete/__tests__/StockAutocomplete.test.tsx"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"485ead1a5ab8a3355ddcde49adedb864497b94228e9194f4c5c9eb19514b9bbe"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: submits the highlighted HK suggestion using the canonical .HK code: This test sets up 11 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/StockAutocomplete/__tests__/StockAutocomplete.test.tsx"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"49efd54e0affc7c9d600c5e32cb111918886708bbf21aa996e81f8d07fa39b08"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: submits the highlighted BSE suggestion using the canonical .BJ code: This test sets up 11 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/StockAutocomplete/__tests__/StockAutocomplete.test.tsx"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67bb8c2c6f83a31ac421704748b7c144241c2f55cbee2d82b6089325235a470"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/config.py: src/config.py changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 129 in Config._load_from_env at line 1506. 5 of those changes were fix/bug commits, and the other 11 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- src/config.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config.py"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"339443346407cbed7b222b8743c0da907cc42c4724d973617babd5d1c419112a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: data_provider/base.py: data_provider/base.py changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 88 in DataFetcherManager.get_realtime_quote at line 2441. 7 of those changes were fix/bug commits, 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- data_provider/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":"data_provider/base.py"},"region":{"startLine":2441}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c587da93c5c3d16b6c4189da96a7c03d824308efaf2590e8fc9a1a12d01ee57"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: main.py: main.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 90 in main.run_full_analysis at line 916. 4 of those changes were fix/bug commits, 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- main.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":"main.py"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06362fa61fd4c7369fa649589be4a7f3078ce2e2d72b27ca516566a902b0915"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/dsa-web/src/pages/SettingsPage.tsx: apps/dsa-web/src/pages/SettingsPage.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 169 in SettingsPage.SettingsPage at line 688. 2 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- apps/dsa-web/src/pages/SettingsPage.tsx\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":"apps/dsa-web/src/pages/SettingsPage.tsx"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"8953c05a01518c5292def13614ecb89e12a67c23e1155b7c0413e8a412767f4c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/dsa-web/src/pages/StockScreeningPage.tsx: apps/dsa-web/src/pages/StockScreeningPage.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 251 in StockScreeningPage.StockScreeningPage at line 841. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- apps/dsa-web/src/pages/StockScreeningPage.tsx\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":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"620e5206f89b152379d31f072c62aab451162500d30cb152656046132ee127f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/dsa-web/src/components/settings/LLMChannelEditor.tsx: apps/dsa-web/src/components/settings/LLMChannelEditor.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 143 in LLMChannelEditor.LLMChannelEditor at line 1668. 2 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- apps/dsa-web/src/components/settings/LLMChannelEditor.tsx\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":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":1668}}}],"partialFingerprints":{"codehealthFindingId/v1":"270a33de2471f3c5d98f10dbecfbef1f04d371730a02afef8aeec712860f558e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/dsa-web/src/pages/ChatPage.tsx: apps/dsa-web/src/pages/ChatPage.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 204 in ChatPage.ChatPage at line 83. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- apps/dsa-web/src/pages/ChatPage.tsx\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":"apps/dsa-web/src/pages/ChatPage.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9900b66f9d39909b8301585ee4bbe6f865259be40e15a36ab63f0934c9dbc5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/dsa-web/src/pages/HomePage.tsx: apps/dsa-web/src/pages/HomePage.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 213 in HomePage.HomePage at line 252. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- apps/dsa-web/src/pages/HomePage.tsx\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":"apps/dsa-web/src/pages/HomePage.tsx"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"94300b017154eb8d372f7be028e8bdcf68ca5d4255b2d8aec62767e1ef1569e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/core/pipeline.py: src/core/pipeline.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 85 in StockAnalysisPipeline.analyze_stock at line 434. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- src/core/pipeline.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3101526ea0cfae03e13e5e390818e5eb801fcd7887a29c7319a48c87eb32660"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/analyzer.py: src/analyzer.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in GeminiAnalyzer._call_litellm_impl at line 3638. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- src/analyzer.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":3638}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9d67664ad557d073f60fd729e013cda6b95582673b141947f3a711bfbc1c1b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/services/history_service.py: src/services/history_service.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in HistoryService._history_code_filter_candidates at line 108. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- src/services/history_service.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/history_service.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"9635ac5aba97208ecd3f76c573374078bf352da925e1fe6c111f56584eb46cc8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/services/system_config_service.py: src/services/system_config_service.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in SystemConfigService.discover_llm_channel_models at line 946. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- src/services/system_config_service.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/system_config_service.py"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"6651b824eb48026753a48db8d8e3f99dcd677f2309a915842ef46627e49ce3b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/notification.py: src/notification.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in NotificationService.generate_dashboard_report at line 1255. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- src/notification.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"55aa635d062272ffc6a12ee5cb6eb50225c36acda004bfc52743a18630559012"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/search_service.py: src/search_service.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in SearchService.__init__ at line 2404. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- src/search_service.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":2404}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1163736a2f188d929088ef86a4d718c011fdc40559b354423580e1d87328fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/services/screening/pipeline.py: src/services/screening/pipeline.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in pipeline.screen at line 51. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- src/services/screening/pipeline.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/pipeline.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"faae2a91346bd8bcc07a52f7401739ce35ecac71dc07ea49e81bf06f2a0c3f24"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/dsa-web/src/stores/agentChatStore.ts: apps/dsa-web/src/stores/agentChatStore.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in agentChatStore.useAgentChatStore.startStream at line 319. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- apps/dsa-web/src/stores/agentChatStore.ts\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":"apps/dsa-web/src/stores/agentChatStore.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"1247475a9234e1952ed9763d1ed4eb0356b9938d8567120d8280f468332d2342"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/services/runtime_scheduler.py: src/services/runtime_scheduler.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in RuntimeSchedulerService._run_analysis_with_watchdog at line 483. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- src/services/runtime_scheduler.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/runtime_scheduler.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bfc8c9421cab6f1ad9663ddbc1922dc92822f97f39cc9523706f2cf2d1791c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/dsa-web/src/api/error.ts: apps/dsa-web/src/api/error.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in error.parseApiError at line 310. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- apps/dsa-web/src/api/error.ts\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":"apps/dsa-web/src/api/error.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ffe1b66aa1cfc2c2d8eda9e99e9a67b0f4cad4118262a88d0d12ecb193874e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: data_provider/fundamental_adapter.py: data_provider/fundamental_adapter.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in AkshareFundamentalAdapter.get_fundamental_bundle at line 372. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- data_provider/fundamental_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":"data_provider/fundamental_adapter.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa9007e41db894b9657b19097347e16bf6c368cb052f017b80fb7a35ecaa9f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/agent/executor.py: src/agent/executor.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in executor.prepare_agent_chat at line 511. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- src/agent/executor.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/executor.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70c5cabcdd439f94e62706b22146e08e285aea0d3ceadbfd012782b41bdf190"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/v1/endpoints/analysis.py: api/v1/endpoints/analysis.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in analysis.get_analysis_status at line 1170. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- api/v1/endpoints/analysis.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":"api/v1/endpoints/analysis.py"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf1c2355142f2b496bae44345c593768a69ec68bceec45fa03fdb724a0fecdb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/dsa-web/src/components/layout/SidebarNav.tsx: apps/dsa-web/src/components/layout/SidebarNav.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in SidebarNav.SidebarNav at line 42. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- apps/dsa-web/src/components/layout/SidebarNav.tsx\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":"apps/dsa-web/src/components/layout/SidebarNav.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d3088283251552986742420f98005f70cd4ab11d016ad3a8fddcd27e206e16"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/services/screening_service.py: src/services/screening_service.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ScreeningService.screen at line 1212. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- src/services/screening_service.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f5b6a40885a429713eca63e77c621aef3fd9be7f58e80f367b50db365eb4a2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/dsa-web/src/components/watchlist/HomeStockWorkspace.tsx: apps/dsa-web/src/components/watchlist/HomeStockWorkspace.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in HomeStockWorkspace.HomeStockWorkspace at line 388. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- apps/dsa-web/src/components/watchlist/HomeStockWorkspace.tsx\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":"apps/dsa-web/src/components/watchlist/HomeStockWorkspace.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a41c3dc256eb21eeed5299f70949dd73687f76542569104d0e8b56129a3bbb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: evals/agent_trajectory/metrics.py: evals/agent_trajectory/metrics.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in metrics.compute_stage_trajectory_metrics at line 454. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- evals/agent_trajectory/metrics.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":"evals/agent_trajectory/metrics.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0be945d37672fad32154e74a983a7c2cb73a42b80d4e038e17d544466d3152"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/dsa-web/src/pages/AlertsPage.tsx: apps/dsa-web/src/pages/AlertsPage.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in AlertsPage.AlertsPage at line 101. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- apps/dsa-web/src/pages/AlertsPage.tsx\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":"apps/dsa-web/src/pages/AlertsPage.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"598df7aa256341b9776246e511c571d0d339a4f6579d8dba70d82ba597568d1f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/dsa-web/src/components/report/ReportOverview.tsx: apps/dsa-web/src/components/report/ReportOverview.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in ReportOverview.ReportOverview at line 165. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- apps/dsa-web/src/components/report/ReportOverview.tsx\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":"apps/dsa-web/src/components/report/ReportOverview.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbd6340364c2c6e12072a4ea15a667007dc124634cd7ed67cc4b1aa7b2dfd8e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/agent/tools/execution.py: src/agent/tools/execution.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in execution._resolve_tool_stock_access at line 364. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:46:13 \u002B08:00\u0027 --until=\u00272026-11-13 21:46:13 \u002B08:00\u0027 --full-history --no-merges -- src/agent/tools/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":"src/agent/tools/execution.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec40a675a852e9181d39f2dd9009f5867291f7aa22d4f1049b38a6a909f4afc5"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 24 significant file(s) lose their only recent owner: src/services/screening_service.py, src/agent/web_intent_resolver.py, src/share_image.py, src/services/screening/daily.py, src/services/data_capability_service.py, src/services/screening/ranker.py, src/services/screening/pipeline.py, bot/commands/ask.py (\u002B16 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5f37db6b0d1a24048fc7fa1dce3281e70c5e5a1cc745e687c236a9ca3548f4b8"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 16 significant file(s) lose their only recent owner: src/llm/usage.py, src/services/analysis_context_builder.py, src/repositories/decision_signal_repo.py, src/agent/chat_context.py, src/agent/tools/analysis_tools.py, src/services/alert_indicators.py, src/services/portfolio_import_service.py, src/agent/tool_surface.py (\u002B8 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c2d030993a394d5d7877e76c7183f32871276564259bd9ec24ad9ce9e9f4de52"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 8 significant file(s) lose their only recent owner: src/services/run_flow.py, apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx, scripts/fetch_tushare_stock_list.py, apps/dsa-web/src/hooks/useRunFlowSnapshot.ts, apps/dsa-web/src/components/run-flow/RunFlowNodeDetails.tsx, apps/dsa-web/src/components/run-flow/topologyViewModel.ts, apps/dsa-web/src/components/run-flow/RunFlowPanel.tsx, api/v1/schemas/run_flow.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e3eea998ca7e6d3371f6f23b1525b38ac2ffe91b441f69f34e3615c2aed39778"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 6 significant file(s) lose their only recent owner: src/agent/risk_override.py, src/services/skill_opinion_outcome_service.py, src/repositories/skill_opinion_outcome_repo.py, src/agent/runtime_facts.py, src/services/skill_opinion_performance_service.py, src/services/stock_daily_start_resolver.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ea2f3b741ba400a91237215b77f88fe7b142195ba26fd613361516b2da6213b5"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 6 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (60 single-owned of 421 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 421 of the 539 production source files in this repository met that bar). They are anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)), anonymized user #7 (1 file(s)), anonymized user #8 (1 file(s)), anonymized user #9 (1 file(s)), anonymized user #10 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: src/agent/web_intent_tokenizer.py, src/agent/skills/synthesis.py, data_provider/tw_institutional_fetcher.py, src/services/analysis_timeout_partial.py, src/patches/eastmoney_patch.py, bot/commands/help.py."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060apps/dsa-web/package.json\u0060 makes this repository a deployable product (line 11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/package.json"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"354558aa185332f62dbe8465e1c0a4b5725770727fd3f20320028a651682338f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Grant clipboard permissions\u0022 repeats the code it sits on: 3 of its 3 words (grant, clipboard, permissions) are already in \u0060await context.grantPermissions([\u0027clipboard-read\u0027, \u0027clipboard-write\u0027]);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/e2e/report-markdown.spec.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"95acd352edde6b0a936f9a4b61afb9f2358a7033e89309400dab59ddef795f37"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Grant clipboard permissions\u0022 repeats the code it sits on: 3 of its 3 words (grant, clipboard, permissions) are already in \u0060await context.grantPermissions([\u0027clipboard-read\u0027, \u0027clipboard-write\u0027]);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/e2e/report-markdown.spec.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed58a1bb4c0d7ee9d62c852026aa2e174fb2c2a676a4f8ad72a4ae9a08a3ec05"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Click copy plain text button\u0022 repeats the code it sits on: 4 of its 5 words (copy, plain, text, button) are already in \u0060const copyPlainTextButton = page.getByRole(\u0027button\u0027, { name: \u0027\u590D\u5236\u7EAF\u6587\u672C\u0027 });\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/e2e/report-markdown.spec.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0da3bed6ff08fc28da9b9c21a31ac37e22b6ead6e3ae7d72d4d7df49b86694d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Animated score state.\u0022 repeats the code it sits on: 3 of its 3 words (animated, score, state) are already in \u0060const [animatedScore, setAnimatedScore] = useState(0);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/ScoreGauge.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cdfeebdbf25587bda31e6d842ec36f08770c7df016ee6157454c52473ebd90"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Use ref to store debounce timer\u0022 repeats the code it sits on: 4 of its 5 words (use, ref, debounce, timer) are already in \u0060const debounceTimerRef = useRef\u003CReturnType\u003Ctypeof setTimeout\u003E | null\u003E(null);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/useAutocomplete.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6583ef417d46a67cfc03ea861635debb8eed3dfc14c2f28c7f5cf046d2f178a1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Calculate match score for each item\u0022 repeats the code it sits on: 4 of its 4 words (calculate, match, score, item) are already in \u0060const suggestions = filteredIndex.map(item =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/searchStocks.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"116bec088850111f8714cc9f9466dada10c8ad8340d5b41e1e742576d0258de3"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 2 of 3 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (167944 LoC, 967 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":"e4827fb7c3ba70bc7c5f78f49609694b45e151accf95a407abbd8fd799f80ec2"},"properties":{"commitSha":"fdb202cb3610fb63c1d792951df891de0c50d13e"}},{"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":"ff0c1a7755c39783713cc6912d2b972a8d2a7f576e8b35f3309665efdf6a02b9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"07cd7dca4a99259642d29f837c224e0c7e27ebcef5b104a6004a8a5ffbe4e175"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b01fe4ea509122145be8f99cf7bb692621592e5dc82ed958f8096789e9e9dc5"},"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":"7320529a9f609be569eb242d86ae481dfad0d4be58d26d5e91450f5f29d90ed5"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b556ca4310389f3cc402bf0a47631846f46d0d914ac8351f52d4ae393a44982c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e3b6e857c3dba87fa9fa3c4218f22ac1763cef836879a037391762f3ef177208"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"29521c17b67b52f36cf2762cdb631d6dfb1f6ac4539579133b1b71fb405dbb27"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6566c4ca8236949f66e813cd1c10e5d7590bf545607acc4ec76b2e518b069d3b"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"703b990f6d9a60db46de372b4bc3713bc769740b61be7dfed2b23b523664ac12"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"07871dbb3098c49249cd85da3cb761e8f1a0a7a6fcb38c9dabd4b2f5be925aea"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66705ae58e39a1e5574eba7a4b6c905705e239beca206405a3577a723d34a870"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"97af17c4578061b94e8bfd5848395fa05b4238fb2914688beaa225b128bb697f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc26593caf509b487cb3dff9d1a587737a02c72fc5e13e59c1a151f7d6412ad4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9545660e6add0322e3f7b23092a9bdb2b9ecacff6395f93e694cf9dc97bdaaa2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6bc3b539f953f180f304780b633bbb65e6d2911ce57503f2f0e4a05dfd504060"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee6da1b051ddff31eece62e737e90827fa671274985f5a26bd0f59d7c044006f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"482e3b19efd040fb2215efbc5e65f5b9996234817368c5a9198eb89910e46231"},"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":"28fb95c74cf7e51a3f6e58d6d5d9aaba698bdc10ef21fbd45c72dc90736c26c6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0c83793ab31bf3bc4e3cc0017a93931cc44a534267eefc63c9d22d4546750e6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c56c8f9c909ad6ae9511a19a007d973d620dbf480ce02acf90a7a01720caab19"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a5ff6c36cc77c52281fa395ac6b9e1e18754b22fb93caffb8d30a7715d1e22e8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9efc61085c90fbe1ede50aca3f9690f82fe1c1cc9bd1ace2abe757c1e913f452"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"de24fb5b2f9808dee7349e0f8b4bf4e8fc0b77a05b8578184e5f23b813b48863"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1375048b9ca8ef192c23faf83af425d2e99a11eb2f6e7951f3d837d8c63c990e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49423b6754fd89d4f177efe19a91488e8e6b0e174dc46f41bec86e14f72877cf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ffcc1b724469248fcd864b1901b4fb0cedf5b911fb5d6075b57cf61232c29e8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dba947422e5342f3ec1c8c79cd0d382f193ca875a3cf3b831fb3cd646cf4c808"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"56d9371fb2efaf7518ba7ca36b309fcf19a4dd77b8fedb20a641b6ff91c06d3c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc17439367157c6f6ff8590f4dfe29bc3a0ce4e328d99df310f8a49a2877af10"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b6c5abc46a89961d43e2a4b6c57fdc93dd198d7d8a7b95e5f4d19517388d3a45"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b165dc25608924fb598c4d5c8fea1b5563e7ceb1c3bba91e1d13a9616573379"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"80f685af033e0e099551def08b89d30a6670f0f98b9ad406109e5f4b7115f189"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb62bd62df46422bff19cd1250ecbcba54f1e8af98e1f15ef37a80a31ca7f86d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0afb4a1a27300ffab38a04252b630a859b628cbea4f2309726d6f2a5f1f80f37"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1ad43a0db568b46e85205e6eb8def74d759dc62c3a3082d7c7de015986c7f27"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"327da793849e481440b58e14776909c9df46bf992255336f59bd3738a87a7177"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"28bc1fbb4263873ee6a941b5af673cbc7585eaa2699c38886e6f0ec65c9c3404"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2856edced79011aadc58f757c570219a6fca8957d58cad67b0cd5dc80024311"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bdd5229053065adf96f1d1905acff5ceff2037609a1ea61b3ab4e9e6b2f5a129"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54a42167a81cd671e0cc1fb70cba1e567d95828198effa2f6526a6ad65b7cd03"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1397014c9f4ef07a7a0f4b8f9180bec7d22fa39520ae243ef38c5d62e5307c92"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c371d2fba4ba656cc02c1528fe432f7931506b09e264909071272eeb4ad6f269"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"51a22104b6f40d1b2c85e3c141cb969ca00c64a86933666cbbdd08f5ebaa4f4e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ac37f53f35688072be70f30121830e053d170ed85047727e9354a10f697c78d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"704c11ce05afb5c0e9e9eef202821770f78b5fa250d7627656866ade4079528d"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"38fd6e292230a06b8f606f09c9aecece8bb0737e6606a28b81df2c2f30441f50"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96faa60a4e911b0adb4028666b9d4ba52e46d922ce8a7291f8b36e253e834b7c"},"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":"f0fb8d4c8cf4684d3e3b1fd39352ea48999e2a16db06c5803b4a9e23bd286ce6"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b3d2904ece27c31dd572120db19a96006a65699970894c6af0f675b5061abe50"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bca05a9bdc18c46ef193272a232909d5dd93b9b992e0a3e71617612a23940b70"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94c49e3d6d12948acbfc1cc4c3adc43ce5d48a19ecd14d364541cc0eadd887b6"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"c0c89f5a72e26b6dff41b98ee1462ecb8c0c6d488e715d1b4115f0f93b0719a9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ed9b9257c57a46c4843b801ef32f2e036182e45db28756dbe23dc24194b5d89c"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"7e90054a4b0c3784e3bf086184e6da9d3cb01e4509a754b31b26dc0ccb8c6141"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"3122c957967267f8feefef18b930284fab2eb50aa5f920c16c071817eebe2cda"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f5d22ef35d56cc80f43ccf4203c24e3308cb13689af507350d51d15c5087fa9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e112d7dec905379ffbbfbde67d80270845acf5babcb7ca7dd924bed45fefa7b8"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"607edacc2948e636528b66d42999c6ec0282c8bace8a6cdfc30b45fab8045360"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"67ca39c4aec561c4b9c58e4fa6d28c535e373491a469458b2a72ebedd43b7481"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a3266abf66fc9862a7738dc9adda85a9bce5db5739d3571668e9be1844b4362"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05da9a9287fb4b372ff5448b1e7785e7635433ceecf4ddd529a689d4306704d1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c8304fafa0127fd57e23fb9efaa10aad30d8a68ae39f1394663afe8f2ba9ab7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f9b9136bfe0a5adaedf79ce13a0a50d018a9d38e4db3d0b22fa6cb1ce6896f6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"335faef8fdb290d1c5e40179076f86e13edbc2d9f18818253928fb55c93a68d5"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"b0b32f74f4bb678996cb58fc41eda99cab8b9e5ffa56c17b7e65072e15a730ff"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9253ccc4f3b9f66101fc240f3e0843bc7a38abf7e5cd05f1e169aed2350e384"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"6f45523a9a30651df12f89be33cfabd49e82f317a65803cf8b5b013a9f7c6057"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"a1560d0a6932bde6ee33e0e83c340c6e6ce2f959f48a999680daf338a3eadd2b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e75c6bf289bf9dd7f2e5b0f3e12d5db5a7ad366a057cee26b0175632687ee3c8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"088465e8595e9f2c8eed23ff1c2de6771f0ff0bf794374b97e47e0cbdb9646f6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f794170ce42f25efa501103e1d50465197f6c436ab25d392d6019bbde248bb61"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b4b6b71a13a5ed06f0805b130915472bacd89b4addc2759fb3cf44433060091"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1641bb05173a8dfffbd1a5379a8b5583ca12370ea79b51d8cea6bb1813ad4789"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"14a60ae6bb09bbbbabbbd3091b31ba2c6e8d2458136577b13f6cfc8a4b0752ff"},"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":"6104d6d34ddbf1ac13133d138820691b849b6d4670b973e66cf340f6ed0f9ac2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"69140322cb2cc7d9a56436ecc87bda129f2a1706be134a0d04b404ee6f8557f3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a98874b52339568bcf094cd59885251569f564fa345715da2960c40364126ae7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd545fa65d0ca08d30bb3f5d2d3e7fac102811ebfe2149e6c957c959fc029ed5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"738c746c2072bc7784cf220450136c5963d240313b45943d3d5235faf7737aa4"},"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":"eb50587a88560d4eaddda70f28c9215936a6ec4db92457d05741cfaeb37d5f54"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f5d25664524b8b3407a80f270b1bcc2ba493145bdeee666033b6d35b66ffaedf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3732158dce32ee248c0acc2206747030d4153412bab1c0138cb3e42f63995fa3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"edcf303abaf0091a70b6dc9fbf7c5045cee0dfa1f8023daa3660acd302fade4a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab8d83539c5ebe567cb6deae98d392d6617f9ea4001a34a9a21fb3f393c0be8f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"95740b583969c78c7132f35629806263a32606dcd6d14eefa8ad5abaeaae0af3"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"e0a6a76e357f79280fe1ed2631220f5ab2288335a7c53507bfa9e530ecbece13"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"d23dc5356e24d6be3ee06ddd8f4da2d7886273b7810072ab4b5e4ec2b1f633c5"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"b11b8ef21ddcf388cd97c56fe5947f1dd6c91b7fc7b48a6505e181b090cbc01f"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"5b38e1f7a74c628245dfa85b798839cd587686438172002ec49609d0c1799d8d"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"919c2224fd0c94aca1b143a7b3234814ba99feded009f15fc507f677a6061d89"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e244386a53fe762503d579de26fe16ade7b68dee973f887e6a774bf6a7611444"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b62aac2bf0ccd5a801fb36a79d5da7c2f084e10b437dc83c47b29d24a91e9c22"},"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":"97ce9f630c90a6694552f2d4d42ecb4f7b6b901def6a8552b7f1113620d64095"},"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":"ceb75ab3442c42a9b5a867fbcab04ead67e1b1bfd8a8ff24ffd4f08ce9c24b5c"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c2b9f30266a4450ed4117ff76b0ebc5422b154846c3f3c05ff97151cd3ee287e"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87f4ec065011e464066065584a851d1380f399a7bf6dd1eea4b5b4fc21b1781a"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c0702054bf886024c9101c186b8ec6d7fa21b5f909d9264bc6081203f46dba22"},"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":"6957cde4fa5e9bf3883d1df85a4a1a92decf4ff3f88a01ed7e5396bca6167660"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1e84237f93fb4f84d25f44a094d8d36502a6daaceb9378d9466470bc7abb9b0d"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"fef6a90b1b0ebd9c3f764c18b880fa6cf9c22b3110e2f7c8fd86b0b6f68e1aca"},"taxa":[{"id":"CWE-942","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":"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":"dd943cf75578f336651f9f54b9dd061aba75590af9b5c7c631d7be0a31590be9"},"taxa":[{"id":"CWE-79","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":"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":"3a11b31355029af5c4795091c00e004da8eaf959fdf362e0bc40cf485c7f2b9b"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"b43be544c3dc2d42499cb89d06a99e0f48402355895f32233abfc4b6cd8a710b"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"e46ea4087053f261002082101156d9eb4c5f44df48a013aab79807244b7e6ef7"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"8c5bfd3f691a9ccc0bdabb4199b090d7f1439a763ec5ef11502d8dac6abcc783"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"dee03ec76b201b3b92b77efca4bf16b17f60dd83aa609fd6bdba395012e17a12"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"48e990817fcf49663f5d0a816ff35d9bc7a411a03bd8de22df543cdb1e1c12a2"},"taxa":[{"id":"CWE-89","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":"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":"2b63107424a99a13ad20ce9dcc1dd92c0e5da8a4575e6ccb187030e6661bef70"},"taxa":[{"id":"CWE-89","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":"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":"0ba961f769967f26c0b2639dc2e6eb13488c80ba04a416eb5d30c5c74f4530af"},"taxa":[{"id":"CWE-89","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":"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":"bb829dbe5e1fccd59ea783fc3243001a39f9b7ebbc5727274eda63ee814f7d3e"},"taxa":[{"id":"CWE-89","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":"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":"3bcca57f93c85c94416b2bb43ea8736a95c0bfbe72a575d000cbf1de125dc07f"},"taxa":[{"id":"CWE-89","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":"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":"557f35d160493e2c7e4b627bf7ef5c266ef571cad0e38d7cf1bb034b6efaf0f7"},"taxa":[{"id":"CWE-89","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":"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":"06fca84083c0bfc3dd122518cdb625e9d359384c768dec61e35246365a2a0221"},"taxa":[{"id":"CWE-89","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":"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":"719852f6e71a8da9c459e801880f02d8711e9acdba171895d822d930c683863b"},"taxa":[{"id":"CWE-89","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":"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":"389abc0b7b85b4c32342c78bcb3000b59e6c8ab6cd8b12363eec74ab2dd75b20"},"taxa":[{"id":"CWE-89","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":"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":"6fff98028b17536fda2dfbbb7bde331d458cd2ed7eacf3b76433f44ee3d4c5da"},"taxa":[{"id":"CWE-89","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":"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":"7c12d739b7464cae1f4ac3d9ba2b0a8d472ebe30ec0478096b94a9052306619f"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c625c32725a087ea7f78b10c873714fbaf75bbb9106230690f9dd24e697304b"},"properties":{"dependency":{"package":"tar","version":"6.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA 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":"e2d12a2ed523ff11e8a4293b07567c1905eae70c1f94367680961b32ce503486"},"properties":{"dependency":{"package":"python-multipart","version":"0.0.6","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]","[GHSA redacted]","PYSEC-2024-38","PYSEC-2026-1850","PYSEC-2026-1851","PYSEC-2026-1852","PYSEC-2026-3036","PYSEC-2026-3037","PYSEC-2026-3038","PYSEC-2026-3039","PYSEC-2026-3040","PYSEC-2026-3041"],"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":"339b77c044efd62d8347b185454e92aa0e8da32adaa2cf2231022f23909de7f2"},"properties":{"dependency":{"package":"json-repair","version":"0.55.1","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e023a8c33b6c8e95857047e8187941fea72297f81ec363edd28a6fb10c83221e"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"febbb5899bc519cd1f1adf01527145760473b79bf3d3c5d5316e5bce6de91c17"},"properties":{"dependency":{"package":"@xmldom/xmldom","version":"0.9.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"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":"ed04dd40eae5d50e73aa8c9dccecc26f9bfaa585d182447e1eb2c421acf6df36"},"properties":{"dependency":{"package":"app-builder-lib","version":"24.13.3","advisory":"[GHSA redacted]","aliases":["[CVE 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":"5cff56c3efaa77f1af8a2bf4eff2eacad824798fbcbab7c37f0f00125c9cc8c9"},"properties":{"dependency":{"package":"brace-expansion","version":"2.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"c5fc8aef8312f5f47dc091b5b16418ed2187a36e98986f82c397bb9e498663db"},"properties":{"dependency":{"package":"electron","version":"31.7.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"apps/dsa-desktop/main.js","line":1}}}},{"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":"2f0d11f2952fdf948f767d3122fd735a138f6fbc5df6d0fe56042f53fba8a21e"},"properties":{"dependency":{"package":"extract-zip","version":"2.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE 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":"06818676fa5c9303627ed91880b0e54e4f911bbf904cd03066e59c9686e4a17a"},"properties":{"dependency":{"package":"form-data","version":"4.0.5","advisory":"[GHSA redacted]","aliases":["[CVE 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":"42017c4d9f181b37db5f0b8148d0c10b916c6fec21a23d10b7735c878d4c679e"},"properties":{"dependency":{"package":"js-yaml","version":"4.3.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":"9d57c771d2df99ee97a648ba279d821d07d43dfbed3c1926761c26e565a282a1"},"properties":{"dependency":{"package":"tmp","version":"0.2.5","advisory":"[GHSA redacted]","aliases":["[CVE 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":"ad5b7b463eeddd832fb28b4de179abf4daa9f1c06ad24c6c4161f410f4f62419"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"3f3ffcdec5a2330ac829443830a10b023f3565c2dbbbe960f6c3dd243e3768dd"},"properties":{"dependency":{"package":"minimatch","version":"9.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d8bb2032b54a9d1ace418593d7f706edd3c432e54cafba509576544050319c03"},"properties":{"dependency":{"package":"axios","version":"1.18.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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"apps/dsa-web/src/api/error.ts","line":1}}}},{"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":"76327e46fe6a5222bb7ca84362a892c5b8be8e8e1866cc165d04ace6f0ea99ba"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"f2f5b72ff6845f2c19bf1b5806b65ed1a74a4bd5eb3bbc42df7428a4f7de9792"},"properties":{"dependency":{"package":"browserslist","version":"4.28.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE 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":"70a092ce77c7cda9259c234050a08e09fd94c7aed7248edbdeb584482e5bd0e1"},"properties":{"dependency":{"package":"flatted","version":"3.3.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE 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":"97cf7d546e65c86330e2e41e0e507c7dc78f9e19b2c18c992558994b882300a0"},"properties":{"dependency":{"package":"follow-redirects","version":"1.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE 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":"253d27d59f16ba3d8543cc42513eceadc8aa5dc1daa55e89d4abb11bdd140e6e"},"properties":{"dependency":{"package":"form-data","version":"4.0.5","advisory":"[GHSA redacted]","aliases":["[CVE 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":"868c79aa16ea147aee4eb429ffa0dff9f9355ca1e6f2e798832adbc5c1b93032"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE 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":"bdc9a36a1bb728a8a6887eb0ad2e27b581fb9086d51cf7e387f50c551f14e519"},"properties":{"dependency":{"package":"minimatch","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE 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":"b1cedf6ffb536b48215a086d2e0522eed4d328babe9bcc50cd5ceafb7b5265dd"},"properties":{"dependency":{"package":"nanoid","version":"3.3.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE 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":"04de730083a471e95b0aee73fe3827930c09ca1b70513e7183101cdaee7fd6e9"},"properties":{"dependency":{"package":"picomatch","version":"4.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE 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":"194a92c790a77d6bcc0a3090a9edd3de558c5566e3ad10b2e30466c11067af19"},"properties":{"dependency":{"package":"postcss","version":"8.5.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"39152dcf967f5235cbc722afced81f606485f7270772ff019b87c0f81b2319ee"},"properties":{"dependency":{"package":"react-router","version":"7.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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA 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":"2f39580a0d556f9618b2095ae00b87b0a17fa5e3d0f43f6e6c94d61d15015fcc"},"properties":{"dependency":{"package":"rollup","version":"4.57.1","advisory":"[GHSA redacted]","aliases":["[CVE 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":"b8a5ec828f69bcd6b4ac65f306e9fb3c74ea573dc9746cb7241a7b7df4dd7bf0"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE 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":"21f3b19d42892efc76323227ec72c80b62d6586927ffbb0eb9cd75c454c7bc52"},"properties":{"dependency":{"package":"undici","version":"7.24.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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]"],"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":"cba4a162e64f29b25fead6797ae6afeb226027f1129100eaef8ce105292d3870"},"properties":{"dependency":{"package":"vite","version":"7.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"apps/dsa-web/e2e/market-structure-card-visual.spec.ts","line":9}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bb263b1d5fdc398c5f22d0b78a68c95a95fd6b67aa2b17a2749278fc7328fb32"},"properties":{"dependency":{"package":"zod","version":"4.3.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"40ffee86925ed242a312bc41b7a077e9b7baf3575500076524dd4f6639bc6e21"},"properties":{"dependency":{"package":"requests","version":"2.31.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1872","PYSEC-2026-1873","PYSEC-2026-2275"],"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":"053c3eddac7965c81f21bfc0e6506c94ee423024c92527db3a26e53efaa112a9"},"properties":{"dependency":{"package":"jinja2","version":"3.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1471","PYSEC-2026-1472","PYSEC-2026-1473","PYSEC-2026-1474","PYSEC-2026-1475"],"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":"b6294ebe3c6b56200eda07da0a4d9ecb9309190837a46d8f2daa702bf48a5f6e"},"properties":{"dependency":{"package":"python-dotenv","version":"1.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2270"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1da641bae1021a83eb46b1b276e790a6af3d892d7a9ba7d17e60e27393b38083"},"properties":{"dependency":{"package":"pynacl","version":"1.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1448","PYSEC-2026-3002"],"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":"7f34c83430c61d2fdd8e497eb367e1a6f0a94ea1d06f687a322c8a3bbb73074a"},"properties":{"dependency":{"package":"fastapi","version":"0.109.0","advisory":"PYSEC-2024-38","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1850"],"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":"1192a3502f60c06d67ad0d50e8e705b2e695856339a1fad2c7970f87fd26e0f3"},"properties":{"dependency":{"package":"glob","version":"10.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f9b89252c2bf504d9e6d6c1d95f9136477f232f8fe7f1bf8d00116963406950"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a0aa96c0fb1c582d86904654e5a3b11ff33baf42ed6ea3fb58b9863c0d601371"},"properties":{"dependency":{"package":"@humanfs/node","version":"0.16.7","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9c910c1da3f89f37cc969b5bcfce02be3b6aacfcf877676617107e77284fc51"},"properties":{"dependency":{"package":"@vitest/mocker","version":"4.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"535ae66dab337f2e705b514d68769606447e5fbca7cc53f9e96dddb5d8d6f17f"},"properties":{"dependency":{"package":"ajv","version":"6.12.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"086b3040207d74e5150d3830925549a72f0c0bb3ac16f757323ac4bf32e325ab"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.9.19","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a249085206f8e79e0919dfb15a59169a7c2aaf5638a35034b24d4f0439775e84"},"properties":{"dependency":{"package":"vitest","version":"4.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"apps/dsa-web/src/components/alerts/__tests__/AlertRuleForm.test.tsx","line":2}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5bdb69d444002830eaed59879afd02e5ecee88896f96ec28ebb6415af11952fe"},"properties":{"dependency":{"package":"@babel/core","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9deb0b3e9568df1171bacf908174d514cb7e71041f1c1975b38340d1bde8fc0"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e0cfde0dfff92a8e4e19275909c93aa1d7b46f944f4c3ff0c2591168a99bcd6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b48f03c6d895e6282e786f976285bbf52272eb29a79f33689f124e8a7f969950"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/deliberation.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ae6b04c1cd05799319f0892e03c2ffcf3222b1bb8468c1f591a1ff67763271"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 43 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: src/brokers/futu/portfolio.py, apps/dsa-web/src/pages/TokenUsagePage.tsx, bot/platforms/dingtalk_stream.py, bot/platforms/dingtalk.py, scripts/generate_stock_index.py, src/notification_sender/slack_sender.py, apps/dsa-web/src/components/market-review/MarketReviewRegionSelector.tsx, src/agent/final_explanation.py (and 35 more) (44 orphaned of 421 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 421 of the 539 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/brokers/futu/portfolio.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4771cb93ba61cd7da39937449de4cfc6c22d48c44ad93b7697a6719d5b129d"}},{"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":"apps/dsa-web/src/pages/TokenUsagePage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6b01b8500b999a4ae2d86dc7f67f1ffef6c55f2461384027cb493147f4c9ca"}},{"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":"bot/platforms/dingtalk_stream.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eced2ec9076925524da7e2a10f9995030cb2823244717b0385d291624172ffcf"}},{"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":"bot/platforms/dingtalk.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a0420a4c5f90c699ec62cec984adae96b5ba0526754e48830bfc448f92bcfe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate_stock_index.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2563502ab0955a429d4d4b757f5cadd85f2808475aa053102130d2ce3b0f4e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/slack_sender.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9cb13c0d48d86e5aeaa784cd80b733fff851db4d2bd69d4428033a9819b509"}},{"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":"apps/dsa-web/src/components/market-review/MarketReviewRegionSelector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7166e1d6c643630c28059fd83a9dcb64c698b0e7a44a59603765a00d4bcf382"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/final_explanation.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4aade0bb5c23c6e5a40e8b7d85f81b05401ab8fee8e709f5933a9c9550105a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/pushover_sender.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f42880b9cb27d3ba2f0432ebf695de7c663ca9011feaaf226f294285e8adcc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/wechat_sender.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"020e02bc3f325ec1b6967e03e5d7955affb1be20763943deeb004f6e2902bad9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/skill_opinion_weight_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d091747b6a1e22f334b2165a2d99891f4ac78c19822b2d06a638a3342b45450"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24f43ffd7404d3f63a90d6befde0067d13bac3f31964fe14b0ea61d8c9d9e65"}},{"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":"apps/dsa-web/src/components/run-flow/RunFlowEventList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a43b7cf65160047c77f9650a5cc47f77b07834e36f5aea48c4fd237005beb3a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/patches/eastmoney_patch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98c879336af227eb06085e0cb1b32e1c1c16d512737d60273098aa72ee7c6cb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/scheduler.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3c632e6dadd05bd3e3f4854b6b87aba69808428ac614bf206ef820617f6bff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/feishu_doc.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2999dbb8c30a528b2a6766a857943911ac45717fe7cbf489f4380f81efb080a"}},{"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":"apps/dsa-web/src/utils/searchStocks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"313d004564750968b35ff354670ab94b15bf39b4a9e4e8547da4cde83ebcf88a"}},{"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":"data_provider/finnhub_fetcher.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f0f86258d42bd4e55c23fc62b8cf469cb2b84d778bdc75e8b1cd1817aa76a5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/skill_opinion_outcome_evaluator.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1971546402819b877c96682fecbddc489223696799dc592911fa907af5f9ea8c"}},{"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":"bot/models.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e5ee9ec150a7e0beeeb31a0bd05b200f35e55cb28d64329e3ac5f1204b84c1"}},{"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":"apps/dsa-web/src/hooks/useAutocomplete.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1f14641bcb6dcb7a4d77fc5e9166a4317bdec781ee30e778a5082993f66cbe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/stock_repo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"849bc8847143719a4176b806f528c0f157a55cef489206dc0282a7af842a86e8"}},{"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":"apps/dsa-web/src/components/run-flow/utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d24925a40220fb6ccf5cc6d54b37d85e150bc7ffcdad0edbff0d8e1f9eeb02"}},{"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":"bot/platforms/base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cae837277c8621b7b4d8d95b5367c891cbdccc975927331bba3be722bebd4c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e_test_feishu_app.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"277dd7a0dfcc509ba6b4ce5ff6b3259fea3a1112ca559f11d570412ed780abdf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/pushplus_sender.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7939c3eada2c3389bf0262179639988f9e89efda62446e4262135a576e96c1"}},{"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":"apps/dsa-web/src/components/common/ParticleBackground.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc94b77d026ba2d67fefb010a83ab3aa19ed16534dc0f39125ec0387e4360d6"}},{"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":"apps/dsa-web/src/utils/portfolioFormat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f3ba5e6d3f57b8d2af689c687a04b578b3f1c49468f5e2ffa74012b0c49084"}},{"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":"apps/dsa-web/src/components/common/Tooltip.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"634ee6d05726d35d10a2ddc96825693f77a28a802c6211929e9dee7dd7d9a19f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/skill_opinion_sample_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"754a488256bf7fbbd1d6179a33dd47e418c1f0c5be037d42f9049945f2289e6e"}},{"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":"bot/commands/help.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c18e536334f6b730825386a3493051fdd797f63c82569802399620d6f6878a7"}},{"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":"apps/dsa-web/src/components/run-flow/RunFlowSummaryBar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e37d9fc4670065fad0cb2e6e8a05a2378e9792b72f21338bc14b584e5758624"}},{"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":"api/middlewares/error_handler.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ecdd9828683493d68b5d2700f3c59f38504f71713c942fdd7c4527db9f1840"}},{"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":"bot/commands/batch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1914f9f2629aff3fa3147c8dcad857ff1040d2d88bcc6960ada7cdc32dc976"}},{"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":"apps/dsa-web/src/hooks/useWatchlist.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9d94e8a5b1b4c366236b481681102d3e8497d8e570ae6d9ed107a953ce74ee"}},{"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":"api/v1/endpoints/usage.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa2296c5bb0a4d5697772641422f40e29e0844d9f733a78532cbf42df201fa7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/analysis_repo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3310c28226ca7a29b5f3328a235c92141989e2891e2910845435d8c52d9f879d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/astrbot_sender.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"472e25a289ecdc94bcda37b28a2374cbfe5d6e388df75d747a93d14425036c49"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/serverchan3_sender.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76827ac0a1f5bbd1ddc1b0415006b430fda6409917bfc34e32013341271e6c89"}},{"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":"bot/commands/base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4d88a638bfcea1bfd4c2f8c22f250de57d49196f5c5cb8c6c9ec61be531396"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/market_review_region.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8d5f9e12e31e12f8205f5a11cbfc4480671be709fe26be0313f191ba235c1e"}},{"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":"api/deps.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e706a156277da1e6355c7af9973b4f1753b43fbf514bb433b945a67087b2d044"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/skill_opinion_sample_repo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83a8a7d7af88e639f0673ce084b0d14d51129ca7a80d7c3a8c236029830f333"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: HomePage.tsx \u2194 stockPoolStore.ts: \u0060apps/dsa-web/src/pages/HomePage.tsx\u0060 and \u0060apps/dsa-web/src/stores/stockPoolStore.ts\u0060 change together 92% of the time (11 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060ae19329d\u0060 fix: stabilize watchlist details and workspace state (#2126); \u006001ebf70a\u0060 feat: add reliable home watchlist workspace (#1984); \u00605eec5336\u0060 fix: refresh report after reanalysis completes (#1809) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/HomePage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f824387a1de4d065dc4057fb29f54d89078660c2238e4618eae2e9b2e7a9a78e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: portfolio_service.py \u2192 portfolio.py, PortfolioPage.tsx, portfolio.ts: \u0060src/services/portfolio_service.py\u0060 changes together with 3 other files \u2014 \u0060api/v1/schemas/portfolio.py\u0060, \u0060apps/dsa-web/src/pages/PortfolioPage.tsx\u0060, \u0060apps/dsa-web/src/types/portfolio.ts\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/portfolio_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"397816f274d85d8d66b3a9015a61b5beea6aa609dd2416616afe917980ce7cd1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: market.py \u2192 main.py, pipeline.py, search_service.py: \u0060bot/commands/market.py\u0060 changes together with 3 other files \u2014 \u0060main.py\u0060, \u0060src/core/pipeline.py\u0060, \u0060src/search_service.py\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bot/commands/market.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1885bb4627d329ba97afca175f0a4a310a27d32d5257fa6e4382fa7b436ba27d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: settingsHelp.ts \u2194 config_registry.py: \u0060apps/dsa-web/src/locales/settingsHelp.ts\u0060 and \u0060src/core/config_registry.py\u0060 change together 81% of the time (22 of the 27 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 22 shared commits counted here, the most recent 3 are \u006009730e47\u0060 feat: integrate TickPlus A-share and ETF market data (#2504); \u0060280cdb66\u0060 feat: integrate Miaoxiang data provider with safe monetary parsing (#\u2026; \u0060fb4735a1\u0060 feat: add Futu OpenD as optional HK realtime and fundamental data sou\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/locales/settingsHelp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"219a229f2dee08f454de256726c416fcb17f68c6df1af9448a1796c0711c9991"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: system_config.py \u2192 systemConfig.ts, LLMChannelEditor.tsx, SettingsPage.tsx: \u0060api/v1/endpoints/system_config.py\u0060 changes together with 3 other files \u2014 \u0060apps/dsa-web/src/api/systemConfig.ts\u0060, \u0060apps/dsa-web/src/components/settings/LLMChannelEditor.tsx\u0060, \u0060apps/dsa-web/src/pages/SettingsPage.tsx\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/endpoints/system_config.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff93094dffd33330f4370ccafb6de63b688c3bc9f4c69e31ceb09fefa12f2550"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: systemConfig.ts \u2194 system_config_service.py: \u0060apps/dsa-web/src/api/systemConfig.ts\u0060 and \u0060src/services/system_config_service.py\u0060 change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00607b39b73b\u0060 feat: add generation backend status diagnostics (#1883); \u006062adb5c4\u0060 feat: add Hermes local HTTP generation (#1824); \u0060fef9dfca\u0060 feat: expose env config backup in web settings (#1253) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/systemConfig.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"930df891574321ebc2982821312601626d181746778727b711888ad615595dfd"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: systemConfig.ts \u2194 system_config_service.py: \u0060apps/dsa-web/src/types/systemConfig.ts\u0060 and \u0060src/services/system_config_service.py\u0060 change together 79% of the time (11 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u00607b39b73b\u0060 feat: add generation backend status diagnostics (#1883); \u006062adb5c4\u0060 feat: add Hermes local HTTP generation (#1824); \u0060a75a0c50\u0060 feat: complete p6 notification channel cleanup (#1275) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/types/systemConfig.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de65c85f275bb680d55f35344bc72a35b87ba44ec669ac9c2f033ce6ec562cbf"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: systemConfigI18n.ts \u2194 config.py: \u0060apps/dsa-web/src/utils/systemConfigI18n.ts\u0060 and \u0060src/config.py\u0060 change together 76% of the time (28 of the 37 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 28 shared commits counted here, the most recent 3 are \u006009730e47\u0060 feat: integrate TickPlus A-share and ETF market data (#2504); \u0060b740beea\u0060 fix: \u516C\u5171 SearXNG \u5B9E\u4F8B\u53D1\u73B0\u9ED8\u8BA4\u5173\u95ED (#2226); \u0060831ada53\u0060 feat: apply Bayesian skill outcome weights (#2123) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/systemConfigI18n.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6a07358cee4461d14bfccdf7a88dd90536aa1e1343b76d8aa18cecb3a0d7cf"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: router.py \u2194 __init__.py: \u0060api/v1/router.py\u0060 and \u0060api/v1/schemas/__init__.py\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00600709b17e\u0060 feat: add data capability contract (#2289); \u0060ad15ebce\u0060 feat: \u65B0\u589E DecisionSignal \u6301\u4E45\u5316 API\uFF08#1390 P1\uFF09 (#1645); \u006000028d41\u0060 feat: \u65B0\u589E\u544A\u8B66 API MVP  ( P1 )\uFF08#1202\uFF09 (#1314) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/router.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a80edef71f35911f4f4d9aef7af053095656a01baa7f39444c7dd0bc01ab314"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: StockScreeningPage.tsx \u2194 screening_service.py: \u0060apps/dsa-web/src/pages/StockScreeningPage.tsx\u0060 and \u0060src/services/screening_service.py\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00605fa42fd9\u0060 feat: explain screening selections with evidence provenance (#2305); \u0060e126c791\u0060 fix: \u589E\u5F3A AlphaSift \u70ED\u70B9\u9898\u6750\u7F13\u5B58\u56DE\u9000 (#1691) (at that commit the file was still \u0060src/services/alphasift_service.py\u0060); \u0060a81dc3b4\u0060 fix: optimize alphasift hotspot details (#1677) (at that commit the file was still \u0060src/services/alphasift_service.py\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb9280380bc5e1a3238b15a25c9ec9569478be23b881894011245eb631d3cb2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: router.py \u2194 storage.py: \u0060api/v1/router.py\u0060 and \u0060src/storage.py\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060cd376085\u0060 feat: add intelligence source ingestion baseline (#1708); \u0060ad15ebce\u0060 feat: \u65B0\u589E DecisionSignal \u6301\u4E45\u5316 API\uFF08#1390 P1\uFF09 (#1645); \u006000028d41\u0060 feat: \u65B0\u589E\u544A\u8B66 API MVP  ( P1 )\uFF08#1202\uFF09 (#1314) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/router.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa749762a0508ced6337fbac1dd207ebe7e7dc28d187efa91411ec8873916909"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: systemConfig.ts \u2194 config_registry.py: \u0060apps/dsa-web/src/types/systemConfig.ts\u0060 and \u0060src/core/config_registry.py\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060189b2fc3\u0060 fix: \u8865\u9F50 Web \u9489\u9489\u7FA4\u673A\u5668\u4EBA\u914D\u7F6E (#2106); \u0060a75a0c50\u0060 feat: complete p6 notification channel cleanup (#1275); \u00609f562384\u0060 feat: \u652F\u6301 ntfy \u4E00\u7B49\u901A\u77E5\u6E20\u9053\uFF08P6-A\uFF09 (#1271) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/types/systemConfig.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3b6d4aedf1775e6c3b2e3a97c9fe13a610a429c77048097fb0e74fc306c2df"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: screening.ts \u2194 config.py: \u0060apps/dsa-web/src/api/screening.ts\u0060 and \u0060src/config.py\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006029fa0504\u0060 fix: harden AlphaSift source stability (#1832) (at that commit the file was still \u0060apps/dsa-web/src/api/alphasift.ts\u0060); \u00600ed60102\u0060 fix: \u5347\u7EA7 AlphaSift \u5E76\u517C\u5BB9\u70ED\u70B9\u8BE6\u60C5\u9F99\u5934\u80A1\u5B57\u6BB5 (#1714) (at that commit the file was still \u0060apps/dsa-web/src/api/alphasift.ts\u0060); \u0060ecc370e5\u0060 feat: adapt AlphaSift hotspot contract (#1675) (at that commit the file was still \u0060apps/dsa-web/src/api/alphasift.ts\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/screening.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8c220a8b9ef6790b27990eba0d187624e63f17da80b05fe61085015ecf538b"}},{"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":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"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":"5663edf3b9ac8989dce0d3f20283b899abb3bd7ded3e494106d88c109c95d350"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19d4cbb252a3e4997007fe629a8fde65a6a24e745494155b47ed43cbf523f1eb"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/ParticleBackground.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e47d66ccd030484cb1877261b03998d14eba8d2b4fd36f1a276bf614c98d4d6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/history/HistoryListItem.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cecbddccd077466c7770750c8688b78b10b6d4381ef0b57ab480d4a093c2db3d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/history/StockBar.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"565c2729d468707f0cc01e8d802f40dc52045f2e888e9d7627a26fa7fcfa6b46"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/IntelligentImport.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4a9cc4ffd3ed74ad9fa2f6e7bae09af2f36ce7ec4f0b3758089cb381c760da"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/IntelligentImport.tsx"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ee158938c1a3ca08bc780b48b49d7947564bd76a6c89f1c3697b710c1e83b4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6d82c9776e7758def9a6800e7e3fce7de49aae557046885b3a4742993ed7d4"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":2416}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe20ef1ed988150f19c354c870647cb1784f928df827c36f304d4fa67928dcb"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":2496}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0567876265ddd218b66fdd6655eb171c73b85f1b68df2326dd6ed47b1f9050"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/BacktestPage.tsx"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29da36efd6b81197ae08468ca490082e731a9bfb5ff56d92b329c250694e69a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/BacktestPage.tsx"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a78e6cd9624d2a03477363869f4afcb8b61080d1bb45e79c222fa272e0314d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/BacktestPage.tsx"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1784c048c81cab32f73a13ae7efb2bd85e20c7e9fd012448fb99d85ddb2672"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/ChatPage.tsx"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d047e575718372b3847d1da924d6c57688602aec12b576d0a15c1783dd21a55"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"262cb27a7965691b40c6cb67ec34c2544c1d074150b1def157e40bb80b08ea6f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1459}}}],"partialFingerprints":{"codehealthFindingId/v1":"23736b3f8b470dd0ccddd81cb9a646536757037f94cca6745a37775c95d78132"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"f486337e8f1d0d60b3191735a864317ccd6ec114d3288d366faa3c004906b3f2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"933bc2ec928c8bf2be4542ca2102759ae255122cd549a37e97e36e22a56905b3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da38f846bf3abf264ebd7f471ea8199ac79ea7c9cd57336195a885aeeaee9a4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9c74b9f5fb849ce93a9432a94cee271f09e0d2f7f3e83097a7b50fe2b967d9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1906}}}],"partialFingerprints":{"codehealthFindingId/v1":"470f674c371bd294095676551a84d4457bc3514c60a3c2ee2920efd2f1108215"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1909}}}],"partialFingerprints":{"codehealthFindingId/v1":"8012681721b768006319d053b750c5373f53272b5d60d69fde0ce94aafdce3a6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1911}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91f2201c5d57b1d286c1538729553d36958d13ac9db422c87469529772d96df"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1918}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3f1a00d12697c675b50a6a44606a8bce81927617da2497487b60a6d0569c09"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca6ad56c8b9a05172cfe7882e30f49f4b6a8387150dc3da637ef1a3380d4e02"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7e5a749cc2a618e89bb46f6bb628723dcce74a05f0d7403aa50dea01901ec9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1926}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79b8c5f02f34081aa35928cab67e81ff398afb02bc02f987ed506162f7921ca"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7706a7aa0e18b961a7e6587796aa25a871523bc7f66037f1933a64e2b7cde3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1940}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed92e7d70e2ed733887346f4c71b679323fb13a2bf78a619a6951d357f7b232"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1946}}}],"partialFingerprints":{"codehealthFindingId/v1":"506d27a9bfb6f58508d41484feede5bb6a3c0a0315c168d7aee10fb19417a9fe"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1948}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7eb102f030a06c934bb9b51c631aa9778ce4089d95b9d42e5213c9af6bbd4b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1957}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13dfe82c56066e855ff823dd1c4095dd46298e2589014a79e56a00815396f5b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1960}}}],"partialFingerprints":{"codehealthFindingId/v1":"3005d4ff385ffae0f6a59c541e07cfcab7ef4ff42037936b743d12ca0f7acc5c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1962}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c0e01d8762ef725bedf462d105b984551fd6f5cb6b6c1566de1d801e458440"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1969}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce19529a8383a475183157fd997511e5f151eeb0d3faec8a372bbb6ea46c7b07"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"1330886b9d58d7236fd13f2a66d4c8378da7903ef453a841d8fbb561c94b54c6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c4c35c49ce7f5282ccc2079c11b11bc5be071e8d269b3307fcb9cbd48df373"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":2043}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e19dc01359733a9cd36e3e75c9bcf481e3690c034e4b085227440dbebcbd51"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":2053}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8d5850403981c40e94f1cf70adad9799db1b38e792ac34ed66a0aa2eb5ed70"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":2054}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08b8141cb5dbc203deb582a006f68c0e1ed08365a8845084786f62fb35796ad"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":2057}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47b3100aff465a25c129477b9422a3457a8b1fcb0b2ecffdf017725cf96fe47"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":2061}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f913e3f50205d993541b9fac992f555c345d561df602c421bc456f74429344e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":2068}}}],"partialFingerprints":{"codehealthFindingId/v1":"572e98642fa4d44137557dc01c59b101fe1857941671e297d66b219d2af46988"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":2076}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea6bdc9c60c61e537ce03b422039e987bd45df925dbfc595b7510ebb65158be"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/renderer/loading.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4283b00fd3d6b46378b568fc65e8c50f336f224551b63dfa337327e78097083e"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h4: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportOverview.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"3913d24ec35ed0dcbe09ec5f3c394f9bdaf4bf19ca8ace05f786bb86f9d5e0de"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022option\u0022 that no keyboard user can reach: This \u003Cli\u003E announces itself as a role=\u0022option\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022option\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/StockAutocomplete/SuggestionsList.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89fdc9c928b12d7ac766d5e6b13b0932313c732f0d86c1d6667f05e96d7c691"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/Drawer.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff6797fa60573f39c398e1221a405b35df8baf6e33dd826437561fda9500f58"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ctr\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/history/StockHistoryTrendDrawer.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"83531d946d3dc4dcbc76d26ace7188c8ecef175e00879e1534d955364bc3bd83"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/layout/DesktopUpdateIndicator.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff85809f69c4ad0ee2dce10677f34e2a3aad1867d1ca8b2f08ca0a6a9bb9dc1"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/market-review/MarketReviewRegionSelector.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f940e6ffdf1c051836ec32cbd26c43ded0aa2949a37c63792201ebb7e2a2c1c"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/ChatPage.tsx"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec143eef96f38be4b4527e4232300f8e8410c0f44a4f7fe48808e51cb037937b"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/HomePage.tsx"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"e718f53fe095e6660eb2e6e8beb61730c568d93294fb73bce317502883ec9bc6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.dot\u0060 moves (\u0060animation: pulse 1.5s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/renderer/loading.html"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"946febcb5bb68db8e0399102d20384231f463c55d02952c6e96d2c36ed54785e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/StockAutocomplete/StockAutocomplete.tsx"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ba81c30ed814a594e17af291f737bccb2d63b0ad2235797ef442c0a30118ba"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Csvg\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/Button.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"716dcca4eaf78fd7a6023716b94f82700ee7ef957c17c0201d0f7171912bda05"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/Input.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d4efe524cf306830881c01c3e0b522f54a6adc664454eaa84e730e8ea1fdae"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Csvg\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/Loading.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07c2cdf2485ebffd218bf663e22e77e5effb2ee7f1426859a64cfb0978a1d0c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/dashboard/DashboardStateBlock.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfc27fcc1fb9ac417b269553c08b1e2a403558c6ae099f9abad8ccafb580e7c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/history/HistoryList.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d4e4dd45401518e3210f03bdbe7cbd86140e84f6c03e3375a855ba2c9a0089"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/layout/RouteBoundary.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3270f2cdffd74235a0472e39d70ff7de0b661c7284d0c0c6ef30f6c300873e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/MarketReviewReportView.tsx"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aaa91af500baa5d9519521542a06b9c3442b22658645537aa0fa61786ca6505"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportDiagnostics.tsx"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"200895c2a36c272a1e24e1749ed9f3da3e8d81995f958e38ef3063c18c3209cc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportMarkdownDrawer.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a43471b233ff2ba1b7ba37dec759dcfac64e642912d0e771509720c19b28156"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportMarkdownPanel.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"96905d69c2c7dc54e0187552dfefcbb4f00ed389742520c6ea6b75888ae8718d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowPanel.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09777d607ef2aa22c6d106443702d67720fe8a188f4acae66496b105b26e361"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Csvg\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/BacktestPage.tsx"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f83cdea57e883a64d457057fc4e8ace9417b1f9d24f1c31abef1529217b5179"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Csvg\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/ChatPage.tsx"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"43da27dfcce7c48363ea9c83837325c93f9ba244901386663a3197e88386bb39"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/ChatPage.tsx"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"79efb8d5422c0fa824c1d595fb93c1ba7172eb2e8510b0e527fa5b2aa7ffea4d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Csvg\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/HomePage.tsx"},"region":{"startLine":1636}}}],"partialFingerprints":{"codehealthFindingId/v1":"df77d02afb8ceeb3e47803d147f4367b6cae50b61fc3bfbfd380a23b5686fbd6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-[shimmer_1.5s_infinite]\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/LoginPage.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5e773e95b73047f635171f75e8f35eac31a4a6f3bdcb18d27e91eb719eb743"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.9:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4070eba06eab79c39ce6831ba9b5d6845c7a5a377e81f6b32415677287b5062"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.input-surface\u0060 moves (\u0060transition: border-color 0.2s ease,\n    box-shadow 0.2s ease,\n    transform 0.2s ease,\n    color 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/index.css"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d9ddccd74f796d5872b0fa425490e95ab68866a8d4d54f291ebd063946c31d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.animate-fade-in\u0060 moves (\u0060animation: fadeIn 0.3s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/index.css"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9bd0d7f4f4fb0be973d85e62fbd44b213ab26903cfdab0d0e94695f07b591d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.animate-slide-up\u0060 moves (\u0060animation: slideUp 0.4s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/index.css"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"243ac6274ca39c204de7d9dbd87f61362bada73eb54732b3501e9c9d362c67e1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.animate-slide-in-right\u0060 moves (\u0060animation: slideInRight 0.3s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/index.css"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"f685d1c4355a93ccd87479db6b4e5ad0c1fc46fd2375e2f01501bb9ab0e71daf"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.animate-spin\u0060 moves (\u0060animation: spin 1s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/index.css"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"492d32a595ab60a9d9a186bb897f1c80b3c177bab748eac6862ed401fc11afc7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.fade-in\u0060 moves (\u0060animation-name: fadeIn\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/index.css"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cab3bb0e8502e46ef585aac97cfe6ffed9b21ae3a71034d7965697a7bb7fc2f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.zoom-in\u0060 moves (\u0060animation-name: zoomIn\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/index.css"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"b601a201c7024bbe1ce2dd4f09da2e72286a9dcb59be32a9fcdf86d753075869"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.slide-in-from-top-1\u0060 moves (\u0060animation-name: slideInFromTopSm\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/index.css"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"c919bc7fa4dddaa94273bf421b57c2d6468f18192c241dca7e2b0ee2d2126719"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.slide-in-from-top-2\u0060 moves (\u0060animation-name: slideInFromTopMd\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/index.css"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb94464dbbfc5d65d8e03b199201b32c6afb6d304661d076146d34689bc93d1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.slide-in-from-bottom-2\u0060 moves (\u0060animation-name: slideInFromBottomMd\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/index.css"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1cdc51f46cabfb547ae56fe2924b314c96cc437c588579e22e62bf1028f418c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.terminal-card-hover\u0060 moves (\u0060transition: transform 0.24s ease,\n    box-shadow 0.24s ease,\n    border-color 0.24s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/index.css"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e413569878afa9d04516b51cf30f8f8fd21d55a852aa211a9b3bda9e6cfbed"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.home-subpanel\u0060 moves (\u0060transition: border-color 0.2s ease,\n    background-color 0.2s ease,\n    box-shadow 0.2s ease,\n    transform 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/index.css"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fecabaa5d4bf1d4ed6a41025c4109a90bf5081b40829ec0e7b5da900579e3c0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.home-history-item\u0060 moves (\u0060transition: border-color 0.2s ease,\n    background-color 0.2s ease,\n    box-shadow 0.2s ease,\n    transform 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/index.css"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf08cbf436db59cf0dd6738a1dd327a8249ca8376d3f1f443591016d63be2f3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.chat-copy-btn\u0060 moves (\u0060transition: transform 0.15s ease, background-color 0.15s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/index.css"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"111a38d5de548a31ad8860c18c6708258611598dd8bd5bb878a30d5d04ad2f88"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.chat-skill-checkbox\u0060 moves (\u0060transition: border-color 0.2s ease,\n    background-color 0.2s ease,\n    box-shadow 0.2s ease,\n    transform 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/index.css"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"063b203ffa6e4cefaa1a99413f78da0c738cf12f4030efa15f22e15b236d566c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.btn-primary\u0060 moves (\u0060transition: transform 0.2s ease,\n    box-shadow 0.2s ease,\n    border-color 0.2s ease,\n    background 0.2s ease,\n    color 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/index.css"},"region":{"startLine":1983}}}],"partialFingerprints":{"codehealthFindingId/v1":"260364f41fc2d6b4c419acb1806682df5a1c641c6c2aea6d75b5236710b84679"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.animate-slide-in-left\u0060 moves (\u0060animation: slideInLeft 0.3s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/index.css"},"region":{"startLine":2245}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa226366849f1f5ede872ef5ef1799155db10b7ebffc61e6adad1b47cd90feb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.skill-desc-tooltip\u0060 moves (\u0060animation: fadeIn 0.2s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/index.css"},"region":{"startLine":2466}}}],"partialFingerprints":{"codehealthFindingId/v1":"db79ddf6e0994d77e676e13353c5f02396d2851a3eeed87fe332be1135bb4593"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.session-item\u0060 moves (\u0060transition: border-color 0.2s ease,\n    background-color 0.2s ease,\n    box-shadow 0.2s ease,\n    transform 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/index.css"},"region":{"startLine":2494}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d172a02d8d9ef9dcb8e20d6fb3badf1a0402be573ff1576b57313f27a33385"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.backtest-spinner\u0060 moves (\u0060animation: spin 1s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/index.css"},"region":{"startLine":2747}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc2dfe93342889ee945d94d43784430d654cb07ce32acb96387e5c485eea687"}},{"ruleId":"AX3","level":"error","message":{"text":"Project dependency cycle: The projects (root) \u2192 api \u2192 src/services \u2192 (root) (one cycle inside a mutually-dependent group of 14 projects) form a reference cycle. Cyclic dependencies prevent independent build/test/deploy, blur ownership, and tend to grow into a big ball of mud. Break the cycle by extracting the shared types into a separate project both can reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"06ab53bf48f900cd058c3a245e9d464fe90285845f653aa8b4930ed0ff055650"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"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: \u0060apps/dsa-desktop\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 10 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/ci.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060apps/dsa-desktop/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/package.json"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb09c893393ca44be7c94dfa2c0a98d2fb34b4da1553f9fd0f2127104dfb2378"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/discord_sender.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d84d0912e8908718a729a369d98944b9a3158a9b2068badcc6ec35df4a8a1c"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by SQLAlchemy create_all() (no migration path): SQLAlchemy create_all() builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt Alembic (\u0060alembic revision --autogenerate\u0060 \u002B \u0060alembic upgrade head\u0060), so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage.py"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c45fc45c3f115cd9553b0c1ba3f968c739d40e44d48933f160df4c55918b5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 7 sibling directories (31 clone groups): 31 duplicated blocks under apps/dsa-web/src/ have copies in at least two of the sibling directories api, components, contexts, hooks, pages, stores (\u002B1 more sibling(s) not listed) \u2014 17 of them are reported below, and 14 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 31 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 31 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 31 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/alerts/AlertTriggerHistory.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8245b67ba8d51b14257da5808dffc61e590b717dd4d8f56be7f3995edb3410"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 9 sibling directories (7 clone groups): 7 duplicated blocks under apps/dsa-web/src/components/ have copies in at least two of the sibling directories StockAutocomplete, alerts, common, history, i18n, layout (\u002B3 more sibling(s) not listed) \u2014 3 of them are reported below, and 4 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 7 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 7 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 7 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/PageHeader.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"696f09c0b0e3577d7f3a54311a75489a0d51522194dea4f5bdf91c4e1360336c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (64 matched lines \u00D7 2 locations): apps/dsa-web/src/components/history/HistoryList.tsx:105 \u00B7 apps/dsa-web/src/components/history/StockBar.tsx:88 \u2014 the two spans are one implementation copied and then locally edited \u2014 339 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/history/HistoryList.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b39d43fec73be153a71b38f5d0b602fd68a1e95da88ee9e755472d84a99dfbe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (55 matched lines \u00D7 2 locations): apps/dsa-web/src/components/history/HistoryListItem.tsx:55 \u00B7 apps/dsa-web/src/components/history/StockBarItem.tsx:46 \u2014 the two spans are one implementation copied and then locally edited \u2014 241 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/history/HistoryListItem.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13f5f7afd434933ac0b67232ef0df9e0ce64b9035ba230e3a474e1759499f13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): apps/dsa-web/src/stores/stockPoolStore.ts:761 \u00B7 apps/dsa-web/src/stores/stockPoolStore.ts:824 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/stores/stockPoolStore.ts"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe6b78bc5a0919ba51c61d6c217ce6424db85e777d67b94f277943e8755c9c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (38 matched lines \u00D7 2 locations): apps/dsa-web/src/components/report/AnalysisContextSummary.tsx:361 \u00B7 apps/dsa-web/src/components/report/AnalysisContextSummary.tsx:413 \u2014 the two spans are one implementation copied and then locally edited \u2014 263 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/AnalysisContextSummary.tsx"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"758295efef89ada2ac04512cdd9cdd9b0f083041849f01ff31d26ae8860c3a72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): apps/dsa-web/src/stores/stockPoolStore.ts:477 \u00B7 apps/dsa-web/src/stores/stockPoolStore.ts:556 \u2014 both copies are in the same file, so extract the block 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":"apps/dsa-web/src/stores/stockPoolStore.ts"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ecc305266b0c5458a9c2f23b9aecbd5594cda5163d24f4d4d22d4951f36c92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): apps/dsa-web/src/components/alerts/AlertTriggerHistory.tsx:52 \u00B7 apps/dsa-web/src/pages/AlertsPage.tsx:334 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/alerts/AlertTriggerHistory.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea02b2ba2da0f735792692c7f88ff2004b5bf228241567b7d0f9d64bb65cf1ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (24 matched lines \u00D7 2 locations): apps/dsa-web/src/components/settings/AgentBackendStatusPanel.tsx:64 \u00B7 apps/dsa-web/src/components/settings/GenerationBackendStatusPanel.tsx:105 \u2014 the two spans are one implementation copied and then locally edited \u2014 125 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/AgentBackendStatusPanel.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7520ad173e36bd1d7a595b90d2fc5957da7bbd835311d93ff62d6bccd009a6d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): apps/dsa-web/src/stores/stockPoolStore.ts:1071 \u00B7 apps/dsa-web/src/stores/stockPoolStore.ts:1095 \u2014 both copies are in the same file, so extract the block 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":"apps/dsa-web/src/stores/stockPoolStore.ts"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b90228129503a1e8f5a148f6f36d2bfa29793795752045248151b4f5629436"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): apps/dsa-web/src/components/report/ReportDetails.tsx:114 \u00B7 apps/dsa-web/src/components/report/ReportDetails.tsx:140 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportDetails.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a76d07bf3175fb4d1426cb4071e2b29867cd45b9f5c582ac5eaee688f5d67c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): apps/dsa-web/src/components/report/ReportMarkdownPanel.tsx:105 \u00B7 apps/dsa-web/src/components/report/ReportMarkdownPanel.tsx:126 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportMarkdownPanel.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"440d572a4d468104e9ac62c6edc6ddb506b8b9ea19e593f33682b07f0649d72f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): apps/dsa-web/src/api/backtest.ts:78 \u00B7 apps/dsa-web/src/api/backtest.ts:107 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/backtest.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e8b171adcc6f8dac962a8b50b051d7dcf9f9dfb2bd919ef480f165891f9625"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): apps/dsa-web/src/components/i18n/UiLanguageToggle.tsx:8 \u00B7 apps/dsa-web/src/components/theme/ThemeToggle.tsx:33 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/i18n/UiLanguageToggle.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4cc3e37379f044991106a8933744d64183cf669c472e4dd15477fbb3d13898"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): apps/dsa-web/src/components/report/MarketReviewReportView.tsx:514 \u00B7 apps/dsa-web/src/components/report/MarketReviewReportView.tsx:533 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/MarketReviewReportView.tsx"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"3050cfed9ad4817dd6cf6f0bcc1a578dd57c09fd1abceb9e85e2596f42400d18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): apps/dsa-web/src/pages/ChatPage.tsx:795 \u00B7 apps/dsa-web/src/pages/ChatPage.tsx:936 \u2014 both copies are in the same file, so extract the block 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":"apps/dsa-web/src/pages/ChatPage.tsx"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdcc8500a9ddc56abac73edb377e7bc140b3d6ed67e0ca406dcd3c1bda354103"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): apps/dsa-web/src/components/decision-signals/DecisionSignalProfileCalibration.tsx:161 \u00B7 apps/dsa-web/src/components/decision-signals/DecisionSignalProfileCalibration.tsx:226 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/decision-signals/DecisionSignalProfileCalibration.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fd9273e45f54f5390fdc443b5803ce00fec641e0c862bad829e61627545d8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): apps/dsa-web/src/components/common/SectionCard.tsx:4 \u00B7 apps/dsa-web/src/components/settings/SettingsSectionCard.tsx:4 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/SectionCard.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f0d60a20604bfbb193a170034f3006aed8d4f50eaa74847668be2a6f1fc2fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): apps/dsa-web/src/components/history/HistoryListItem.tsx:29 \u00B7 apps/dsa-web/src/components/history/StockBarItem.tsx:30 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/history/HistoryListItem.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecded8257d899a89fff303033ee08a8a6a4d66a6ca515a57f3fa6d7cbae5957"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): apps/dsa-web/src/components/report/ReportDetails.tsx:50 \u00B7 apps/dsa-web/src/pages/ChatPage.tsx:636 \u2014 the two spans are one implementation copied and then locally edited \u2014 82 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportDetails.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1192239cae7c68312e9a7b497f52ffd56ac7db475bd09adab892ac9f6532b530"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): apps/dsa-web/src/components/settings/IntelligentImport.tsx:310 \u00B7 apps/dsa-web/src/components/settings/IntelligentImport.tsx:326 \u2014 both copies are in the same file, so extract the block 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":"apps/dsa-web/src/components/settings/IntelligentImport.tsx"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"09992a16d8eb5e3c2f127cdc62f10d67390395f20ecc5dd98860b309f5c66c0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): apps/dsa-web/src/components/alerts/AlertRuleForm.tsx:595 \u00B7 apps/dsa-web/src/components/alerts/AlertRuleForm.tsx:627 \u00B7 apps/dsa-web/src/components/alerts/AlertRuleForm.tsx:669 \u00B7 apps/dsa-web/src/components/alerts/AlertRuleForm.tsx:711 \u2014 all 4 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/alerts/AlertRuleForm.tsx"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac077e554fb8ea5a37bb0691ae47382bda6d183cc414afec59ceded53b6e703"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): apps/dsa-web/src/components/report/ReportMarkdown.tsx:7 \u00B7 apps/dsa-web/src/components/report/ReportMarkdownPanel.tsx:11 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportMarkdown.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f7ef0213548d5047a633cc501beb15973bff35da070b7d7f7bcbaa33b3673b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): apps/dsa-web/src/components/report/ReportNews.tsx:156 \u00B7 apps/dsa-web/src/pages/ChatPage.tsx:866 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportNews.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf6b7fee3fc2608fee3096b24138bf25ca82e79c3b6e9cb843e3424920cff98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): apps/dsa-web/src/hooks/useWatchlist.ts:70 \u00B7 apps/dsa-web/src/hooks/useWatchlist.ts:86 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/useWatchlist.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b18071e2c4a874b4a7a460926ebd55743319c3205f2b815afa4d48ed9aa8cc5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): apps/dsa-web/src/pages/HomePage.tsx:1777 \u00B7 apps/dsa-web/src/pages/HomePage.tsx:1823 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/HomePage.tsx"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06eb43159e0d77975e074d09074871bcf846bb8da321fd42bac0d87e6b087ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): apps/dsa-web/src/pages/PortfolioPage.tsx:1113 \u00B7 apps/dsa-web/src/pages/PortfolioPage.tsx:1136 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8ee04435e3758a648f96c51750971da663c5c498bba981339b97af6d924aa9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): apps/dsa-web/src/components/report/ReportMarkdownDrawer.tsx:67 \u00B7 apps/dsa-web/src/components/report/ReportMarkdownPanel.tsx:157 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportMarkdownDrawer.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4433ab48495e24ba09999e98a114d8bc6f459bdf36510064f2c62d7a2292e656"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): apps/dsa-web/src/pages/BacktestPage.tsx:528 \u00B7 apps/dsa-web/src/pages/HomePage.tsx:1627 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/BacktestPage.tsx"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"5837adf15f73c48729bd5bcde0530f18d19d94bf91bd89906e2f60e1267a4a33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): apps/dsa-web/src/pages/PortfolioPage.tsx:1090 \u00B7 apps/dsa-web/src/pages/PortfolioPage.tsx:1117 \u00B7 apps/dsa-web/src/pages/PortfolioPage.tsx:1140 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"4732b4c01fad6027e826628d5f7b71b264d193e1f490d2e506daf1231e6a8aa7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): apps/dsa-web/src/pages/StockScreeningPage.tsx:75 \u00B7 apps/dsa-web/src/pages/StockScreeningPage.tsx:774 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"68879f994af97ca1270ac0303f33702df9649fe5d8034df88bc36011be1fa995"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): apps/dsa-web/src/pages/StockScreeningPage.tsx:2087 \u00B7 apps/dsa-web/src/pages/StockScreeningPage.tsx:2101 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":2087}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9a79eb5edc6956e672a742273177cc7eeaf6c47c78de3b5db051b2b3d9e3a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 7 locations): apps/dsa-web/src/components/alerts/AlertRuleForm.tsx:571 \u00B7 apps/dsa-web/src/components/alerts/AlertRuleForm.tsx:593 \u00B7 apps/dsa-web/src/components/alerts/AlertRuleForm.tsx:625 \u00B7 apps/dsa-web/src/components/alerts/AlertRuleForm.tsx:645 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/alerts/AlertRuleForm.tsx"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65adf56f5bd16c40f05e17cc754822fa46a8a061256dcfd17791cd9dcbb572a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): apps/dsa-web/src/components/common/EmptyState.tsx:7 \u00B7 apps/dsa-web/src/components/common/PageHeader.tsx:7 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/EmptyState.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59b2e4de5441c9018a154b6135f151419748a98f50d1b30406250dec3149213"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): apps/dsa-web/src/components/settings/AuthSettingsCard.tsx:160 \u00B7 apps/dsa-web/src/components/settings/AuthSettingsCard.tsx:173 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/AuthSettingsCard.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dbfb7232f362b3e35e6fee6e63e8d7e60ac6a4c4a72c44a53356171d0d5d0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): apps/dsa-web/src/components/settings/LLMChannelEditor.tsx:2188 \u00B7 apps/dsa-web/src/components/settings/LLMChannelEditor.tsx:2282 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":2188}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f2229686a852814283f8f03e3c63dba9cfcb15174fd1063d6921e334c2155a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): apps/dsa-web/src/pages/PortfolioPage.tsx:819 \u00B7 apps/dsa-web/src/pages/PortfolioPage.tsx:833 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82e4633cf390f0983cf58692b934c7ee970930c6597af2caad386361d28c654"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): apps/dsa-web/src/components/common/Select.tsx:72 \u00B7 apps/dsa-web/src/pages/ChatPage.tsx:797 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/Select.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb9c4e21bd577d4ad3460c5432fdac8593a269cc3d2127e1325de4b04afd2aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): apps/dsa-web/src/components/report/AnalysisContextSummary.tsx:338 \u00B7 apps/dsa-web/src/components/report/ReportDiagnostics.tsx:305 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/AnalysisContextSummary.tsx"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb96db2a081a3f7c4ba0ae09c88d428fe08ea2d7fea7991c815d6261ca1f67f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): apps/dsa-web/src/components/settings/LLMChannelEditor.tsx:2143 \u00B7 apps/dsa-web/src/components/settings/LLMChannelEditor.tsx:2301 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":2143}}}],"partialFingerprints":{"codehealthFindingId/v1":"428c23752dc5c0c25ae317901edcdf88d1940552fcbfeb6ed8faee4e0fd2bbb4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): apps/dsa-web/src/hooks/useWatchlist.ts:32 \u00B7 apps/dsa-web/src/pages/ChatPage.tsx:157 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/useWatchlist.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4af0e5244c46062214695507512099b58a3e1c71b30f8d1ce41fbaf70d448db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): apps/dsa-web/src/pages/BacktestPage.tsx:485 \u00B7 apps/dsa-web/src/pages/BacktestPage.tsx:497 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/BacktestPage.tsx"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8328e8d1ee0283fec90aae0e9021a685f6c278e460c126ad00cacb47d350a52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): apps/dsa-web/src/pages/DecisionSignalsPage.tsx:1428 \u00B7 apps/dsa-web/src/pages/DecisionSignalsPage.tsx:1544 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/DecisionSignalsPage.tsx"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"895b99b4382f886e91ae85f8bdb4d6b2b4e23ecf0926c7a3ec60b5c853c28328"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): apps/dsa-web/src/pages/PortfolioPage.tsx:264 \u00B7 apps/dsa-web/src/pages/PortfolioPage.tsx:281 \u2014 both copies are in the same file, so extract the block 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":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abef3b46284ddc9df702921030a512ea97f5bedbbd8b4a6e41487d1f235afc9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): apps/dsa-web/src/pages/SettingsPage.tsx:640 \u00B7 apps/dsa-web/src/pages/SettingsPage.tsx:653 \u2014 both copies are in the same file, so extract the block 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":"apps/dsa-web/src/pages/SettingsPage.tsx"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fdb076f31ffa5ae38e8f896e71f6755222cc068ecc9d4bf054cff6e4b0af4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): apps/dsa-web/src/pages/SettingsPage.tsx:1484 \u00B7 apps/dsa-web/src/pages/SettingsPage.tsx:1536 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/SettingsPage.tsx"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77f77b843acec25b7f3b9d86cac567135c2caa709d9c504109ea3e1a5d4c138"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): apps/dsa-web/src/api/error.ts:63 \u00B7 apps/dsa-web/src/components/decision-signals/DecisionSignalDisplay.tsx:106 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/error.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"046a326e9621ad9b0964540470c0b539ae0011d0ea88eb32809fc43ca4975e5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): apps/dsa-web/src/api/portfolio.ts:118 \u00B7 apps/dsa-web/src/api/portfolio.ts:174 \u00B7 apps/dsa-web/src/api/portfolio.ts:191 \u00B7 apps/dsa-web/src/api/portfolio.ts:211 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/portfolio.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a846c795edf2c67dce7edf31d5ead30707b524a4020a52399761c8b5a34d840"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): apps/dsa-web/src/components/alerts/AlertRuleForm.tsx:544 \u00B7 apps/dsa-web/src/components/alerts/AlertRuleForm.tsx:724 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/alerts/AlertRuleForm.tsx"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cfcebb928b856e56a8595119e0200c965aeeaac95ecbc08abfbb20361b123f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): apps/dsa-web/src/components/common/AppPage.tsx:4 \u00B7 apps/dsa-web/src/components/common/ToastViewport.tsx:4 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/AppPage.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e06f1d67d0c3e1606dfd2ff4bef35eb0939b8dadcc891b486f48d51666a347"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): apps/dsa-web/src/components/market-review/MarketReviewRegionSelector.tsx:51 \u00B7 apps/dsa-web/src/pages/HomePage.tsx:490 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/market-review/MarketReviewRegionSelector.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9fe37f0078aa2e2f443387531fdf227f422d09cbf874702275d4262f2a7251"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): apps/dsa-web/src/components/report/ReportOverview.tsx:80 \u00B7 apps/dsa-web/src/components/report/ReportOverview.tsx:92 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportOverview.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0b6b110d3f1f94fef27d052359beab7e2561ed79724bcf7d2a58e80bdb58b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): apps/dsa-web/src/components/report/ReportOverview.tsx:330 \u00B7 apps/dsa-web/src/components/report/ReportOverview.tsx: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":"apps/dsa-web/src/components/report/ReportOverview.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a8859fd1b7bf3b1c4839eafa84c5b0cfe8cfa27961b34928761ae9f3a5175d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): apps/dsa-web/src/components/settings/AuthSettingsCard.tsx:142 \u00B7 apps/dsa-web/src/components/settings/AuthSettingsCard.tsx:161 \u00B7 apps/dsa-web/src/components/settings/AuthSettingsCard.tsx:174 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/AuthSettingsCard.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6086b394f6288b182b5dc1ec01f3d728915e0192114e98b76537cfceb5a499"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): apps/dsa-web/src/components/settings/LLMChannelEditor.tsx:2066 \u00B7 apps/dsa-web/src/components/settings/LLMChannelEditor.tsx:2081 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":2066}}}],"partialFingerprints":{"codehealthFindingId/v1":"815ab33434414ea0e8544d63361f2eaf5bc03359e89b7bb01d54a15633d3529b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): apps/dsa-web/src/pages/AlertsPage.tsx:167 \u00B7 apps/dsa-web/src/pages/AlertsPage.tsx:180 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/AlertsPage.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d15485984029001377ca8dec75b7275495d7c3d58809a0564388e86d72acf5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): apps/dsa-web/src/pages/DecisionSignalsPage.tsx:1281 \u00B7 apps/dsa-web/src/pages/DecisionSignalsPage.tsx:1310 \u00B7 apps/dsa-web/src/pages/DecisionSignalsPage.tsx:1321 \u00B7 apps/dsa-web/src/pages/DecisionSignalsPage.tsx:1452 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/DecisionSignalsPage.tsx"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d49e4517957cb2363b4c561ef2a25ff3f59a1ee3a0368c53d75d17f04c897c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): apps/dsa-web/src/pages/PortfolioPage.tsx:2099 \u00B7 apps/dsa-web/src/pages/PortfolioPage.tsx:2119 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":2099}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a28f371c5c8961c31f6314a61e9e12e0988dd39e770a87036ff5c23b1b66c2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): apps/dsa-web/src/components/decision-signals/DecisionSignalDisplay.tsx:66 \u00B7 apps/dsa-web/src/components/decision-signals/DecisionSignalTimeline.tsx:56 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/decision-signals/DecisionSignalDisplay.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb90142a33e0520bf1d911b17b8c00a813e681f7739959e8ec9f9ff97320a46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): apps/dsa-web/src/components/layout/DesktopUpdateIndicator.tsx:32 \u00B7 apps/dsa-web/src/components/theme/ThemeToggle.tsx:55 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/layout/DesktopUpdateIndicator.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a3e14f3972f4355f1d3ba48ca5e253e30f354236f62e15bc641f4e94ffb8ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): apps/dsa-web/src/components/settings/IntelligentImport.tsx:132 \u00B7 apps/dsa-web/src/components/settings/IntelligentImport.tsx:157 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/IntelligentImport.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5396a450f7f653d34d8301900d3abb486b0e9c9d6cb744e8e5316871c992a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): apps/dsa-web/src/hooks/useTaskStream.ts:205 \u00B7 apps/dsa-web/src/hooks/useTaskStream.ts:227 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/useTaskStream.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5b04882ae9747f68865294b4567824464fa8d979ac4df99086ef2c3e7798b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): apps/dsa-web/src/pages/DecisionSignalsPage.tsx:680 \u00B7 apps/dsa-web/src/pages/DecisionSignalsPage.tsx:724 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/DecisionSignalsPage.tsx"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"f321c26b283c3ac0db0d686e71feac3a975b91ca50a6e7138cc23f9f2d5e3421"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): apps/dsa-web/src/pages/DecisionSignalsPage.tsx:1086 \u00B7 apps/dsa-web/src/pages/DecisionSignalsPage.tsx:1107 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/DecisionSignalsPage.tsx"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6c05b2c787a2c236efc7fb2cb376ff995f43ea6c3e5b4787a9cfa06979b460"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): apps/dsa-web/src/pages/DecisionSignalsPage.tsx:1132 \u00B7 apps/dsa-web/src/pages/DecisionSignalsPage.tsx:1159 \u2014 both copies are in the same file, so extract the block 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":"apps/dsa-web/src/pages/DecisionSignalsPage.tsx"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"619b2263003af93057be1e1de9b72e68b5d9504dfe87f2dd38fb474ccda31f4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/dsa-web/src/api/screening.ts:374 \u00B7 apps/dsa-web/src/api/screening.ts:384 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/screening.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd81ba4dc30937909797ef920da5fce7d4f74d47bc055bb2ce7a03921aae4875"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/dsa-web/src/api/screening.ts:389 \u00B7 apps/dsa-web/src/api/screening.ts:405 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/screening.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf05dc0a71152bf6e4ff50d99bef36ea1399f57a7059f4e3a2b694a4f05ce6c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): apps/dsa-web/src/components/StockAutocomplete/StockAutocomplete.tsx:54 \u00B7 apps/dsa-web/src/components/StockAutocomplete/StockAutocomplete.tsx:258 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/StockAutocomplete/StockAutocomplete.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"760c3148b977cf35f8fae8875c5b1434486c2f7ad55de1e0ba5aad28d47f38c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): apps/dsa-web/src/components/common/AppPage.tsx:1 \u00B7 apps/dsa-web/src/components/common/StickyActionBar.tsx:1 \u00B7 apps/dsa-web/src/components/common/ToastViewport.tsx:1 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/AppPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c356302143820938b729f490f2245c3d771ce5c3777613a2fd26eec2403d56c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/dsa-web/src/components/common/Card.tsx:46 \u00B7 apps/dsa-web/src/components/common/Card.tsx:62 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/Card.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"42901bb8a53090e9f2ca361efc70e53622faa94063bf3e8e2c6dd74cb3c53ca6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx:513 \u00B7 apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx:523 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50d83deaf03334b09cae299dceeede5a5cf5f9facbf1128c2756b429e606a3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/dsa-web/src/components/settings/AgentBackendStatusPanel.tsx:98 \u00B7 apps/dsa-web/src/components/settings/GenerationBackendStatusPanel.tsx:184 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/AgentBackendStatusPanel.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87fde275f526a4dd377589bcca160ad2c0a5c7ee7e4c93711d3d28c23fea4f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/dsa-web/src/pages/AlertsPage.tsx:231 \u00B7 apps/dsa-web/src/pages/AlertsPage.tsx:243 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/AlertsPage.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"360248af4fcf8ef54ec68a26a5b7852367fa2aa6a4517e5bb5476a6eb23ec74f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/dsa-web/src/pages/HomePage.tsx:117 \u00B7 apps/dsa-web/src/pages/HomePage.tsx:128 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/HomePage.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"abef0071e46859eab98ea40579fdde2804b3573e06ca07ac7d3bc0afcbab2c96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): apps/dsa-web/src/pages/PortfolioPage.tsx:1067 \u00B7 apps/dsa-web/src/pages/PortfolioPage.tsx:1080 \u2014 both copies are in the same file, so extract the block 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":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a7ca176b14ea2976d05b4cb7dcdac64ac361f3022625f5a36c32c8266fd806"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/dsa-desktop/main.js:601 \u00B7 apps/dsa-desktop/main.js:1889 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/main.js"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f6fc140e5765ead67bcd720bbfed6ff9574b86c8ec0ea90ec72e8894fa532d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): apps/dsa-web/src/api/decisionSignals.ts:102 \u00B7 apps/dsa-web/src/api/decisionSignals.ts:115 \u00B7 apps/dsa-web/src/api/decisionSignals.ts:124 \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":"apps/dsa-web/src/api/decisionSignals.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeaef4fff53ddce3392222dc4be2a3b55622827dfcf41a34c496e42b3fbc3671"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/dsa-web/src/api/decisionSignals.ts:115 \u00B7 apps/dsa-web/src/api/decisionSignals.ts:124 \u2014 both copies are in the same file, so extract the block 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":"apps/dsa-web/src/api/decisionSignals.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafa94fa2c64cfed874b2d0c4c8348346f9d1648064ddb2fe4ae3cfae502ab54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/dsa-web/src/components/alerts/AlertRuleList.tsx:183 \u00B7 apps/dsa-web/src/components/alerts/AlertTriggerHistory.tsx:73 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/alerts/AlertRuleList.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4466f548ba5e5bf1b730415058ffc6fb6589d981971aaefcbd922e91162fbdae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): apps/dsa-web/src/components/alerts/AlertTriggerHistory.tsx:70 \u00B7 apps/dsa-web/src/pages/AlertsPage.tsx:350 \u00B7 apps/dsa-web/src/pages/TokenUsagePage.tsx:263 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/alerts/AlertTriggerHistory.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76298e0b0933d8de1e965506385b29bf704cb2ddf7cf80f73994c0d9f83a17e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/dsa-web/src/components/history/StockBar.tsx:51 \u00B7 apps/dsa-web/src/pages/ChatPage.tsx:627 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/history/StockBar.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccd8eba36b58a05c4832dfe8d400468ef065607e7c98f8d85325f8a0c912f15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/dsa-web/src/components/report/MarketStructureCard.tsx:238 \u00B7 apps/dsa-web/src/components/report/MarketStructureCard.tsx:251 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/MarketStructureCard.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e2adcc218e6448ebdd640c99fe78f8188fa525a923b8fd3b0142ac593bd5b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx:155 \u00B7 apps/dsa-web/src/components/run-flow/topologyViewModel.ts:74 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b12562ad8b7070e6e3fd92e7c35137cdb2c5a809faa707d48d253cd62c0995"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/dsa-web/src/components/settings/IntelligentImport.tsx:209 \u00B7 apps/dsa-web/src/components/settings/IntelligentImport.tsx:218 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/IntelligentImport.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a290ab04e8e81960366bc59e97621a37f6ae7e0a90fddd46ae6ff626f0f67a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/dsa-web/src/pages/DecisionSignalsPage.tsx:213 \u00B7 apps/dsa-web/src/pages/DecisionSignalsPage.tsx:222 \u2014 both copies are in the same file, so extract the block 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":"apps/dsa-web/src/pages/DecisionSignalsPage.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f474e5ec8002f7a4d008b5db0a6e95f84e83c9b365e2e2ed0b289bcc324553"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/dsa-web/src/pages/PortfolioPage.tsx:1854 \u00B7 apps/dsa-web/src/pages/PortfolioPage.tsx:1862 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1854}}}],"partialFingerprints":{"codehealthFindingId/v1":"57fb380e3fd910dd0f2ded9958af0a631bdbf848c9ac1a36604b29971d45efe6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/dsa-web/src/pages/PortfolioPage.tsx:1929 \u00B7 apps/dsa-web/src/pages/PortfolioPage.tsx:1949 \u2014 both copies are in the same file, so extract the block 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":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6f312379940b27e73629b47277434c227c7b23773a5684fa3428eb205f0d43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/dsa-web/src/utils/format.ts:1 \u00B7 apps/dsa-web/src/utils/format.ts:15 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/format.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"795ec8a7e10c46c762925eda2fdf9df6ed6a249c334111e56ee98d8d4e3b843f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/dsa-web/src/utils/searchStocks.ts:89 \u00B7 apps/dsa-web/src/utils/searchStocks.ts:133 \u2014 both copies are in the same file, so extract the block 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":"apps/dsa-web/src/utils/searchStocks.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd24ab3a2fd797953299047be070de68e5a69435d08b27c24da8674f79ed46a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/dsa-web/src/api/history.ts:54 \u00B7 apps/dsa-web/src/api/history.ts:101 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/history.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"812bff7ace307c299f6a37ad1600c3c511fcc5f258f54b25b4df55dabaf7f02d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/dsa-web/src/api/portfolio.ts:265 \u00B7 apps/dsa-web/src/api/portfolio.ts:282 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/portfolio.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88728ec243360083e8dc0708bbc17626eb0eae4f3ddfebfa3b937fd23c4b12b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/dsa-web/src/api/systemConfig.ts:138 \u00B7 apps/dsa-web/src/api/systemConfig.ts:168 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/systemConfig.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacaba48d619ccbe544e6d943e4377c3ba02b8c8e0ff89086affdcf841efbb11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/dsa-web/src/api/systemConfig.ts:345 \u00B7 apps/dsa-web/src/api/systemConfig.ts:356 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/systemConfig.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62e96fde324206d06e4a2889de5a8b60f87a1145f1b3a9992aa2410913a04c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/dsa-web/src/components/alerts/AlertRuleForm.tsx:587 \u00B7 apps/dsa-web/src/components/alerts/AlertRuleForm.tsx:703 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/alerts/AlertRuleForm.tsx"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d27623d309c6ad05a68fa95b2723cd7c2380e543b203b44792656ea5ca86a45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/dsa-web/src/components/alerts/AlertRuleForm.tsx:619 \u00B7 apps/dsa-web/src/components/alerts/AlertRuleForm.tsx:661 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/alerts/AlertRuleForm.tsx"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"151bbaa713d86ecfac9e9cba6616faad933db685b898da0e793c7a819c953e77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): apps/dsa-web/src/components/common/Pagination.tsx:80 \u00B7 apps/dsa-web/src/components/common/Pagination.tsx:101 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/Pagination.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c001bdb6b25ddc2e556cf31ee3a6854c23bf640c87a0330b88306e4a4377fafd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/dsa-web/src/components/report/MarketReviewReportView.tsx:593 \u00B7 apps/dsa-web/src/components/report/MarketReviewReportView.tsx:606 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/MarketReviewReportView.tsx"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cba82d84d0a32e6eef9420db4f5e098bd7fbaa97a95769542ec48d82a2a30dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/dsa-web/src/components/run-flow/RunFlowNodeDetails.tsx:291 \u00B7 apps/dsa-web/src/components/run-flow/RunFlowNodeDetails.tsx:362 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowNodeDetails.tsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde6fa205d5fe9c638ba133da33eaa4e15e3460ec7e28db71a5948190cd29e3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/dsa-web/src/components/run-flow/topologyViewModel.ts:47 \u00B7 apps/dsa-web/src/components/run-flow/topologyViewModel.ts:55 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/topologyViewModel.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0eb72e9276b788eb90f58cf61d2f9c7403f70ae4d487cca9e5a2e8029fe89f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/dsa-web/src/components/settings/AuthSettingsCard.tsx:25 \u00B7 apps/dsa-web/src/components/settings/ChangePasswordCard.tsx:13 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/AuthSettingsCard.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"221d856c912b33f6e8060d6af826a3a1bd91f94975aef6efda3c49659d43c413"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/dsa-web/src/components/settings/LLMChannelEditor.tsx:248 \u00B7 apps/dsa-web/src/components/settings/LLMChannelEditor.tsx:282 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3e1862bf799574ac4f644446bf0a21da5140483c4acc20dd8f7360ccaab0c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): apps/dsa-web/src/components/settings/LLMChannelEditor.tsx:1809 \u00B7 apps/dsa-web/src/components/settings/LLMChannelEditor.tsx:1817 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":1809}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e5cd11a6aac8603c3e9ce88fd7c16fb8d916de91a4c7ac10837a69736400f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/dsa-web/src/api/alerts.ts:16 \u00B7 apps/dsa-web/src/api/decisionSignals.ts:27 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/alerts.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a0185238e16200eb2f756af088804f6dc49736a0566d8928194eb63b173ce1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/dsa-web/src/api/backtest.ts:47 \u00B7 apps/dsa-web/src/api/history.ts:35 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/backtest.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f2c402ec05f77d23f5902c8104b908f911f0b895cb73ca149335fe26c49f63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/dsa-web/src/components/alerts/AlertRuleForm.tsx:143 \u00B7 apps/dsa-web/src/pages/PortfolioPage.tsx:672 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/alerts/AlertRuleForm.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"06502eaf63c336e19dbfeed1e2161dce128987e4a34f2701b101413304ea531b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): apps/dsa-web/src/components/settings/AuthSettingsCard.tsx:26 \u00B7 apps/dsa-web/src/components/settings/ChangePasswordCard.tsx:14 \u00B7 apps/dsa-web/src/pages/LoginPage.tsx:25 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/AuthSettingsCard.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"927f82a688c6558a8edf1d39590a23ab981239e5d0a62473b434a44d63dc91c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/dsa-web/src/hooks/useRunFlowSnapshot.ts:268 \u00B7 apps/dsa-web/src/hooks/useRunFlowSnapshot.ts:277 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/useRunFlowSnapshot.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec326dcfe96e077af9a91d3e39468dad215fd0c8605d46bc1b8a678f2c1bdcf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/dsa-web/src/pages/DecisionSignalsPage.tsx:1294 \u00B7 apps/dsa-web/src/pages/DecisionSignalsPage.tsx:1338 \u2014 both copies are in the same file, so extract the block 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":"apps/dsa-web/src/pages/DecisionSignalsPage.tsx"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"e645aba06a6b1a358fc0f361e8de2413b4d75d704a7d1fd7012586e0ed2b925a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/dsa-web/src/pages/PortfolioPage.tsx:1615 \u00B7 apps/dsa-web/src/pages/PortfolioPage.tsx:1623 \u2014 both copies are in the same file, so extract the block 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":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef176d8b443aac10926581df9b502fc759bfe3d5e12603e65ba47af83138f7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/dsa-web/src/pages/PortfolioPage.tsx:1902 \u00B7 apps/dsa-web/src/pages/PortfolioPage.tsx:1952 \u2014 both copies are in the same file, so extract the block 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":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1902}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca69634ce3a9510806702f8c0b61c27592641d3ca2aeb67c8b74b91f39c5b9e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): apps/dsa-web/src/pages/SettingsPage.tsx:707 \u00B7 apps/dsa-web/src/pages/StockScreeningPage.tsx:844 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/SettingsPage.tsx"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ae94c0290b590c7d17e1da038ab0649895d9d3a020633fc235d2ba1f91610b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/dsa-web/src/api/stocks.ts:16 \u00B7 apps/dsa-web/src/api/stocks.ts:39 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/stocks.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fc6debe84572f2841de367763dc87419d9761d4f18d979301330f28ad6db29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/dsa-web/src/components/decision-signals/DecisionSignalTimeline.tsx:73 \u00B7 apps/dsa-web/src/utils/decisionSignalTimeline.ts:47 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/decision-signals/DecisionSignalTimeline.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e81659552951cbb680d18ffbfefd3c82598b777921436abbfeaa3170abc234"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): apps/dsa-web/src/components/history/StockHistoryTrendDrawer.tsx:308 \u00B7 apps/dsa-web/src/components/run-flow/RunFlowNodeDetails.tsx:264 \u00B7 apps/dsa-web/src/pages/DataCenterPage.tsx:167 \u00B7 apps/dsa-web/src/pages/TokenUsagePage.tsx:259 \u2014 the 4 copies are spread across 4 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/history/StockHistoryTrendDrawer.tsx"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdcad74ec512123ddbc0fe0ee82a86ab2e86afedd52831ac8ef9f8e32ccf421"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/dsa-web/src/components/run-flow/RunFlowEventList.tsx:62 \u00B7 apps/dsa-web/src/pages/HomePage.tsx:1440 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowEventList.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0354350ed3e8a5179f15034a2baf08784eb5acd550de47cd616cecce9b47102a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): apps/dsa-web/src/components/run-flow/topologyViewModel.ts:77 \u00B7 apps/dsa-web/src/hooks/useRunFlowSnapshot.ts:68 \u2014 the two spans are one implementation copied and then locally edited \u2014 80 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/topologyViewModel.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"954bc5edc53674fc8c26a4b6ff9e0c689a1e2b8c77f6726cb93da46b47bebd23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): apps/dsa-web/src/components/settings/GenerationBackendStatusPanel.tsx:192 \u00B7 apps/dsa-web/src/pages/SettingsPage.tsx:281 \u00B7 apps/dsa-web/src/pages/SettingsPage.tsx:646 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/GenerationBackendStatusPanel.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"4425d0e312662a8319f725334cdfe708066e167479b6bcd33a8a415f9e0acc00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): apps/dsa-web/src/hooks/useAutocomplete.ts:69 \u00B7 apps/dsa-web/src/pages/AlertsPage.tsx:114 \u00B7 apps/dsa-web/src/pages/HomePage.tsx:313 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/useAutocomplete.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"145fb59fdffcd21ff2245e60cbb7bde24c2205f4d66fd6d20c5a116b60b348bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): apps/dsa-web/src/pages/PortfolioPage.tsx:962 \u00B7 apps/dsa-web/src/pages/PortfolioPage.tsx:1022 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b98441a112b61d52b9c2d0911ed8d9fd02e91bc8620480cc47773bde43c07c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SettingsPage (cyclomatic 117, cognitive 99): SettingsPage has cyclomatic complexity 117 and cognitive complexity 99; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/SettingsPage.tsx"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"13047d35a059950a5543a50bc5451e1c4e99683d2fd773fb2c2cac1785963e1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PortfolioPage (cyclomatic 113, cognitive 106): PortfolioPage has cyclomatic complexity 113 and cognitive complexity 106; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a23c894e9072ae878b7908e107541940541f96751cb8986864253b9e35a7407"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StockScreeningPage (cyclomatic 101, cognitive 95): StockScreeningPage has cyclomatic complexity 101 and cognitive complexity 95; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"54506d2b5fb2e101f68435c6dae1eda59661c05542349a9bfdc2ccf382a2036f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChannelRow (cyclomatic 59, cognitive 57): ChannelRow has cyclomatic complexity 59 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"4890398a0229a439b49bffcf6fb62671c94983ce18ad06e6f0b7301cf05f3950"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatPage (cyclomatic 56, cognitive 52): ChatPage has cyclomatic complexity 56 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/ChatPage.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c14784958d8d6c93c9c91c58bc7dde0dc7d28958f3ed58b3cfdf058feb5dc40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderReassessPanel (cyclomatic 53, cognitive 49): renderReassessPanel has cyclomatic complexity 53 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/DecisionSignalsPage.tsx"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"48040f2358a03c5c93aef663757e15e0b6317e07ff2f6e34b0d6fd94e58b3ee1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DecisionSignalsPage (cyclomatic 46, cognitive 43): DecisionSignalsPage has cyclomatic complexity 46 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/DecisionSignalsPage.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad160f4c9b234ac8b04309648c1c2ad437c732edcdf3222bb064c57d2b721c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HomePage (cyclomatic 43, cognitive 40): HomePage has cyclomatic complexity 43 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/HomePage.tsx"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"838f6c727e78fc8030b7df07acca08117d3e8cb849d9373472c917bcd86d3071"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildExposureRows (cyclomatic 41, cognitive 57): buildExposureRows has cyclomatic complexity 41 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"87409b2e2f94f1644dce53d5fdb85ea71892de8e50b6f8348c6cd07fa283b48a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 41, cognitive 25): (anonymous) has cyclomatic complexity 41 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/decisionAction.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2f1f7824246fbca15aa56b34720efa73d59ee690658715518b6ee4c76803ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatParameters (cyclomatic 39, cognitive 42): formatParameters has cyclomatic complexity 39 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/alerts/AlertRuleList.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f368d0aa30c85b3f68c8952284d459a6dd6b46576d6105132a7e95d36eaf1946"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseApiError (cyclomatic 37, cognitive 35): parseApiError has cyclomatic complexity 37 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/error.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66718520b8df56974d2e9a2f7af920a9a55488a47a5aced209e092e3b0cefb3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeStockCode (cyclomatic 36, cognitive 41): normalizeStockCode has cyclomatic complexity 36 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/stockCode.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"198713545cb22f8a19b87e46ee1f519fbc85173d7ac506f5dee553ff546fdd96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startStream (cyclomatic 34, cognitive 44): startStream has cyclomatic complexity 34 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/stores/agentChatStore.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23b538de018de2c4983fba6d3b14878cf908913dfe2f418d5b083e13ac2754d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeChatState (cyclomatic 34, cognitive 33): decodeChatState has cyclomatic complexity 34 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/agent.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5633f1f9bd6fa9a764ab98043172aec2d4c610ff2da82229c75371bc67ecb472"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Input (cyclomatic 33, cognitive 30): Input has cyclomatic complexity 33 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/Input.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b303cd98502c9bb24a18abde3651a4241d0151902e4bf94053828ccef0d6d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPortfolioRiskFlags (cyclomatic 32, cognitive 30): buildPortfolioRiskFlags has cyclomatic complexity 32 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eddd7ecef171ae8a672883c394b0141201059e5a40c46b0b3b6dfbe5a51c369"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DesktopUpdateIndicator (cyclomatic 32, cognitive 28): DesktopUpdateIndicator has cyclomatic complexity 32 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/layout/DesktopUpdateIndicator.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c1cc81472b4db9b192ebf3df59bce132c07091a6d3a6ca10af6b48c04038fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MarketReviewReportView (cyclomatic 32, cognitive 23): MarketReviewReportView has cyclomatic complexity 32 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/MarketReviewReportView.tsx"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef10ffa368703e28a48e01f38a81e833888bd9e2ca79e4bccefe0486e24d446"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 43): (anonymous) has cyclomatic complexity 31 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/alerts/AlertRuleForm.tsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ace793df9d4dfc084fa736825b86698636087b164f038f9737985dd2dcff4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 30): (anonymous) has cyclomatic complexity 31 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":1950}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ad04ae0bcae8273c48c8311d9b27de23a8af7eb0d6b83fc3a6463ba383cdac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReportDiagnostics (cyclomatic 30, cognitive 23): ReportDiagnostics has cyclomatic complexity 30 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportDiagnostics.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b0b9b17389b6b78119a2596ab13be615372ad973066415f2e10a15690e3cd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MarketStructureCard (cyclomatic 29, cognitive 25): MarketStructureCard has cyclomatic complexity 29 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/MarketStructureCard.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96b17fd21a9904e5492e994d35e005fb8ceceeb2a8ecfd718ed1b8bbfd9ae24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunFlowNodeDetails (cyclomatic 28, cognitive 28): RunFlowNodeDetails has cyclomatic complexity 28 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowNodeDetails.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e70f105a68f2f1cd656d87e18ec529124e633bfeb6da0a672b23b7c90969b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 35): (anonymous) has cyclomatic complexity 27 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/HomePage.tsx"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"34364d2cff9d402d5fe07d5daab46535567de176dcee1f6b1e2f33bf12da60a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDesktopUpdateNotice (cyclomatic 27, cognitive 29): getDesktopUpdateNotice has cyclomatic complexity 27 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/desktop/updateState.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"77650147176496afaf4e85e21612139d9dce4ad914cf64636bc77fe13c90dd83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SchedulerSettingsCard (cyclomatic 26, cognitive 24): SchedulerSettingsCard has cyclomatic complexity 26 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/SettingsPage.tsx"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"487cea75b40aa7d3af948c3c4837df3119ccb8c6d2d6134c1c0941ed63766daf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BacktestPage (cyclomatic 25, cognitive 24): BacktestPage has cyclomatic complexity 25 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/BacktestPage.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcdc14bce31a7ee3078f1e073e2a925c97164f27617da5efda413504edb38e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSave (cyclomatic 24, cognitive 29): handleSave has cyclomatic complexity 24 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"412eb13a16ec102e394cd8eb5f2326bfb83c0f604c05ee7239056480d0df6223"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AlertRuleForm (cyclomatic 24, cognitive 23): AlertRuleForm has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/alerts/AlertRuleForm.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9de3406c6c8ed9692181c8a881748d5b671d6768221a47aa74dac521ebacba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AnalysisContextSummary (cyclomatic 24, cognitive 23): AnalysisContextSummary has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/AnalysisContextSummary.tsx"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a76c8df04d207e3df4aa9883238ee6a454f47da6b42cc26a3986e27a55ba5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildChangedItemKeys (cyclomatic 23, cognitive 49): buildChangedItemKeys has cyclomatic complexity 23 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fda2b45bac4b0f1da53921b429dd77c4db5a37f7aefba42e73fb62a4c7312fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 34): (anonymous) has cyclomatic complexity 23 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/useRunFlowSnapshot.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"5441b9d9294b29adbcb2e3584e3cc082b179e985c21bdaf353aa97921ae0d374"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FirstRunSetupCard (cyclomatic 23, cognitive 21): FirstRunSetupCard has cyclomatic complexity 23 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/SettingsPage.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a78a91f6681b58f51dfe0df4866b935b33ddb72d4caf5cdc16f420a47d40f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeChatState (cyclomatic 22, cognitive 25): mergeChatState has cyclomatic complexity 22 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/stores/agentChatStore.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"0380a77c73604691a8e2ba009f9856afdf50af6b4ba757dd1c139a0044f3c663"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderMarketStructureCard (cyclomatic 22, cognitive 24): renderMarketStructureCard has cyclomatic complexity 22 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/e2e/market-structure-card-visual.spec.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4be54c03dc82deeec8a126f6cf64c6591979c85b333abf0889a6f8945c6f4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 24): (anonymous) has cyclomatic complexity 22 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/ChatPage.tsx"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36902112fd1e3558f4d2af0c2256a9d3c2a635a4d77014e33b3184b418b4e48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processLine (cyclomatic 22, cognitive 23): processLine has cyclomatic complexity 22 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/stores/agentChatStore.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f3fc94d7c528d265f255725b3878303b2e5559ee5658591189a9eb26884e0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskItem (cyclomatic 22, cognitive 21): TaskItem has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/tasks/TaskPanel.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead02f3a96d38c58cddbba2f89ea8e81e7b8401ee7e6bd7cd5e97071b3d1c157"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ThemeToggle (cyclomatic 22, cognitive 21): ThemeToggle has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/theme/ThemeToggle.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f1d46ddd2d0c69ff70acb0c87bf50ec02cc929614e9138e42352efaca56d1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AuthSettingsCard (cyclomatic 22, cognitive 18): AuthSettingsCard has cyclomatic complexity 22 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/AuthSettingsCard.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"86352771e20c7949b593f78a7554ff64705ca28810c452ffeadb035f9d11e7a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchHistory (cyclomatic 21, cognitive 25): fetchHistory has cyclomatic complexity 21 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/stores/stockPoolStore.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f56a2475a38d6cc6f00ce5a5a765f06c64c617c3d821d9894aec3976ef32e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 21): (anonymous) has cyclomatic complexity 21 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1c9e75339c19ef33062cb8e1b93e79beaf46f3276352a97e963556a9abec95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 19): (anonymous) has cyclomatic complexity 21 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/DecisionSignalsPage.tsx"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d66373269d943913b1cbffd3bdf4c40676ab278142aea26898fc7c11319f724"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 18): (anonymous) has cyclomatic complexity 21 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d497373a14e0c4477630fca95fdfae180adb293a786d1551f83aa83c028f697"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPortfolioRiskAvailability (cyclomatic 21, cognitive 16): getPortfolioRiskAvailability has cyclomatic complexity 21 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"049ff580d72ba237977f2592bf60616ca2e9f028e1492f0d4fcd72a0419c9815"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderFieldControl (cyclomatic 20, cognitive 22): renderFieldControl has cyclomatic complexity 20 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/SettingsField.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5c551d5b946b8e53f282bd9db479b40fd65763cdcba7f3598ce04fbf04bc23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 22): (anonymous) has cyclomatic complexity 20 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"708c52ff145aa04d4c6c92e8bd142c4b6b7e2e700ccbb14eb5bcd91c16b7d925"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidebarNav (cyclomatic 20, cognitive 19): SidebarNav has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/layout/SidebarNav.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d545b46b6e6a12f5b4c764f12473a3c4fce1bec6d0fb7cb8377988f00dd3c6e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WatchlistRowItem (cyclomatic 20, cognitive 19): WatchlistRowItem has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/watchlist/HomeStockWorkspace.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48f359595c28128ca052fc4325b800dddc872f1ad538e10e42c0bdabcb99061"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SettingsHelpButton (cyclomatic 20, cognitive 17): SettingsHelpButton has cyclomatic complexity 20 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/SettingsHelpButton.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"43eb68c012aaf32f7c4f14868999d36f6514f904195d0e122f8580660de7bb43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 14): (anonymous) has cyclomatic complexity 20 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/HomePage.tsx"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adf458e936ab9e5378a72b38ad8587c3fb274c8c06d5f5b2acff3f8b3a572a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submitAnalysis (cyclomatic 19, cognitive 21): submitAnalysis has cyclomatic complexity 19 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/stores/stockPoolStore.ts"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd6e9620270b652c8a39cc51a70fed5a35fca1e90ad35876ff250cb37b62aec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 18): (anonymous) has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/tests/system_config_i18n.test.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed5d787a9b75f741b19ff31bca299c91c4ea01b612a8b5fb9ba2a555424fbe1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReportOverview (cyclomatic 19, cognitive 16): ReportOverview has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportOverview.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ab42b5448b503d00a7cb2c697585e21b1ef9b613552df6aa99254043f59707"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 16): (anonymous) has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/ChatPage.tsx"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb262cdfd268768b1f793c4c075c2cce386539f69da20556e9586bd1397e463a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HomeStockWorkspace (cyclomatic 19, cognitive 15): HomeStockWorkspace has cyclomatic complexity 19 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/watchlist/HomeStockWorkspace.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"678c1b0e6726727a38663f2fa78e7c4850d0311db2423f5d08373f9d6a3a5904"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 27): (anonymous) has cyclomatic complexity 18 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ShareImageButton.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14f7f10fc31ac7623248342ad61b8a7833a39617c408f84bcd74982f7624b9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 19): (anonymous) has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/decisionAction.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3afc77c548ebdb380b4ac16e9166c4fb7e8e6c92a86970e1445b4165949d82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 15): (anonymous) has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/ChatPage.tsx"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb2e904e498bfb14ae29b9a08fb22b2b9a0e2c3e5558a874de063b799742b84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getHotspotSummaryText (cyclomatic 18, cognitive 14): getHotspotSummaryText has cyclomatic complexity 18 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d419ba4283d81210f45575b42de5b300df10361ec757f29be16af67ec08aca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatScreenMessage (cyclomatic 17, cognitive 17): formatScreenMessage has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"9312a62cbeaedaaae5afc459a7c608b472e7a3b7abc10b4dfde9122640111f18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LLMChannelEditor (cyclomatic 17, cognitive 16): LLMChannelEditor has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":1668}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7e5389c8383e5915846e95f46158e226baee2266114a4a966c84696b7cc9c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function calculateMatchScore (cyclomatic 17, cognitive 16): calculateMatchScore has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/searchStocks.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82ca508d17b13bd6af25daf2ad9d511e560865ce20b880abbea0a428f6cfccc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IntelligentImport (cyclomatic 17, cognitive 14): IntelligentImport has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/IntelligentImport.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e71080ab85a2240303c036c5979b1942eeebeff5aed6139b9fea9f93ca67dea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restorePackagedRuntimeStateFromBackup (cyclomatic 16, cognitive 18): restorePackagedRuntimeStateFromBackup has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/main.js"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b53a97f7241ccc336cd16a8c02f6dde1df671461a9767cd6d345a04ffaaa06a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UiLanguageToggle (cyclomatic 16, cognitive 15): UiLanguageToggle has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/i18n/UiLanguageToggle.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4eaf2e48f3df09e7a2a4bc06ddc4ab7fb491418faabf6c3bc0a38559369cf18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunFlowPanel (cyclomatic 16, cognitive 15): RunFlowPanel has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowPanel.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2628bc86f7babcf4156637142b5078e0d0c75d965a0514f84eba4b05346e511"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderDesktopShareImage (cyclomatic 16, cognitive 11): renderDesktopShareImage has cyclomatic complexity 16 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/main.js"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d985bb17368375bd4e02fedab986eaea940c0fab0bc955a7d9924662be6a1c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 22): (anonymous) has cyclomatic complexity 15 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/types/analysis.ts"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cef11e57e23d9e51a8f2b973c049b13e1324141f1cdd60814b9c953c762a945"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 20): (anonymous) has cyclomatic complexity 15 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/HomePage.tsx"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adaee6a9edcf299b4ccce1945e9348a4e006eb3dd0dd8bfcbebc1efc0e4f8a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybePromptInstallDownloadedUpdate (cyclomatic 15, cognitive 14): maybePromptInstallDownloadedUpdate has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/main.js"},"region":{"startLine":1642}}}],"partialFingerprints":{"codehealthFindingId/v1":"9882f757f2f476ba4db880e98114c800c7f3f434a3eeb1ea480b8594815fa36a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/alerts/AlertRuleList.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"211696741d123dfef0cf6b5ed9ee06d2624b03fcc57349e5772225307d0803ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ShareImageButton (cyclomatic 15, cognitive 14): ShareImageButton has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ShareImageButton.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6655c94955bc823483fea3f66f9b631a83ec8953818dd73f30bea8feab2cb00f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskPanel (cyclomatic 15, cognitive 14): TaskPanel has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/tasks/TaskPanel.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d1c44ad96a462bc1a89d54f75a7538c68e4b20a8dde9ad48fcb891f55baf3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HistoryList (cyclomatic 15, cognitive 13): HistoryList has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/history/HistoryList.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8646bbe4d30929242f23dcbd8949434dba146779b909bf5195831f85081e6b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveInitialChannelApiKeySource (cyclomatic 15, cognitive 13): resolveInitialChannelApiKeySource has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"749c9faecd3518b783adbfa8afa7a0b7dc140e84a81c46b3072ce27b8da8034c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveInitialChannelApiKeyValue (cyclomatic 15, cognitive 13): resolveInitialChannelApiKeyValue has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"071fe9aaa8afcb88510f9bbaa7e4e640b0009f85483ecec567b18dde9d408220"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AlertsPage (cyclomatic 15, cognitive 13): AlertsPage has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/AlertsPage.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f446c6bc19ffde7a19009b724617ee413d638c5e6a1aabe4ac018a12c81cb6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasCompleteSectorCoverage (cyclomatic 15, cognitive 10): hasCompleteSectorCoverage has cyclomatic complexity 15 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7d49a7f110e5cbe05ec4d4c132789a2f626988b32d743db38c30b1dfe29271"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installDownloadedUpdate (cyclomatic 14, cognitive 21): installDownloadedUpdate has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/main.js"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb4bcb26a58ebfc3be6ad6681684fa9d4e5aa029e2ade621c90f904b81389a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function consumeCompletedTaskSelection (cyclomatic 14, cognitive 21): consumeCompletedTaskSelection has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/stores/stockPoolStore.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"193548afe76fd238fca2e6d0ecff5b346254fea0b22998f9435013be8fd7f90f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareVersions (cyclomatic 14, cognitive 19): compareVersions has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/main.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cf8dd3b0dbcba2f05c049ae9191ce10fe3005f7bec234a483cbdda5b051534"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 14, cognitive 16): update has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/systemConfig.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6f8adbea8f1674f14a01b8b9ff3a5ca6b0ce0c71e2bed79ae074036061347b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeModelForRuntime (cyclomatic 14, cognitive 14): normalizeModelForRuntime has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bea9d30cf2c460cc2447ba93e80080965196f423588e043928b3d12e6ba8c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DecisionSignalDetails (cyclomatic 14, cognitive 13): DecisionSignalDetails has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/decision-signals/DecisionSignalDisplay.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"d223dd58d08bf2888dd2e03007ac52893c6e4204d1478b76834f3c3fb10408b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StockBarItemComponent (cyclomatic 14, cognitive 13): StockBarItemComponent has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/history/StockBarItem.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27265a6e943af2bdf7940931003a75e61a15e6f9250adb4bf45a2e76f2c45b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d39edcefd803f713f42508b516dea57cd75b525a0fd6b038844afc90293bf8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentBackendStatusPanel (cyclomatic 14, cognitive 13): AgentBackendStatusPanel has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/AgentBackendStatusPanel.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8274dc70b2b694700faed740e3f1a891bffe6487c378c74cf6a992aa7ff35a12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LoginPage (cyclomatic 14, cognitive 13): LoginPage has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/LoginPage.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa69a26d0b46c6892cd2a1be83247c164bf1530ada0512d782ee3b07f7bbb49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c63352c6768409c3c29e0421601d1e0d62ddcfc593279dc51a8d3cf28abd3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SettingsField (cyclomatic 14, cognitive 12): SettingsField has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/SettingsField.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"05866c06fe9615eab96e7cff731e3a8348ec28f28c8f906a911f14c1b8e5c279"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onHealthProgress (cyclomatic 14, cognitive 11): onHealthProgress has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/main.js"},"region":{"startLine":2007}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72f4fa4a59192ebd802959dd9d6e143a3e38ef93e83231a34b3e6f564e1e5d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 11): (anonymous) has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/topologyViewModel.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a05b50af720bcb41152bc5c5fc31e453bb2ef06e9c597e58b82925dfba4fca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeDecisionSignalMarket (cyclomatic 14, cognitive 11): normalizeDecisionSignalMarket has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/DecisionSignalsPage.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"670fb35f2c4e444e1669c133e4d5bcf11984ba58caad65eb2f1e34d603809d15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 10): (anonymous) has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/ChatPage.tsx"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f1a6543fde675bc3bd7468b5aa5d2efe6f3123320f6caecf7c6cf547845c86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeItems (cyclomatic 13, cognitive 34): mergeItems has cyclomatic complexity 13 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/IntelligentImport.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e447ec59d923dacae25fb3acc0c3ea26dff49610d4cd92e22083ea2003672342"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractStockCodesFromMessage (cyclomatic 13, cognitive 22): extractStockCodesFromMessage has cyclomatic complexity 13 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/chatStockCode.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a0695fae324edfc999a49c9399ee152f0f8e27bcc136868d9fbb459f67c9b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchMarketReviewHistory (cyclomatic 13, cognitive 16): fetchMarketReviewHistory has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/stores/stockPoolStore.ts"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab93acf291345fe2fa1928e7ed005c069688174d010b6f0715401621a81e623b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 14): (anonymous) has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/useSystemConfig.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"73058d4fcd9c77c34af4b3c96bb52b43bbbd6b5315d6fa43084cfa8fddc02b6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSubmit (cyclomatic 13, cognitive 13): handleSubmit has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/AuthSettingsCard.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8bb7cacedb824e20bb58ec5b699c017bd60db33239530736ffa362e4fae209"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createWindow (cyclomatic 13, cognitive 12): createWindow has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/main.js"},"region":{"startLine":1883}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b7d19c9ebb1895a3b0f703556ac0fae9717de1bd62f0a46de97c5fc224e28e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NotificationTestPanel (cyclomatic 13, cognitive 12): NotificationTestPanel has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/NotificationTestPanel.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6932c7d473f2b552f99f56cb8c9231a27d2b3506e88231e07a8b57aadb92100"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94bb6ddd74daefba7dad698ec30cb7b8b5f9d2e6a78f9e617db42af0c7989c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 10): (anonymous) has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/BacktestPage.tsx"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f83de3073cde2a2424aba80274fb6e5cd80f11c2dd95b62cc404be0e5705332"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DataCenterPage (cyclomatic 13, cognitive 9): DataCenterPage has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/DataCenterPage.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0a6d4465b22a82ff2bc476265925692fb7f5a64549a63ad83a7ae84e485a48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 18): (anonymous) has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/__tests__/HomePage.test.tsx"},"region":{"startLine":2102}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbebf49d9e2ee81d60a4d5c2dae0764912264952f93c281aa133227fbe4167be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRegisteredIndexCanonical (cyclomatic 12, cognitive 18): resolveRegisteredIndexCanonical has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/stockCode.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab0e72c6c6653e06b11ee8af6eb230a8fd71e9bae851e804f289883c8ceb943"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyTaskStatus (cyclomatic 12, cognitive 15): applyTaskStatus has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":1299}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a6bb76bd534d80dae2571061f3eb996a8a4fa68f534386127d6cebb71e3013"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/DecisionSignalsPage.tsx"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8a5d8e3d715ff8316aae5ee110a510a5c1b13fe2e15113498c779ff2f1e8aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resetParameters (cyclomatic 12, cognitive 11): resetParameters has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/alerts/AlertRuleForm.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a816c616894390a27a268e01547b6dbec658f45944a77d3479a8fd2a449361"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 12, cognitive 10): handleKeyDown has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/SettingsHelpButton.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"db296c321480a76873c87204cd0b501d92637d97c107745f6a78c85d01f71891"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSaveConfig (cyclomatic 12, cognitive 10): handleSaveConfig has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/SettingsPage.tsx"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab6d0fb13d422bb0c34371a390a277f9854464f13581cf6bc2c47326567ee51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 15): (anonymous) has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":1895}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbec43851df5d942b80980960b5299e2f5d1b4bb31916d4788c97e2f86a4a21"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadInitialSession (cyclomatic 11, cognitive 15): loadInitialSession has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/stores/agentChatStore.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a759e969627af19dfc2e7b0514d5b939fb3d53f144256cab41c4dd2172e88d6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/backtest.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7179d8310974d2f8d4adfe0d4bdbd2b0eae015e12e663e7b524c7abfb05df99d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/backtest.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3599f8fd6ea95429d9e9a0049be4f487abbc3c127c44fb884391297469ec28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Card (cyclomatic 11, cognitive 12): Card has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/Card.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab012a05b6bb6854d7a625db79478fc0c5aba96907925fd0fdbf6f7ccfbfea48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/IntelligentImport.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22636c4c8ce0d56c4fbd3f475281ce9e0aeea0cea209c42d19027e2ae556128"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/BacktestPage.tsx"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"4311605adf72fee01203cdaff48633d1aa6c741a0233168d58e8f9ddca00ab68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLlmTroubleshootingHint (cyclomatic 11, cognitive 11): getLlmTroubleshootingHint has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8f56e0134f7db9d918c76fceb9a528c2778643614ba88129848fc5a7bed9bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MarketReviewRegionSelector (cyclomatic 11, cognitive 10): MarketReviewRegionSelector has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/market-review/MarketReviewRegionSelector.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccad4ceb5c3abd3b1f31820d669f4b4d37a720c61db0f1251f2eae17552ecf4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/topologyViewModel.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e74e46eab377acdaca72c51a3407a1f27e97e3bd15baa1a1fcde23203689c88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/SettingsCategoryNav.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98646c1c1b0cbe370c7ea79dea5171731f17b063f0c2e1a698715688be83868"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybePromptDesktopUpdate (cyclomatic 11, cognitive 9): maybePromptDesktopUpdate has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/main.js"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"8279172b0137657e108cacbbad6d768d36b7ba3376190d3687fc991246bdc0d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DashboardPanelHeader (cyclomatic 11, cognitive 9): DashboardPanelHeader has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/dashboard/DashboardPanelHeader.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe42a6d31635578aec521ced8f15b04ca9917f82f9f06230b9e19d97b83a502"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StockBar (cyclomatic 11, cognitive 9): StockBar has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/history/StockBar.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66ed840820294f45e386e0b4873791af834fb9ec71833038102497c42824973"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReportDetails (cyclomatic 11, cognitive 9): ReportDetails has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportDetails.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8bc9d79741e8dd92e929d6e4696de0b7b4b6f82f0055a957235a34eeb9b6f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"707dcf6b0c88c4a76463be96b455e07255582e8d33353d06638a566a44640835"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunFlowSummaryBar (cyclomatic 11, cognitive 9): RunFlowSummaryBar has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowSummaryBar.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfa90320ea444a2dfdbfafb12f8ce56741a56b6e7004bd476a7f0a4f48a0b71"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/locales/settingsHelp.ts: 2549 lines of code: apps/dsa-web/src/locales/settingsHelp.ts has 2549 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/locales/settingsHelp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1861d8916fe2ba06e9decd0acdcaa36443db6b3eac4e5489932a6457e008416"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx: 2470 lines of code: apps/dsa-web/src/components/settings/LLMChannelEditor.tsx has 2470 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/LLMChannelEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"873813e648c8579497a2df9c4297ba6e0a5dcaa5201897a711ff723dd624253b"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/pages/PortfolioPage.tsx: 2095 lines of code: apps/dsa-web/src/pages/PortfolioPage.tsx has 2095 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/PortfolioPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b04bf60a5dfa25cfc73a50f718ca12a14ae24d5b33d449f4f9c25fac9e9733"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/pages/StockScreeningPage.tsx: 2061 lines of code: apps/dsa-web/src/pages/StockScreeningPage.tsx has 2061 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5120325efbc7c490e589900e67a15d34250c4fc05b884a286363ce68d0b83505"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/i18n/uiText.ts: 1988 lines of code: apps/dsa-web/src/i18n/uiText.ts has 1988 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/i18n/uiText.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe493935a44f544a67b4f66da738f12b2a19c13bd72961d2131cc1e9c6eb52c"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-desktop/main.js: 1900 lines of code: apps/dsa-desktop/main.js has 1900 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/main.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee12e689f764c8761aac50a98d98fe202c19def1b184adc85b4c93477247746"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/pages/HomePage.tsx: 1783 lines of code: apps/dsa-web/src/pages/HomePage.tsx has 1783 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/HomePage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae994a869140c2bad9b82d20bddd848d624c1b119e60e154ae4e3c081e5685e0"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/pages/SettingsPage.tsx: 1653 lines of code: apps/dsa-web/src/pages/SettingsPage.tsx has 1653 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/SettingsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e159de653b4dcb95d2843e4470f56ed7fa3ef488bf4d01e8291e99e5cd208993"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/pages/DecisionSignalsPage.tsx: 1538 lines of code: apps/dsa-web/src/pages/DecisionSignalsPage.tsx has 1538 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/DecisionSignalsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c540d6149e0add4d0aa37738bbfa827842c1de898a5633c74296a75041e2d840"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/pages/ChatPage.tsx: 1441 lines of code: apps/dsa-web/src/pages/ChatPage.tsx has 1441 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/ChatPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"451473554aab53468f9915f3828de2def0d146c38abaaa424f6db094c87c42d9"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/stores/stockPoolStore.ts: 999 lines of code: apps/dsa-web/src/stores/stockPoolStore.ts has 999 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/stores/stockPoolStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca06d9b2176eaca97ea47dad9e6b9dbda0e890e6804d553a176928c4b13933f4"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx: 772 lines of code: apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx has 772 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d7c59dee97d99347da28d65fd110314651271ff54945a6e641fe970ea6b15f"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/components/alerts/AlertRuleForm.tsx: 741 lines of code: apps/dsa-web/src/components/alerts/AlertRuleForm.tsx has 741 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/alerts/AlertRuleForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bec0fa4dd2fbcf75844ca5ecf3de6fc280a083553eb2b4b00826e41297cdda9"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/components/report/MarketReviewReportView.tsx: 702 lines of code: apps/dsa-web/src/components/report/MarketReviewReportView.tsx has 702 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/MarketReviewReportView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7038687535128dc66d28d641c775f413fa8c07d5564e80e6207f2880978d8c"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/components/watchlist/HomeStockWorkspace.tsx: 691 lines of code: apps/dsa-web/src/components/watchlist/HomeStockWorkspace.tsx has 691 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/watchlist/HomeStockWorkspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba2f58a75f54b2def12035d7c4cf4726a47818158c6a66651c5619f6cc1765c"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/pages/BacktestPage.tsx: 683 lines of code: apps/dsa-web/src/pages/BacktestPage.tsx has 683 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/pages/BacktestPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1da6a1756dab637c03eb0a46acd6e69b021b6d71fdc6d7ec4f07d3762b79a9"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/utils/systemConfigI18n.ts: 608 lines of code: apps/dsa-web/src/utils/systemConfigI18n.ts has 608 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/systemConfigI18n.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef32563bdd95522f41d4a755c127498dff4d5257422beac253262b1a6421068"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/types/analysis.ts: 582 lines of code: apps/dsa-web/src/types/analysis.ts has 582 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/types/analysis.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58cd417a40e4866bf5a8196f561f0a596fb15f2e7dea74a1aa268f63280e281"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/stores/agentChatStore.ts: 503 lines of code: apps/dsa-web/src/stores/agentChatStore.ts has 503 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/stores/agentChatStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3ab8ef1fbeb3cc2278363756c9fb9438cd715223294a3ba5617568a36c2989"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/api/error.ts: 499 lines of code: apps/dsa-web/src/api/error.ts has 499 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/error.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f951101a16d59e637e02360e382e80b88578486d786d879a5dc71c595fc9fb5"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/hooks/useRunFlowSnapshot.ts: 483 lines of code: apps/dsa-web/src/hooks/useRunFlowSnapshot.ts has 483 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/useRunFlowSnapshot.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f227923cb29ddfb792093f1b288e9e14edde8beeac208284f826f74bbfb23faf"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/components/report/AnalysisContextSummary.tsx: 477 lines of code: apps/dsa-web/src/components/report/AnalysisContextSummary.tsx has 477 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/AnalysisContextSummary.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af9a39082dcfb524932427dfd1eed69661dde1c75334a187611dacc753c839e"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/components/decision-signals/DecisionSignalDisplay.tsx: 461 lines of code: apps/dsa-web/src/components/decision-signals/DecisionSignalDisplay.tsx has 461 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/decision-signals/DecisionSignalDisplay.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f2f0bd7959060c80e2039a251f6f6dcdeeb8018438ba86d56d6187b1de9946"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/api/screening.ts: 453 lines of code: apps/dsa-web/src/api/screening.ts has 453 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/screening.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"719cbf8676907ed672d2e6d9e41c0092b48a22ce304725bbba93c621ecbc84e0"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/components/settings/IntelligentImport.tsx: 420 lines of code: apps/dsa-web/src/components/settings/IntelligentImport.tsx has 420 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/settings/IntelligentImport.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd98a7e215aac6cfc235ef75342bdf0e6327f19ed44c646546796fa45123129"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/dsa-web/src/components/report/ReportDiagnostics.tsx: 412 lines of code: apps/dsa-web/src/components/report/ReportDiagnostics.tsx has 412 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/ReportDiagnostics.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8371d8dc359e0f840b2cef9995f7ef6488acfaff5a9ba73e7761a0153cbd0072"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/scripts/afterPackMacos.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"223ecc3a65120b9c8c782dc783e55b17e0b0d3c07b5c4245c855b4eb1c5b257a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~25 LoC): no import path from any entry point (25 application, 8 tooling, 120 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/scripts/afterPackMacos.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce949fc7c2823d5efaf714b53a8e6229ed084b7a2e46dc6b4c08b45f8cface7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~12 LoC): no import path from any entry point (25 application, 8 tooling, 120 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/report/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d991952a832cc5883057a1a4486cfde539554584e69d9f5df31bc31c885d8cdc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isLocalConnectionFailure\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/error.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a327981f5cc650504e3e65a7e8731770536e17966a2f37d87012bf224c7d53f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isAxiosApiError\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/error.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba44982c2999f980442f68853e4282944fc3b4f33b5ec51197f03ebee3a8bf92"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/StockAutocomplete/StockAutocomplete.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"284caa360c637c6afff4243422eb12d6b587a7965a52640db11da5cfd8a90b76"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/StockAutocomplete/SuggestionsList.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d90feb0e33064d9dfdc3e66fb8acff93e5f9b58b476c4071bf9b28f4f0c0e28"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027Collapsible\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in apps/dsa-web/src/components/common/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in apps/dsa-web/src/components/common/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/Collapsible.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"17df3749ec91306dcda9623d30ed4941d608cb99dfc9c94e86d7aa0dd2336e14"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SectionCard\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in apps/dsa-web/src/components/common/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in apps/dsa-web/src/components/common/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/SectionCard.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b3054b7be45d0acf24d8cb1a5c81bb3619eb4e30bb3d1d4211cf418405f66b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027StickyActionBar\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in apps/dsa-web/src/components/common/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in apps/dsa-web/src/components/common/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/StickyActionBar.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"408dbee6bd572e380a15e79371c04a19b2295a84ff6df19af76ace819f3de5e0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ToastViewport\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in apps/dsa-web/src/components/common/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in apps/dsa-web/src/components/common/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/ToastViewport.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"575805b92f47d6180a6f3625dbc8c76e8f1bf9c3e4338dd1061e96e095c916d3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027Toolbar\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in apps/dsa-web/src/components/common/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in apps/dsa-web/src/components/common/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/common/Toolbar.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37acea64b8be9dc75042b61f5debe73c293083773d8adc4082d6b51d34e769f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ShellHeader\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in apps/dsa-web/src/components/common/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in apps/dsa-web/src/components/common/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/layout/ShellHeader.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc72f5a9ba274cc85db6ce6b790ab47d81ad5668fb87c6037cb22cdfdf4c4f9e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in apps/dsa-web/src/components/tasks/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in apps/dsa-web/src/components/tasks/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/tasks/TaskPanel.tsx"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab68e9d774679b1007da266992bd59d0ba91600c57590e8ba3a59d74bfd9e1b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/watchlist/HomeStockWorkspace.tsx"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7d876104ecdf7bece798ea74b8c20af0d626aac53e2b408dde6371827b0183"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/useAutocomplete.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbbc2d00f7ec4d47e8ff7bb2ac3c203a7f40f02171334f42a83817ac642b9b9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/hooks/useStockIndex.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c84604173f3b25193840ffdbebb7b4177b17946ecffe99e577f7a47af277801"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PORTFOLIO_SIDE_LABELS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/locales/featureText.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ff5836e79552c062fa73111a585da1c198b321bc3287bdccca19a5fb2f6127"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PORTFOLIO_CASH_DIRECTION_LABELS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/locales/featureText.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d219daa72544f9ef4fcb802a01cd961b2ec4cb0256a5ef8d7e0e0913162a41"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PORTFOLIO_CORPORATE_ACTION_LABELS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/locales/featureText.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3adf3cbdda60bd069c9c6a4a5f68b78447c171eaddb30ee947cf63fbe2ad29db"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027useAnalysisStore\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in apps/dsa-web/src/stores/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in apps/dsa-web/src/stores/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/stores/analysisStore.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbdf653cbbd93f43cadee0bc64dd2e8fbbce871dd04d92ae116cd28eaadeb03"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027HistoryPagination\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/types/analysis.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"932c661aabf17f1bf8907b5a6c22c5461ed7e934e2e37ef316e0f84bb37a5e5f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ApiError\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/types/analysis.ts"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7af2fb507b056437384a37e7cc078c0493db64e70a9860a65dfceef02d15aa"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027formatDate\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/format.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1987d601cceadce00881efd3e9b9b905716a55384422f121439c37bc2a29415"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027formatReportType\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/format.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13d784107803065492faa5972e270347c9bf3aaacb1335f38309bc710c6b842"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027highlightMatch\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/searchStocks.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6d9e608ae1db9376b90929b4445286df71eff0cc7036725f55212d098a624e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027STOCK_INDEX_FIELDS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/stockIndexFields.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b590a221de3baf53baff5ca6cc190a6194056dc799595a207c2b8551bf87094d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getCategoryTitleZh\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/systemConfigI18n.ts"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c8e7a0510fcc47400129896af8f283ccd7e0e7cdf21d4869c5a5cb26321523"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getCategoryDescriptionZh\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/systemConfigI18n.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ec229fc66d4004bb064d5ffd8817ae249459a411835b258dd1121898e92398"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@remixicon/react\u0027: Declared in apps/dsa-web/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"470b17aad079cb37de0d842c2677d08f107151dbc19adfd03a33399ac6df23f1"}},{"ruleId":"X1","level":"warning","message":{"text":"Task from \u0060asyncio.ensure_future\u0060 is not kept: The task this creates is not kept anywhere. The event loop holds only a weak reference to its tasks, so a task nobody references can be garbage-collected before it finishes (Python\u0027s documentation for \u0060asyncio.create_task\u0060: save a reference to the result); and nothing ever awaits it, so an exception it raises is never handled \u2014 it surfaces, if at all, as \u0022Task exception was never retrieved\u0022 in a log. Keep the task: \u0060await\u0060 it, gather it, start it in an \u0060asyncio.TaskGroup\u0060 (\u0060async with asyncio.TaskGroup() as tg: tg.create_task(\u2026)\u0060), or, for genuine fire-and-forget, add it to a set and \u0060task.add_done_callback(tasks.discard)\u0060 with a callback that also reads its exception."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bot/handler.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7f067f2cb322dd78be2e474c5d8390b75d07adebe9131e3f150c6ee10869aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value || typeof value !== \u0027object\u0027 || Array.isArray(value)\u0060 appears character-identically in 2 files \u2014 apps/dsa-web/src/components/run-flow/RunFlowNodeDetails.tsx, apps/dsa-web/src/pages/DataCenterPage.tsx. 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":"apps/dsa-web/src/components/run-flow/RunFlowNodeDetails.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce503bfad0ac42ad93a6ce39d025d18d091185f6667f94cef7ef0ce95f3256e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060RUN_FLOW_STATUS_STYLE[node.status] || RUN_FLOW_STATUS_STYLE.unknown\u0060 appears character-identically in 2 files \u2014 apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx, apps/dsa-web/src/components/run-flow/RunFlowNodeDetails.tsx. 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":"apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2dedc41d4083c04a9010a14aa73f52cc2e95e4c03eb76047ebe237a4ea954b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060action === \u0027buy\u0027 || action === \u0027add\u0027 || action === \u0027hold\u0027\u0060 appears character-identically in 2 files \u2014 apps/dsa-web/src/utils/decisionAction.ts, apps/dsa-web/src/utils/decisionSignalTimeline.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/decisionAction.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"438f45840605d877cb36e005bb2c3d8b16463022e8fb86bb59d735668b13ff31"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060check.required \u0026\u0026 check.status === \u0027needs_action\u0027\u0060 appears character-identically in 2 files \u2014 apps/dsa-web/src/pages/HomePage.tsx, apps/dsa-web/src/pages/SettingsPage.tsx. 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":"apps/dsa-web/src/pages/HomePage.tsx"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d11f94901a67fc1d6068e7e54fba7559aac917579e64d08d456965ceb904a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060containerRef.current \u0026\u0026 !containerRef.current.contains(event.target as Node)\u0060 appears character-identically in 2 files \u2014 apps/dsa-web/src/components/layout/DesktopUpdateIndicator.tsx, apps/dsa-web/src/components/theme/ThemeToggle.tsx. 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":"apps/dsa-web/src/components/layout/DesktopUpdateIndicator.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"636ead91bf86a4985da8e249f3b8a52ef399dd24aca1ca4eb92a2b4b1515ffcc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060edge.kind === \u0027fallback\u0027 || edge.kind === \u0027retry\u0027\u0060 appears character-identically in 3 files \u2014 apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx, apps/dsa-web/src/components/run-flow/topologyViewModel.ts, apps/dsa-web/src/hooks/useRunFlowSnapshot.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c71db8a615a2fbf1bbc8573934213545cc2c19338412b61a79003e9d44640a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isLoading || !content || copiedType !== null\u0060 appears character-identically in 2 files \u2014 apps/dsa-web/src/components/report/MarketReviewReportView.tsx, apps/dsa-web/src/components/report/ReportMarkdownPanel.tsx. 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":"apps/dsa-web/src/components/report/MarketReviewReportView.tsx"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05aebfe8a8967227f4e0b58d1a7dde55886c24546d2f330ebe4e7a8dc3fcd84"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.isTodayStatusLoading || row.isTodayStatusUnknown\u0060 appears character-identically in 2 files \u2014 apps/dsa-web/src/components/watchlist/HomeStockWorkspace.tsx, apps/dsa-web/src/pages/HomePage.tsx. 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":"apps/dsa-web/src/components/watchlist/HomeStockWorkspace.tsx"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38b6fce3254e3ea1f08620e005b0bc2ea2143191001a253859c1d1d7f987a30"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedCount \u003E 0 \u0026\u0026 !allVisibleSelected\u0060 appears character-identically in 2 files \u2014 apps/dsa-web/src/components/history/HistoryList.tsx, apps/dsa-web/src/components/history/StockBar.tsx. 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":"apps/dsa-web/src/components/history/HistoryList.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44d145f5bc738a439203c534c1e204ba11d16b27cd95da112e5a69a77f39896"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0027failed\u0027 || status === \u0027timeout\u0027\u0060 appears character-identically in 2 files \u2014 apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx, apps/dsa-web/src/components/run-flow/topologyViewModel.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee5d8408283511f352e72d91eec9d85be11bb8c7558df1eb83ca8ceabc1610e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.state.hasError \u0026\u0026 prevProps.resetKey !== this.props.resetKey\u0060 appears character-identically in 2 files \u2014 apps/dsa-web/src/components/layout/RouteBoundary.tsx, apps/dsa-web/src/components/settings/SettingsPanelErrorBoundary.tsx. 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":"apps/dsa-web/src/components/layout/RouteBoundary.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa59ce7e703d8eb941b0cefa8928a612c3f79c7e79804dc566f890b2b07b39b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof node.durationMs === \u0027number\u0027 \u0026\u0026 Number.isFinite(node.durationMs)\u0060 appears character-identically in 2 files \u2014 apps/dsa-web/src/components/run-flow/topologyViewModel.ts, apps/dsa-web/src/hooks/useRunFlowSnapshot.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/run-flow/topologyViewModel.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fabedba08717292c2472ec2e74c876e76795db516cd25d5cb145eafc64f37a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0027number\u0027 || !Number.isFinite(value)\u0060 appears character-identically in 2 files \u2014 apps/dsa-web/src/components/history/StockHistoryTrendDrawer.tsx, apps/dsa-web/src/components/run-flow/utils.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/history/StockHistoryTrendDrawer.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b321b116fa179de9a196cd5aac2b451c7203bab6d2aaca8cb0cd991c800407e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027number\u0027 \u0026\u0026 Number.isFinite(value)\u0060 appears character-identically in 3 files \u2014 apps/dsa-web/src/components/history/StockHistoryTrendDrawer.tsx, apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx, apps/dsa-web/src/components/run-flow/RunFlowNodeDetails.tsx. 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":"apps/dsa-web/src/components/history/StockHistoryTrendDrawer.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98fd2da754acb65c0e429bde1f09b10a02ffe1672b62d641982f46bf6785ea4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027number\u0027 || typeof value === \u0027boolean\u0027\u0060 appears character-identically in 3 files \u2014 apps/dsa-web/src/api/error.ts, apps/dsa-web/src/components/decision-signals/DecisionSignalDisplay.tsx, apps/dsa-web/src/components/run-flow/utils.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/error.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b224dce6026f1cd9c3aee47c0b3db3afa0180581afdcc72a169b3a3c7c56e09e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027object\u0027 \u0026\u0026 value !== null \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 2 files \u2014 apps/dsa-web/src/api/agent.ts, apps/dsa-web/src/pages/DecisionSignalsPage.tsx. 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":"apps/dsa-web/src/api/agent.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"30519b97382bd1d0f23174eb0bae606a2eaa54b090e83be3ac6e906fb0b1578a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027string\u0027 \u0026\u0026 value.trim()\u0060 appears character-identically in 5 files \u2014 apps/dsa-web/src/api/error.ts, apps/dsa-web/src/components/report/MarketReviewReportView.tsx, apps/dsa-web/src/components/run-flow/RunFlowGraph.tsx, apps/dsa-web/src/components/run-flow/topologyViewModel.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/api/error.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7c235fb905694e36242987d22049a4c017e7467a0d74ed2def09ee052bf3d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === null || value === undefined || Number.isNaN(value)\u0060 appears character-identically in 2 files \u2014 apps/dsa-web/src/components/decision-signals/DecisionSignalDisplay.tsx, apps/dsa-web/src/pages/DecisionSignalsPage.tsx. 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":"apps/dsa-web/src/components/decision-signals/DecisionSignalDisplay.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ce2544ac44a3552397fee0ee9594b5a758abaf761843c4e79985775a8cc71f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === null || value === undefined || Number.isNaN(value) || !Number.isFinite(value)\u0060 appears character-identically in 2 files \u2014 apps/dsa-web/src/components/decision-signals/DecisionSignalTimeline.tsx, apps/dsa-web/src/utils/decisionSignalTimeline.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/components/decision-signals/DecisionSignalTimeline.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0f3278bf91b29e57e820064fef650f2fed21d40927a1141bb9e0f7b7bb174f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === null || value === undefined || value === \u0027\u0027\u0060 appears character-identically in 4 files \u2014 apps/dsa-desktop/main.js, apps/dsa-web/src/components/alerts/AlertTriggerHistory.tsx, apps/dsa-web/src/components/run-flow/utils.ts, apps/dsa-web/src/desktop/runtime.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-desktop/main.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59491106e95b4a00e14049c046841b629e4adcb2d42ea372150ef15d734b89c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(current_price \u003E 0) and (abs(current_price - limit_down_price) \u003C= limit_down_price_Tolerance)\u0060 appears character-identically in 3 files \u2014 data_provider/akshare_fetcher.py, data_provider/efinance_fetcher.py, data_provider/tushare_fetcher.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":"data_provider/akshare_fetcher.py"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"1417c0579763e1a010c4b7a3d57b1fb0c740f48cff87a3b48b1f9c493e5195a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(current_price \u003E 0) and (abs(current_price - limit_up_price) \u003C= limit_up_price_Tolerance)\u0060 appears character-identically in 3 files \u2014 data_provider/akshare_fetcher.py, data_provider/efinance_fetcher.py, data_provider/tushare_fetcher.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":"data_provider/akshare_fetcher.py"},"region":{"startLine":2153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffe5b00394049e9f294929a4439510412a73585fe494b5b2813e4f7d7300c5b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_etf_realtime_cache[\u0027data\u0027] is not None and current_time - _etf_realtime_cache[\u0027timestamp\u0027] \u003C _etf_realtime_cache[\u0027ttl\u0027]\u0060 appears character-identically in 2 files \u2014 data_provider/akshare_fetcher.py, data_provider/efinance_fetcher.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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3079485b7a8dbc098875be2e96b71ce8b3d5f2a32721033475693ea6581b6a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_has_sensitive_url_params(parsed.query) or _has_sensitive_url_params(parsed.fragment)\u0060 appears character-identically in 2 files \u2014 src/llm/local_cli_backend.py, src/utils/sanitize.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf388f881846f16e8420a57328aa85aafff0b9f392455c3978c91bed873e2129"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_is_non_cn_request(stock_code) or _is_etf_code(stock_code)\u0060 appears character-identically in 2 files \u2014 data_provider/base.py, data_provider/miaoxiang_fetcher.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":"data_provider/base.py"},"region":{"startLine":4683}}}],"partialFingerprints":{"codehealthFindingId/v1":"67048200c5333ec52765d4797d5473fbe54a4a8fdb1e58a6324c12724233b0b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_is_risk_agent(agent_name) and normalized in _BULLISH_SIGNALS\u0060 appears character-identically in 2 files \u2014 src/agent/disagreement.py, src/agent/runtime_facts.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/disagreement.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b742cd784df22d46576c116d46f8c7f26c14118596ebc1aa88520c2670e78b45"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_realtime_cache[\u0027data\u0027] is not None and current_time - _realtime_cache[\u0027timestamp\u0027] \u003C _realtime_cache[\u0027ttl\u0027]\u0060 appears character-identically in 2 files \u2014 data_provider/akshare_fetcher.py, data_provider/efinance_fetcher.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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"330fbc8ee6c4a3d9ced718912f921d88dbd77d9a3449fa776560a3cf5e229162"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060account in snapshot.get(\u0022accounts\u0022, []) or []\u0060 appears character-identically in 3 files \u2014 src/agent/tools/data_tools.py, src/services/portfolio_alerts.py, src/services/portfolio_risk_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tools/data_tools.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c602ce4a9f3a59d184c0e1d04af372e4f85d36ed6efacbf22074049d2eb388d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060analysis_date_from is not None and analysis_date \u003C analysis_date_from\u0060 appears character-identically in 2 files \u2014 src/repositories/backtest_repo.py, src/services/backtest_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/backtest_repo.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d011d6a6d8029c14c36fa435b552d5c1a05572cf291483273876287ba9199c7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060analysis_date_to is not None and analysis_date \u003E analysis_date_to\u0060 appears character-identically in 2 files \u2014 src/repositories/backtest_repo.py, src/services/backtest_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/backtest_repo.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ed29fbd75c111a1c749cd2e48decbeeee7835477d27ce7ce74096dccc2e861"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060analysis_target is not None and analysis_target.asset_type == ParseStatus.INDEX\u0060 appears character-identically in 2 files \u2014 src/core/pipeline.py, src/services/task_queue.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"2530ad500cd53ca93fb78c919b196c02f5acc1e57b3bc0ef37ec255f3c79e0fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060analysis_targets is not None and idx \u003C len(analysis_targets)\u0060 appears character-identically in 2 files \u2014 src/core/pipeline.py, src/services/task_queue.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":3529}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0141408dd21d31a5a929d0a05286778c145acec6e48fd410a7caa4eae1ee89"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060api_surface == \u0022responses\u0022 and protocol != \u0022openai\u0022\u0060 appears character-identically in 2 files \u2014 src/config.py, src/services/generation_backend_status_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config.py"},"region":{"startLine":2655}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc58a636a0c91c95071b290120f6d07fd6bb463586318eed833e6a6a4b7060d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060base and base.isdigit() and len(base) == 6\u0060 appears character-identically in 2 files \u2014 scripts/generate_index_from_csv.py, src/services/stock_list_parser.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":"scripts/generate_index_from_csv.py"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"7398edf764a89f8b7e607b1ac43e3d428eba84ccd18cf26269311ec904f72c33"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cached is not None and cached[0] == signature\u0060 appears character-identically in 2 files \u2014 src/services/screening/config.py, src/services/screening/strategy.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/config.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ecae0394b952f0e7d96757854288b334ff976613e587cda06182aecc90890a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060candidate and candidate not in candidates\u0060 appears character-identically in 3 files \u2014 src/agent/tools/data_tools.py, src/services/history_loader.py, src/services/history_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tools/data_tools.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa7718a9a026595de507b62d4a33d4a5447072ca5dac7164f059130985f13ff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060candidate.isdigit() and len(candidate) == 6\u0060 appears character-identically in 2 files \u2014 data_provider/akshare_fetcher.py, data_provider/base.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":"data_provider/akshare_fetcher.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"7480c0849f0e91a8b021f2a8845c3e4956ebaff815f7bf9117d15634e61de225"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060change_col not in df.columns or name_col not in df.columns\u0060 appears character-identically in 2 files \u2014 data_provider/akshare_fetcher.py, data_provider/efinance_fetcher.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":"data_provider/akshare_fetcher.py"},"region":{"startLine":2260}}}],"partialFingerprints":{"codehealthFindingId/v1":"07823499e08e84cab22a9508cc970b309116181f706c7fb05f4af10d97a5c565"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060concentration.get(\u0022top_positions\u0022) or []\u0060 appears character-identically in 2 files \u2014 src/agent/tools/data_tools.py, src/services/portfolio_alerts.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tools/data_tools.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"4480a28a5ef58eb24ae95ae76aa1c9b45483a9591eeb2eab4a9a476846631173"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060concentration_70 is not None and concentration_70 \u003E= 0\u0060 appears character-identically in 2 files \u2014 data_provider/base.py, src/analyzer.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":"data_provider/base.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"093372c0a54eb764579c947b5b668061c7cbae78623534292efebbd5f07fe99e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060concentration_90 is not None and concentration_90 \u003E= 0\u0060 appears character-identically in 2 files \u2014 data_provider/base.py, src/analyzer.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":"data_provider/base.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d390e21901b2dd94af948ba56ce2431868bfc2b09ede052bebae8230301041d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cookie_val and verify_session(cookie_val)\u0060 appears character-identically in 2 files \u2014 api/v1/endpoints/auth.py, api/v1/endpoints/system_config.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1/endpoints/auth.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4aa2bfbb8fcd0a78bf87b92cebce55912029aabae59da5a255fc6731a335be"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060datetime.now().astimezone().tzinfo or timezone.utc\u0060 appears character-identically in 2 files \u2014 src/search_service.py, src/services/run_flow.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":3607}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceace9519e21b832f597d8e7baa31f105efbc0752aa32ff84947de877a047f6c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060db_manager or DatabaseManager.get_instance()\u0060 appears character-identically in 16 files \u2014 src/repositories/alert_repo.py, src/repositories/analysis_repo.py, src/repositories/backtest_repo.py, src/repositories/decision_signal_outcome_repo.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/alert_repo.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c6ef7f14d7653203500a1793e10203e6af352f359e6a36182e3a153f70e0dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060declares_stock_scope and not has_stock_param\u0060 appears character-identically in 2 files \u2014 src/agent/tool_surface.py, src/agent/tools/registry.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tool_surface.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"2086de64f6542f45841fe9b9947995ad7824de489ea5ff649b9641cd60b57db5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060df is None or getattr(df, \u0022empty\u0022, True)\u0060 appears character-identically in 2 files \u2014 src/services/alert_indicators.py, src/services/alert_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_indicators.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"925c21785c52ce5216d50011a7a4765e834cb9ae941124909b3ace62330dcb03"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060digits.isdigit() and 1 \u003C= len(digits) \u003C= 5\u0060 appears character-identically in 4 files \u2014 data_provider/base.py, data_provider/longbridge_fetcher.py, src/data/stock_index_loader.py, src/services/decision_signal_service.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":"data_provider/base.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9337942d70db6e66435c2f3076c9c4f7f25e477d56561b0cb09f5e9b06b908"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060direction == \u0022down\u0022 and current_change_pct \u003C= -threshold\u0060 appears character-identically in 2 files \u2014 src/agent/events.py, src/services/alert_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/events.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"d004f3885fd902f231545ecc76348047ca619da187b6e71672f44f13f4060871"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060direction == \u0022up\u0022 and current_change_pct \u003E= threshold\u0060 appears character-identically in 2 files \u2014 src/agent/events.py, src/services/alert_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/events.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"01faada2797497cde3a6842932cace4ff60bb205f0962586f31e628d4ee1a53e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effective_map.get(\u0022ANSPIRE_API_KEYS\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 src/services/generation_backend_status_service.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"7462f64bb29bf8eb547fe5baebdb0dc3977527907cca9cdf0aa33a0a6eb0a5d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effective_map.get(\u0022ANSPIRE_LLM_BASE_URL\u0022) or ANSPIRE_LLM_BASE_URL_DEFAULT\u0060 appears character-identically in 2 files \u2014 src/services/generation_backend_status_service.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1fd2ef6db2827369a011c1939d07e3870890a0aa393746c6fdd95734a2ea76"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effective_map.get(\u0022ANSPIRE_LLM_MODEL\u0022) or ANSPIRE_LLM_MODEL_DEFAULT\u0060 appears character-identically in 2 files \u2014 src/services/generation_backend_status_service.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23465635de4990144c052c707af0b78b0a65e342b757e86edf48597e10139f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effective_map.get(\u0022ANTHROPIC_MODEL\u0022) or \u0022claude-sonnet-4-6\u0022\u0060 appears character-identically in 2 files \u2014 src/services/generation_backend_status_service.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ba9e10d349a0d6dd1ef399b31a29bafe9110f669f2707d84c9483c6d85fbd7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effective_map.get(\u0022GEMINI_MODEL\u0022) or \u0022gemini-3.6-flash\u0022\u0060 appears character-identically in 2 files \u2014 src/services/generation_backend_status_service.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"1639a6536eb148c57caeffdc4b94247deb37f63c1f23c5de241b81de34c5b846"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effective_map.get(\u0022LITELLM_CONFIG\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 src/services/generation_backend_status_service.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"eacd5f0db8cf3f41175a06e15bbeb49a7de780e283dd6659c306137ce90c422c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effective_map.get(\u0022LITELLM_FALLBACK_MODELS\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 src/services/generation_backend_status_service.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cf3635743d8b0a50743257f65114a126f357d7adeb41b037f8f1f8fd05af87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effective_map.get(\u0022LITELLM_MODEL\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 src/services/generation_backend_status_service.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad9282ba02c10ffce6dfddd4d5286f432c53142c0190eeb89830a06e334494d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effective_map.get(\u0022OPENAI_API_KEY\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 src/services/generation_backend_status_service.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"24651471c477c098df26a9ca76dd6c9983004dd4b6b7d06756fd0fe5894bd782"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effective_map.get(\u0022OPENAI_API_KEYS\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 src/services/generation_backend_status_service.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bdd59cb6bd3e7453c3111444a6e233879a483a9ba74c3bc7e4c617f164ee02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effective_map.get(\u0022OPENAI_BASE_URL\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 src/services/generation_backend_status_service.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd703524701c9dc7aa65f39b530bb39eb081ce51c4267f8a733a4ddc4c9d0394"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effective_map.get(\u0022OPENAI_MODEL\u0022) or \u0022gpt-6.1-sol\u0022\u0060 appears character-identically in 2 files \u2014 src/services/generation_backend_status_service.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f1bfa25f9443f4151a6df3509e862dbc39c22e8bd4a621cf8d2f25f50e3f5c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effective_map.get(f\u0022{prefix}_API_KEY\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 src/services/generation_backend_status_service.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"167c77337622dfe40c005bf8dbe11ddbcc4b0301d2c44c02edb3152728acc3a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effective_map.get(f\u0022{prefix}_API_KEYS\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 src/services/generation_backend_status_service.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17d2eba700d34b455fcfbb6e47d744fb6fe044ef452a1d86b9b5b85bc66a16f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effective_map.get(f\u0022{prefix}_API_SURFACE\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 src/services/generation_backend_status_service.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"7daf509b248fee12bccd50cfd17a6c076d624730b3b1b7e48164478e111b9945"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effective_map.get(f\u0022{prefix}_EXTRA_HEADERS\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 src/services/generation_backend_status_service.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a7942ff13e6ee1036284a453e0673ad8655a9fc84599cbe0f378dadf537d17"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effective_map.get(f\u0022{prefix}_MODELS\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 src/services/generation_backend_status_service.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"787c27bb7e601ade398b888eede74101c81fffa5c61a286c9ddcd69f30f98e9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effective_map.get(f\u0022{prefix}_PROTOCOL\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 src/services/generation_backend_status_service.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/generation_backend_status_service.py"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18195156c4dacd7bde28e0692f285cd0980097faf6430e6070837c8ed532a58"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060extract_skill_id(opinion.agent_name) or opinion.agent_name\u0060 appears character-identically in 2 files \u2014 src/agent/skills/aggregator.py, src/agent/skills/engine.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/aggregator.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8feca80a91a6d51b9d5d6caa625470e9339c7e5e41cb8ee521e6819e3fdf22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(config, \u0022agent_backend\u0022, \u0022auto\u0022) or \u0022auto\u0022\u0060 appears character-identically in 2 files \u2014 src/agent/agent_backend.py, src/services/agent_backend_status_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/agent_backend.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8bcb31562fd444a1429040e803c8d915bc10625b1ceefc1e2ef7e410493052"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(config, \u0022agent_generation_backend\u0022, AUTO_AGENT_BACKEND_ID) or AUTO_AGENT_BACKEND_ID\u0060 appears character-identically in 2 files \u2014 src/agent/litellm_route_resolution.py, src/agent/llm_adapter.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/litellm_route_resolution.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4dca596bef1dfc6320279d44faa1bd2d2b930b6e5245febd5e23f18d5c6e88"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(config, \u0022agent_litellm_model\u0022, \u0022\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 bot/commands/status.py, src/agent/litellm_route_resolution.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":"bot/commands/status.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c832daeaef0e5a7d7a7e53f2550fd57e05473f8e3bf8fe1f886f51b6b80c9435"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(config, \u0022discord_bot_token\u0022, None) and getattr(config, \u0022discord_main_channel_id\u0022, None)\u0060 appears character-identically in 2 files \u2014 bot/commands/status.py, src/notification.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":"bot/commands/status.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e4c34298dbb03d89bc73ea318262728c33266b42064e2575b22ce38d2fe223"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(config, \u0022litellm_fallback_models\u0022, []) or []\u0060 appears character-identically in 2 files \u2014 src/analyzer.py, src/config.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":2946}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8edd0ba8bb10f0211320a11b295e28c23f0f5f6f2408aab35e45b3c84acd04"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(config, \u0022litellm_model\u0022, \u0022\u0022) or \u0022\u0022\u0060 appears character-identically in 5 files \u2014 bot/commands/status.py, src/analyzer.py, src/config.py, src/core/market_review_runtime.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":"bot/commands/status.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"958cd094de86b2756274cc95e1f4a726e33af2f69e57659cac3605b38bf64665"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(config, \u0022llm_model_list\u0022, []) or []\u0060 appears character-identically in 6 files \u2014 bot/commands/status.py, src/agent/chat_context.py, src/agent/litellm_route_resolution.py, src/analyzer.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":"bot/commands/status.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86b1f7337bf72bcf7554f2e29927bda6f896c25db7d2d3f14750b1348adfff1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(config, \u0022notification_min_severity\u0022, \u0022\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 src/notification_noise.py, src/services/notification_diagnostics.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_noise.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdb3047a7eed2f75246202f8e075fe35ecb0c03ef43d92abaf15cd329ff0d2c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(config, \u0022pushover_user_key\u0022, None) and getattr(config, \u0022pushover_api_token\u0022, None)\u0060 appears character-identically in 2 files \u2014 bot/commands/status.py, src/notification.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":"bot/commands/status.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"8765b9ccfbe9a7a05bb661545616cc1b9d46a24158c4bb6afb69d130b7d39597"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(config, \u0022slack_bot_token\u0022, None) and getattr(config, \u0022slack_channel_id\u0022, None)\u0060 appears character-identically in 2 files \u2014 bot/commands/status.py, src/notification.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":"bot/commands/status.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f09795dca6fb99fc3a9900bd61cfce0b0f5ce5488fe305bc0c44a23b02cce2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(config, \u0022stock_list\u0022, None) or []\u0060 appears character-identically in 2 files \u2014 main.py, src/services/analysis_timeout_partial.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":"main.py"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd539e185b45f9ed06ada57f62be5647d02669fbc07b01443ed9675d36e0aa6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(response, \u0022content\u0022, None) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 src/agent/chat_context.py, src/agent/web_intent_resolver.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/chat_context.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97caca353eaac1b768f781f2035dcbc355a6364cc2a4487e0a7f8f5140adf2f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(result, \u0022analysis_visibility_source\u0022, None) or \u0022evaluator_snapshot\u0022\u0060 appears character-identically in 2 files \u2014 src/notification.py, src/services/report_renderer.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bd8f65bec1a46d625df0aaf917735db6a94b8a7eb30cb187c32aabff1ca299"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(result, \u0022decision_type\u0022, \u0022\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 src/daily_market_context_guardrail.py, src/schemas/decision_action.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daily_market_context_guardrail.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d19f2aa556267c104f0fab8baa47b38a1628cfeba67bbf3528cf8a7e4115ff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060has_feishu_app_id and has_feishu_app_secret\u0060 appears character-identically in 2 files \u2014 src/config.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config.py"},"region":{"startLine":3767}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5e20587625996f4aabe2940f983c7ddbdfa56bfcda5ef319bb6b9d5af89f43"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060has_feishu_app_id or has_feishu_app_secret\u0060 appears character-identically in 2 files \u2014 src/config.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config.py"},"region":{"startLine":3768}}}],"partialFingerprints":{"codehealthFindingId/v1":"047d85e21dfc78686757855cc40aa9cd59e30a74da85a8ada034b74f3dfe4416"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060has_stock_param and not declares_stock_scope\u0060 appears character-identically in 2 files \u2014 src/agent/tool_surface.py, src/agent/tools/registry.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tool_surface.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"3115d62571b3ac87825280c8191b6d8482ab5bd1d9231300ebe2f72301a546f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(result, \u0027dashboard\u0027) and result.dashboard\u0060 appears character-identically in 2 files \u2014 src/notification.py, src/services/history_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6af3689bb372bdcdddcc0eb60a16b4419d35254f5f0b360cfaddff597abb9d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(self, \u0027_stock_name_cache\u0027) and stock_code in self._stock_name_cache\u0060 appears character-identically in 2 files \u2014 data_provider/baostock_fetcher.py, data_provider/tushare_fetcher.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":"data_provider/baostock_fetcher.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e37aef06a90936c5d351477962e13fd7490864c077176ab31011de93a82980b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hostname == \u0022hooks.slack.com\u0022 and normalized_path.startswith(\u0022/services/\u0022)\u0060 appears character-identically in 2 files \u2014 src/llm/local_cli_backend.py, src/utils/sanitize.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bfef6f2f123cb327a736d437c3e17d3776af878261189b16c7e4733c9ac787"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hostname == \u0022oapi.dingtalk.com\u0022 and normalized_path.startswith(\u0022/robot/send\u0022)\u0060 appears character-identically in 2 files \u2014 src/llm/local_cli_backend.py, src/utils/sanitize.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"009dee3f3a06253f9856ebaa7f0fba7d570e500e11b816b0d05ebb05d6de15fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hostname == \u0022open.feishu.cn\u0022 and \u0022/open-apis/bot/\u0022 in normalized_path and \u0022/hook/\u0022 in normalized_path\u0060 appears character-identically in 2 files \u2014 src/llm/local_cli_backend.py, src/utils/sanitize.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":1758}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cd501b649516d20f80011a9c4836e5c09b6a4cef9c06a6ed39c5109d1632dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hostname == \u0022qyapi.weixin.qq.com\u0022 and normalized_path.startswith(\u0022/cgi-bin/webhook/send\u0022)\u0060 appears character-identically in 2 files \u2014 src/llm/local_cli_backend.py, src/utils/sanitize.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4f6510ebf79b622ba7ce275b6978b04d72bd59c292f0a040c2645ff560eac2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(analysis_context_pack_summary, str) and analysis_context_pack_summary\u0060 appears character-identically in 4 files \u2014 src/agent/agents/base_agent.py, src/agent/executor.py, src/agent/orchestrator.py, src/analyzer.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/agents/base_agent.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c550cd7bc800574f56c02911d9978740f8f394021ef932c06b6c87f7fea05f42"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(confidence, bool) or not isinstance(confidence, (int, float))\u0060 appears character-identically in 2 files \u2014 src/agent/runtime_facts.py, src/agent/skills/skill_agent.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/runtime_facts.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcda95e03fb2f5270cee6128630fd43c3f861516efa459b8a2df83f708b584c4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(current_query_id, str) and current_query_id.strip()\u0060 appears character-identically in 3 files \u2014 main.py, src/core/pipeline.py, src/services/daily_market_context.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":"main.py"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"893ba1235fa98f834260bbf60d0ab1c9bc4b9a20a23efee83f677a248844d9e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(data_source, str) and data_source.startswith(\u0022realtime:\u0022)\u0060 appears character-identically in 2 files \u2014 src/analyzer.py, src/services/analysis_context_builder.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba3b836467005267d3a618c4ce6c9908aa81d7c7ae03b58ab887afee06c7277"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(popularity, bool) or not isinstance(popularity, int) or not math.isfinite(float(popularity)) or popularity \u003C 0\u0060 appears character-identically in 2 files \u2014 scripts/generate_index_from_csv.py, src/data/stock_index_loader.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":"scripts/generate_index_from_csv.py"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7c77eebfdc6ab8f185f0b1b11764b5e43c10977b6ad87aedee83113907882b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(rankings, tuple) and len(rankings) == 2\u0060 appears character-identically in 2 files \u2014 src/core/pipeline.py, src/services/market_hotspot_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef9b4cae972fdc6b7f9248ee60be5c554710e970edf2d9554a0c2363cae0f1e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(saved_history_id, int) and not isinstance(saved_history_id, bool) and saved_history_id \u003E 0\u0060 appears character-identically in 2 files \u2014 src/core/market_review.py, src/core/pipeline.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/market_review.py"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93ee12409895132a8d0b230225eb0dd4c2f1d22d8766045385341c574b44058"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(summary, str) and summary.strip()\u0060 appears character-identically in 2 files \u2014 bot/commands/ask.py, src/services/screening/dsa.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":"bot/commands/ask.py"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"125fd39aa8c21e19199e67f6d619bd8fcc9e4287347548e351e1257bd36b65bb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, bool) or not isinstance(value, int)\u0060 appears character-identically in 4 files \u2014 src/agent/tool_surface.py, src/analysis_context_pack_overview.py, src/analysis_context_pack_prompt.py, src/services/skill_opinion_weight_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tool_surface.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0373b0fac97c485df6739861a75734b6555fb9192eba3ff362c40ffc3ae607"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, bool) or value is None\u0060 appears character-identically in 4 files \u2014 src/agent/orchestrator.py, src/analyzer.py, src/market_phase_prompt.py, src/services/run_flow.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/orchestrator.py"},"region":{"startLine":2206}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8596ab44d1d97ff61e03f488ecb8685d98f2d7556aa0bcc64d7ba4a65b51b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, float) and math.isnan(value)\u0060 appears character-identically in 2 files \u2014 src/services/etf_rotation_service.py, src/services/screening/normalize.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/etf_rotation_service.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c66d9c457e014a198c21cf80f3873dc3dd4a4a48b9270bac9927aa73ab494e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, float) and value.is_integer()\u0060 appears character-identically in 2 files \u2014 src/agent/tools/execution.py, src/market_phase_prompt.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tools/execution.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca08389616e281a613efc8fd85d11f99fd8acbcd6d136c5e40e9aa86979b279"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, str) and not value.strip()\u0060 appears character-identically in 2 files \u2014 api/v1/endpoints/analysis.py, api/v1/endpoints/history.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":"api/v1/endpoints/analysis.py"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"478fa06211d453b3fe1e507ea789bdeb9b1275e66c3ffbb0d7303a230d302f4d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, str) and value.strip()\u0060 appears character-identically in 12 files \u2014 api/v1/endpoints/analysis.py, bot/commands/ask.py, src/agent/orchestrator.py, src/analysis_context_pack_overview.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":"api/v1/endpoints/analysis.py"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef03285b2958871244e9c956262c6910f7373960242a3aad6c28736fd0f71e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.get(\u0022reason\u0022) or \u0022unrecognized_signal\u0022\u0060 appears character-identically in 2 files \u2014 src/agent/agents/decision_agent.py, src/agent/disagreement.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/agents/decision_agent.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7170628a1fea952c900f0c2c571039ec1cb4be310a4f430d011c42a003e6dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.get(\u0022source\u0022) or item.get(\u0022source_name\u0022) or \u0022local-intel\u0022\u0060 appears character-identically in 2 files \u2014 src/core/pipeline.py, src/market_analyzer.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":3059}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b6bef2d030d411897f5370b2d6f0146f981eee2167775bbed3fec7856efcd5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.chat_type == ChatType.GROUP and message.chat_id\u0060 appears character-identically in 2 files \u2014 bot/commands/chat.py, bot/commands/history.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":"bot/commands/chat.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ecd2fbee5b5b7dd7ed774888f5b830473875169ef41fae670377fe59983570"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.raw_content or message.content or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 bot/platforms/dingtalk_stream.py, bot/platforms/feishu_stream.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":"bot/platforms/dingtalk_stream.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"666b2f87141e1d7779f00973abe0d84a0b0de4252501c11c3c60b403eb17c616"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata.get(\u0022guardrail_reason\u0022) or metadata.get(\u0022downgrade_reason\u0022)\u0060 appears character-identically in 2 files \u2014 api/v1/endpoints/analysis.py, api/v1/endpoints/history.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":"api/v1/endpoints/analysis.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"83696e463aef4f7cf1784b9444a79456e4ef01d0f85ceb12154a34b0c38dd125"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060norm_key in resolver_map and resolver_map[norm_key] != canonical\u0060 appears character-identically in 2 files \u2014 scripts/generate_index_from_csv.py, src/data/stock_index_loader.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":"scripts/generate_index_from_csv.py"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"669c275797878dbe91d19e8d21f555d5f7e3f3d463359b82d35be1082487e11b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized and normalized not in candidates\u0060 appears character-identically in 2 files \u2014 bot/dispatcher.py, src/report_language.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":"bot/dispatcher.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf75f56b344021539a5672c1aa3b0ea63d02d482ea950f66672ebe61be46332"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized.isdigit() and 4 \u003C= len(normalized) \u003C= 5\u0060 appears character-identically in 2 files \u2014 data_provider/base.py, data_provider/longbridge_fetcher.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":"data_provider/base.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7aef9d064026b6ced8f4ca266f5dec9fd124920a7e25742b363701fc133e21"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized.isdigit() and len(normalized) == 5\u0060 appears character-identically in 2 files \u2014 src/services/history_service.py, src/services/stock_profile_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/history_service.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace9cb1044b1c67fd8a79d076a80be1bccd14ed0a85aa7652abb9088a8457f11"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized.isdigit() and len(normalized) == 6\u0060 appears character-identically in 3 files \u2014 data_provider/pytdx_fetcher.py, src/core/pipeline.py, src/services/history_service.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":"data_provider/pytdx_fetcher.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f76d6fce489c291d6d242ac025dbeef66b55f9a5047b710901db94aacfe3ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized.strip() or unicodedata.normalize(\u0027NFKC\u0027, name).strip()\u0060 appears character-identically in 2 files \u2014 scripts/generate_index_from_csv.py, scripts/generate_stock_index.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate_index_from_csv.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb10a405417564d7e01bf60b8ed8a365ce10ac94c986ba03636c53a36fc53fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized_deployment_model.startswith(\u0022openai/~\u0022) or \u0022openrouter\u0022 in normalized_deployment_model\u0060 appears character-identically in 2 files \u2014 src/analyzer.py, src/market_analyzer.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":3184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5113e8802502a3f25afc2216bac1144e3aa2c808b8086581819cbc67b7bf15fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not api_keys and channel_allows_empty_api_key(protocol, base_url)\u0060 appears character-identically in 2 files \u2014 src/config.py, src/services/generation_backend_status_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config.py"},"region":{"startLine":2706}}}],"partialFingerprints":{"codehealthFindingId/v1":"6556bd6c4e68dfc70c7bb05d92db9d0efaa33548d8945cb247ae707a09d6a01a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(columns, list) or not isinstance(data, list)\u0060 appears character-identically in 2 files \u2014 src/services/screening/daily.py, src/services/screening/snapshot.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec60ca96217e77bb95bbea6a792b4c98ed3fd8e2afeb1d4a2e4f4dcd8c3e855"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(item, list) or len(item) \u003C 10\u0060 appears character-identically in 2 files \u2014 src/data/stock_index_loader.py, src/services/stock_index_remote_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/data/stock_index_loader.py"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5cdfc25f91c925b8366e09ab1bdce39ee039179509be8bdb05db9befb216766"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(pinyin_full, str) or not pinyin_full.strip() or not isinstance(pinyin_abbr, str) or not pinyin_abbr.strip()\u0060 appears character-identically in 2 files \u2014 scripts/generate_index_from_csv.py, src/data/stock_index_loader.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":"scripts/generate_index_from_csv.py"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"412c425a6a819de655dae8b0521f65dd02be5cbc6313ff438c0864e3f4471ea7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(row, list) or len(row) \u003C 10\u0060 appears character-identically in 2 files \u2014 scripts/generate_index_from_csv.py, src/services/stock_list_parser.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":"scripts/generate_index_from_csv.py"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18061ede33a6d5b5337c040c247bb3bd4bbb1144e2e8db328e8cf8a17336f8f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(row, list) or len(row) \u003C 6\u0060 appears character-identically in 2 files \u2014 data_provider/tencent_fetcher.py, src/services/screening/daily.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":"data_provider/tencent_fetcher.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b270c3fcb477bea51f8aeed0e85f071d973b3cd6b2b7b422a352746f8f5a70"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(subject, Mapping) or not isinstance(blocks, Mapping)\u0060 appears character-identically in 2 files \u2014 src/analysis_context_pack_overview.py, src/analysis_context_pack_prompt.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis_context_pack_overview.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fa9272adba6b1b04f38f0907670fd4c55a2f686bf91226a6314501cdc49a9f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(value, Iterable) or isinstance(value, (str, bytes, dict))\u0060 appears character-identically in 2 files \u2014 src/agent/skills/synthesis.py, src/market_structure_prompt.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/synthesis.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bfef112f9d9464628a9318c14033e94755bd4947d10a9d628524a320c95409"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(value, str) or \u0022T\u0022 not in value\u0060 appears character-identically in 2 files \u2014 src/analysis_context_pack_overview.py, src/services/research_artifact_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis_context_pack_overview.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ec35c1636de58673f0afdb3943c5ee08af2820605be8b9142a5229d3d8fdf8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not model or _uses_direct_env_provider(model)\u0060 appears character-identically in 3 files \u2014 src/config.py, src/services/generation_backend_status_service.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config.py"},"region":{"startLine":3475}}}],"partialFingerprints":{"codehealthFindingId/v1":"354bb0d4ab3f368ee9c682857b0e4fbfa80e3f5bfa680127ee9aae0859c6e32f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not normalized_configured_model or not normalized_response_model or not model_list\u0060 appears character-identically in 2 files \u2014 src/analyzer.py, src/market_analyzer.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":3168}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e4ad1a2417d8a13639f6bf95abf82982e8b0991de1bb7b833ae6ce0d404f27"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not self._api_key or not self._is_us_stock(stock_code)\u0060 appears character-identically in 2 files \u2014 data_provider/alphavantage_fetcher.py, data_provider/finnhub_fetcher.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":"data_provider/alphavantage_fetcher.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b630dd36eae01e5e8f74df5380e04ba28f277eb1004462fb885eb3d4d3f6620c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.getenv(\u0022GITHUB_ACTIONS\u0022) != \u0022true\u0022 and os.getenv(\u0022USE_PROXY\u0022, \u0022false\u0022).lower() == \u0022true\u0022\u0060 appears character-identically in 2 files \u2014 main.py, scripts/check_env.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":"main.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2511ed2a4eea547622798c521871e3b763573e1e3d38605a39e733853a15dd9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.getenv(\u0022TUSHARE_API_URL\u0022, \u0022\u0022).strip() or os.getenv(\u0022TUSHARE_HTTP_URL\u0022, \u0022\u0022).strip() or _DEFAULT_TUSHARE_HTTP_URL\u0060 appears character-identically in 2 files \u2014 src/services/screening/daily.py, src/services/screening/snapshot.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade4d3506e6b85f5fee573824e4be0afe5a61d23650af213932b02d52cf2068c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.getenv(\u0022TUSHARE_TOKEN\u0022, \u0022\u0022).strip() or os.getenv(\u0022TUSHARE_API_TOKEN\u0022, \u0022\u0022).strip()\u0060 appears character-identically in 3 files \u2014 src/services/screening/config.py, src/services/screening/daily.py, src/services/screening/snapshot.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/config.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"931ddf50b410f5d430ba73611748a0cfa318a5b840eb021a4e941f29855fa60b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path_segments and path_segments[-1].lower() == \u0022message\u0022\u0060 appears character-identically in 2 files \u2014 src/config.py, src/notification_sender/gotify_sender.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"95113b18a27df8cfdca84332de71376d1c11deeafce383558be5afbeb4418f85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pd.isna(current_price) or pd.isna(pre_close) or current_price in [\u0027-\u0027] or pre_close in [\u0027-\u0027] or amount == 0\u0060 appears character-identically in 3 files \u2014 data_provider/akshare_fetcher.py, data_provider/efinance_fetcher.py, data_provider/tushare_fetcher.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":"data_provider/akshare_fetcher.py"},"region":{"startLine":2124}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b8f7f3cfc1fbe359c9f2fa6dacaa90491d77433cc7696bdda079cadda5b6b0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060phase_decision.get(\u0022confidence_reason\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 src/daily_market_context_guardrail.py, src/notification.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daily_market_context_guardrail.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"76626f617b5e8c0d4768cb02c8c696379c6d69593de489b1813da21871db02be"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw_model in channel.get(\u0022models\u0022) or []\u0060 appears character-identically in 2 files \u2014 src/config.py, src/services/system_config_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config.py"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c11f6b0333d350d6973e1902450af0e3bade1b485b9c537a88613d72a17515e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw_signal is None or (isinstance(raw_signal, str) and not raw_signal.strip())\u0060 appears character-identically in 2 files \u2014 src/agent/orchestrator.py, src/agent/skills/engine.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/orchestrator.py"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8f6e0ebabc6931d58e4ede006ea748fdfdc5b55190791eab197331e88e3dd9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw_value is None or not str(raw_value).strip()\u0060 appears character-identically in 2 files \u2014 data_provider/tickflow_fetcher.py, src/config.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/tickflow_fetcher.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"73394fd8bf900da7817b59094954577022150c6abb8d2cbde5d708c874212648"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060remaining is not None and remaining \u003C= 0\u0060 appears character-identically in 2 files \u2014 src/agent/research.py, src/search_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/research.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a7465af05de514970865308a379c4e44af4df73a1d94c7e17996a99e7876c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060repo or SkillOpinionOutcomeRepository(db_manager)\u0060 appears character-identically in 2 files \u2014 src/services/skill_opinion_outcome_service.py, src/services/skill_opinion_performance_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/skill_opinion_outcome_service.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"333873eda5765d12351c500a10e149fcc4e71c3932b8a0d315eaa54b8a644a1a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060report_language or getattr(result, \u0022report_language\u0022, \u0022zh\u0022)\u0060 appears character-identically in 4 files \u2014 src/daily_market_context_guardrail.py, src/phase_decision_guardrail.py, src/schemas/decision_action.py, src/services/history_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daily_market_context_guardrail.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0fb0b74d8d05063056c80a6df29e65ba200c9f3490d6b45d5af354e34ea135"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.get(\u0022message\u0022) or result.get(\u0022reason\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 src/services/alert_service.py, src/services/portfolio_alerts.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_service.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb9aff44c01777d4fd62c0e057da530b1e34074a03a0900c76f186cbda4d8c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.get(\u0022status\u0022) or \u0022evaluation_error\u0022\u0060 appears character-identically in 2 files \u2014 src/services/alert_service.py, src/services/portfolio_alerts.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_service.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"04407a25f681dd3bdb7361eabccf392f44399a75ec0f9fc2b17b0a2182515aff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.ma_analysis or result.volume_analysis\u0060 appears character-identically in 2 files \u2014 src/notification.py, src/services/history_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0eaa4e164101269190ffee08c3d3b634f795fc6a3f7ade1ffdaeb40be5889d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060risk_opinion and isinstance(risk_opinion.raw_data, dict)\u0060 appears character-identically in 2 files \u2014 src/agent/orchestrator.py, src/agent/risk_override.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/orchestrator.py"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39e97961dc8f784247ea2fc8328ac9d406b35f7b5c3e5d2153f8950e31a7d75"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.get(\u0022name\u0022) or row.get(\u0022\u540D\u79F0\u0022) or row.get(\u0022\u80A1\u7968\u540D\u79F0\u0022)\u0060 appears character-identically in 2 files \u2014 src/services/screening/context.py, src/services/screening_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/context.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc45cf1065d828ee8cc66fdf6db6c11fd99794f6ab0f934de5ee4cb4f8d49262"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rule.direction == \u0022above\u0022 and current_price \u003E= rule.price\u0060 appears character-identically in 2 files \u2014 src/agent/events.py, src/services/alert_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/events.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb196316499e00408bf83cfcb0355bc9d840f4e89cc72fc6e3a77c642920c510"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rule.direction == \u0022below\u0022 and current_price \u003C= rule.price\u0060 appears character-identically in 2 files \u2014 src/agent/events.py, src/services/alert_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/events.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"877b7dbabb5d1ee40e27adb556832bd6d7e2a5e636459c2c77e5f752063bb5f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rule.metadata.get(\u0022persisted_rule_id\u0022, 0) or 0\u0060 appears character-identically in 3 files \u2014 src/services/alert_service.py, src/services/market_light_alerts.py, src/services/portfolio_alerts.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_service.py"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e00d589f25888d537fdbfd05074ad4bfab910faaad22810fd796865cfafc9f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sample_sufficient and direction_denominator\u0060 appears character-identically in 2 files \u2014 src/services/decision_signal_outcome_service.py, src/services/skill_opinion_performance_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_outcome_service.py"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"325cd8604617910d872015a7f156e20fe706aa6464651361a4db32374965c38a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self._background_thread and self._background_thread.is_alive()\u0060 appears character-identically in 2 files \u2014 bot/platforms/dingtalk_stream.py, bot/platforms/feishu_stream.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":"bot/platforms/dingtalk_stream.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"6453c06b5a337e4f4dc4fe1f3e1458d08665c0193b28d560d8a2d7e36f314efa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self._router is not None or self._litellm_available\u0060 appears character-identically in 2 files \u2014 src/agent/llm_adapter.py, src/analyzer.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/llm_adapter.py"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"f703b2bb8f50f2e9cbb8463f84a8e4ba213ad7ce2afc3ffb18fef43a127aa374"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.config.get_effective_news_window_days() or 1\u0060 appears character-identically in 2 files \u2014 src/core/pipeline.py, src/market_analyzer.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":3032}}}],"partialFingerprints":{"codehealthFindingId/v1":"002263cfa25a3cded96b92429c76c1b62926fdcddabd1cf49469584cc6091b22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session_service is None or resolved_turn.snapshot[\u0022session_id\u0022] != session_id or resolved_turn.message != message or resolved_turn.clarifica\u2026\u0060 appears character-identically in 2 files \u2014 src/agent/chat_executor.py, src/agent/orchestrator.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/chat_executor.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"92410b45d401203ed1f30aa8bf1bd352ff9e68b48362975d9fdfd5cda8a1ab15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060signal_advice or self._get_display_operation_advice(result, report_language)\u0060 appears character-identically in 2 files \u2014 src/notification.py, src/services/history_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5183c696c7c9f1e8922d73de03f4f29502c0bb343d9f175c6b2a5ea26d8f7c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stock_repo or StockRepository(db_manager)\u0060 appears character-identically in 2 files \u2014 src/services/decision_signal_outcome_service.py, src/services/skill_opinion_outcome_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/decision_signal_outcome_service.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"119d829561c5f8f9fa84a3653861b1b71ebf26392ac09e9bd626b4c6e77f2efa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060suffix == \u0022HK\u0022 and base.isdigit() and 1 \u003C= len(base) \u003C= 5\u0060 appears character-identically in 2 files \u2014 src/data/stock_index_loader.py, src/search_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/data/stock_index_loader.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be72802005249e6de8b4113f6e2244d0c4ae952864bd4a76a82b518105fe252"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target is not None and target.asset_type == ParseStatus.INDEX\u0060 appears character-identically in 2 files \u2014 api/v1/endpoints/analysis.py, src/core/pipeline.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":"api/v1/endpoints/analysis.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"5018ccc6d363a29db933745d06ab40cd08e338af3e8296e18ad53d46c6ab7dc6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target is not None and target.asset_type == ParseStatus.UNSUPPORTED\u0060 appears character-identically in 2 files \u2014 api/v1/endpoints/analysis.py, src/core/pipeline.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":"api/v1/endpoints/analysis.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdecf0cad05abcbb9b727081b5daf02aab1d81c86f2eb5e19f1c749469c98f45"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target.asset_type != ParseStatus.INDEX or target.matched_index is None\u0060 appears character-identically in 2 files \u2014 data_provider/akshare_fetcher.py, data_provider/efinance_fetcher.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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ba64da126d0e0150b2b09b83a3196df1eeabd7e99f0b5fbac67e41fac81681"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target.asset_type == ParseStatus.INDEX and target.canonical_id\u0060 appears character-identically in 3 files \u2014 src/agent/tools/execution.py, src/agent/tools/search_tools.py, src/services/decision_signal_service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tools/execution.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"8408673823c9d454b6fa5d9cc3c17c223d905cb1aadf6155a541b0d6066409d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060text.endswith(\u0022.0\u0022) and text[:-2].isdigit()\u0060 appears character-identically in 3 files \u2014 src/services/screening/candidate_context.py, src/services/screening/daily.py, src/services/screening/normalize.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/candidate_context.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dababde003fec1d404389494d7ec500522fb0d12c531944a4dc900f050edd4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060today.get(\u0022data_source\u0022) or today.get(\u0022dataSource\u0022)\u0060 appears character-identically in 2 files \u2014 src/analyzer.py, src/services/analysis_context_builder.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1d88e9831d1c0a6037838c753aa0b106650a074c0593c499ef3646b16bda2f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060today.get(\u0022estimated_fields\u0022) or today.get(\u0022estimatedFields\u0022)\u0060 appears character-identically in 2 files \u2014 src/analyzer.py, src/services/analysis_context_builder.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"580358a828bcf154f59c85f7617ec54ad4d5c7c44b5f345febe1adf4475ab3d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060upper.startswith(\u0027SZ\u0027) or upper.endswith(\u0027.SZ\u0027)\u0060 appears character-identically in 2 files \u2014 data_provider/baostock_fetcher.py, data_provider/pytdx_fetcher.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":"data_provider/baostock_fetcher.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc14aea5796156a6b7d3f00173870629a5c1ca05beea2c7e4056f7bb4727f8a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060upper.startswith((\u0027SH\u0027, \u0027SS\u0027)) or upper.endswith((\u0027.SH\u0027, \u0027.SS\u0027))\u0060 appears character-identically in 2 files \u2014 data_provider/baostock_fetcher.py, data_provider/pytdx_fetcher.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":"data_provider/baostock_fetcher.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"605f417ca366f11b19d33cb499d1c3e3ad783a73768ccb05e4aa74be8df5399c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value is None or isinstance(value, bool)\u0060 appears character-identically in 2 files \u2014 api/v1/endpoints/history.py, src/core/skill_opinion_outcome_evaluator.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":"api/v1/endpoints/history.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d35891070879e12d8a2f596e58575b56595323389a6d26bfe08d775909551a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value is not None and math.isfinite(value)\u0060 appears character-identically in 2 files \u2014 data_provider/fundamental_adapter.py, data_provider/tickplus_fetcher.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":"data_provider/fundamental_adapter.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"952e13e6f5c1d994a091693b9087bec94779eabf0ee3f2a844b1e08a04324327"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060redact_sensitive_mapping\u0060 is public and takes \u0060obj: Any\u0060 from its caller, and it calls itself at line 102 (\u0060redact_sensitive_mapping\u0060) with a piece of \u0060obj\u0060 (and at line 105) \u2014 and nowhere in \u0060redact_sensitive_mapping\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060redact_sensitive_mapping\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/sanitize.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0aaa8211111a92791ec7598d24abd83e9406584e88aa95fcb57127192bcfe2e"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060find_sniper_points\u0060 is public and takes \u0060data: Mapping[str, Any]\u0060 from its caller, and it calls itself at line 119 (\u0060find_sniper_points\u0060) with a piece of \u0060data\u0060 \u2014 and nowhere in \u0060find_sniper_points\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 \u0060find_sniper_points\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/sniper_points.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca089f09173fdeb23443db55d2dbcb2217ffe0730a294b8080b19294a6eeabc"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060attach_legacy_message_stability_audit\u0060 is public, takes a document from its caller (line 485) and hands it to \u0060_plain_value\u0060, which calls itself at line 843 (\u0060_plain_value\u0060) with a piece of \u0060value\u0060 (and at line 845, line 853) \u2014 and nowhere in \u0060_plain_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_plain_value\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/usage.py"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f7dc4b869a6d6b072141665b0ebc566240eb71f4d28052e59e1e1eb448cd84"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060strip_trace_metadata\u0060 is public, takes a document from its caller (line 229) and hands it to \u0060_strip_trace_metadata_value\u0060, which calls itself at line 272 (\u0060_strip_trace_metadata_value\u0060) with a piece of \u0060value\u0060 (and at line 277) \u2014 and nowhere in \u0060_strip_trace_metadata_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_strip_trace_metadata_value\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/provider_trace.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ffb9199c41b47d546484da65199e0add3b6eebfc6b4ac09a55c3a2363ad349"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 1550 is called with an argument built by \u0060list(data.keys())\u0060 (line 1550), 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":"src/search_service.py"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"db558521cd492baf33ff9c8e79ed6148c9daff82ea30751ab0672fab59708933"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 1871 is called with an argument built by \u0060list(df.columns)\u0060 (line 1871), 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1871}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a319730f41e4bb5baca914857bba39c614f438940e15de9e86f951f7bc324ab"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 94 is called with an argument built by \u0060json.dumps(data, ensure_ascii = False)\u0060 (line 94), 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":"bot/handler.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e810c5e2e23cc7a06b29902dc9df0464e2f92590176bf77ed93e40ce7dff333a"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 169 is called with an argument built by \u0060json.dumps(data, ensure_ascii = False)\u0060 (line 169), 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":"bot/handler.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd3de5b7a4d604a3f1767326ff0871e9061f8e3e4a3b9d3f7d391418ee7d056"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis_context_pack_prompt.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fdd7979a82d43d5c2bf82d0b5c3a4281832db919d699a34aa60ea8650614f4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6a6b3b77b1adb501b663a6fcee1ae31534514e59022e4cde30619852f6aba0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analyzer.py"},"region":{"startLine":3070}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9dc0a845b7e1422e0e2025e0b418f4c2a53d497f6d316b2b2dbb4162c3fe84f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification.py"},"region":{"startLine":2786}}}],"partialFingerprints":{"codehealthFindingId/v1":"4098b1db06ae9efbf56df7368b8588029102f19f7156bd5d87ae3e3354e2850f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_noise.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"942248d6ebe44bf88ef0eebf975c7f2c60a5da6774e01ee945214061f06b2acf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe78c457254752ec7372501933fc9586341f72afe29e125bd9fb9b75421afb70"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d593d26b8055f5b3ac1eb568b9dbeeda0ddc2938a8830ed19125bb8c8c963d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bd29230334440a7dc2b803ea618f60187b6704bc5e3587a9beb5b133c63b9e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff4f9e23595281521a390fc5608b14c3b01e0148b59a7afc8121666373af5db"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd88b07b64c97d668afe5de72c7f9bf73e48cdfe410605ee4b9f41eadee13543"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c571847ee37d0c9158573c5f0a017768e35d1ce907e2a488d88dd6225bf382e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"66875370a8fa9d18440f9e7bd3fe46317c49a51eb3f454d54ffff65661b3dbcd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1fc9650ddc98ae1f79548e69d6130d31cdaf929e45e96988a56832680d4118"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69516e49c9c4153d268405e6cc9e5bf26c304bfa60a9a0a9c2f0f63b6a40e22"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":1800}}}],"partialFingerprints":{"codehealthFindingId/v1":"6828ee8fff735c80169fe642efa852b14eb2f7066dac711e43d04a4111e78a35"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":1811}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e808ab8705cc16e1f0c0bd20aad90addb6e391accd9eb8f095c9bac9b58107c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":2168}}}],"partialFingerprints":{"codehealthFindingId/v1":"0821293c3a871e72ce855fb018768f41b28f4b3551fb6f6635d2e1396151ee1c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage.py"},"region":{"startLine":2747}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb94c497c4e63e254f9c1632f737cccd08667be2a88a943378d39bb422a90c4a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage.py"},"region":{"startLine":3058}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc98a0b3aa42c13af2fcb4356845ca2ad9cceaf5d75fafc948bf3ed41080103"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_indicators.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a56da8c836d6997c02605ce66fc2717caf7a0fc3f43bc0a0cfdbeffe7e09cc0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_service.py"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea94d8f43b38ce004b6accdbdfcc5222cb239be4f940a5c17c5ea2703ca0743"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_service.py"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"4503a67768b111759974ce6680af21bf5e796232334613804b381b2c06db36eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_service.py"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8651abebfa572293afd0bdad6ecf0af1a057a1062748ab42ac8a390a4f3240"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/alert_service.py"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc7ac9008478da7e33f8f91e4c00c40829d36dbb1c895d7b32c372590e9bcfb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/daily_market_context.py"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebfa8784bcdb639da28b3425bd85172cbedbe761439322c60c6319553e8fa53"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/history_loader.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"066f94ac979ea6be401e7331a0a2bff8edf8eee549ac974d1e62dc4ad79443c0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/history_loader.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"032c127c6c02dfafcc75432f4fbce95c4539e62a65850385027941d755b6479b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/history_service.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecbf7e80713d3670d1c5fa6b8dbf62ee78c80d3f648b3967b1fd51dc51abf1b0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/image_stock_extractor.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33703dd2887e44e760e9dc85d88d204ca20c816ed8860cf650167d32d9cd94f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/import_parser.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e999b4d4587ea07a14f53419e4567b870d30cefa3e05a67bf5c5fdc35c43320"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/market_hotspot_service.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7ff847868e524618bf9117345139bfdb201215f9b6f98f080214d8e6ed04d0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/name_to_code_resolver.py"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bca360a02350970bb8a97311866a1ad8d9e7a28b9f9a114ca6597b8f33b481"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"7526e2103207aa0e3c7b3eb81a29878e1bdd922e467117c077208b5bb22ee48f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39b5a86959b964f2f59ad0cd313c82c73913fa05dee3a69c6fe2f5263c581cc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"2177730227a97679d0e15267de6591ca15cef92f858eacee5c51a6926d3d1137"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e685720c0b4424bd7587ea576e538e42ce7325395e18e01b4d177e9ca91b7ed1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":1817}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2e3fda11b095af49716c7994c5f2a4553e84de7e73d626b90fdbcc6e57465c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":2588}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ff401e59e70a658074a7718c0e6e044a72c6096ea00d8e121ca193bc009528"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":2732}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf588dcbb60536adc5e501ffde22d553a2e1c5efac78b50c17144a6ae05e0ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":2759}}}],"partialFingerprints":{"codehealthFindingId/v1":"06540fd141abc44aa1d799f78e6f5918f009f6de5a010e1dedfb91f68ef1fa4a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":2784}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a30719468f1395a39dfb7161a8d195746095e0695784b56f3147439156f53c7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_profile_service.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb888d906f1204a7804d15309514b421563eafc46c98dce0ca9a2a183b0e39cc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_profile_service.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a885b26705ee164e9d32e3ec40b62251d3bbce6fa3ebece538eb9322c3f4b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_profile_service.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ab3a25061efb98b690e524681e4ec65f27c470116cf130919e9b2a35082950"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_profile_service.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"23115a9470543914e5e58ac69a7d477f01717dadf216a650019535c0a43ec6a6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_profile_service.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57496b845650d77d69102b8ac41d980dabaf98d42638f43a038464947046b6b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_profile_service.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"db01400de85a9201e49925e887a7a1858794c0629b05cf896c61e479787c55b7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/stock_profile_service.py"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b707115cf40fd64e5da750adebc85ebbbcb58323f33d73d35740ae56e8d3a88"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/candidate_context.py"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdb018d42928996f947f2cb4118e2b4424f557afb9339b01bb6d60e6f026ed1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4e163fcc266fe428d09f6be2a3868ece2bfe5bfbe7bc9dba3ac167cf1980c1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc11086f4d743e0434b159ee6653f9b6fd4dd9b3fa55cb7402a81f21069bba04"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0c0a3d629f2d76e52721364ee1e0f543aae06019e57ed44e79b25d318d22a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4c68ccbdaa1aedc7f1600e8bb9763df322f3592eda3994e19b6e1e2b952b9b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/daily.py"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e43a7d4b31d03c2a03fd43100c4562d004c4bc9a0ef6ae3bfaf531c5cac634"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/ranker.py"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dccbdb0ca1bef9caed6cc600c021eb675330d164f62b52d6163e4fed0d892dd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/snapshot.py"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"634165457f1b624c5bceb82a4a6c7450e2edfa7942e5d33c1e228d33f6c200ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/snapshot.py"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e983b9ac063e880f40ca1617dcdc5414249fcb88a08818a143169b3a818aed8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening/snapshot_us.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd92e9cee0eb5310b9b399069354d677bb370f579b934e98c95d67ff501413b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/backtest_repo.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"529d0b22110ba4d6d6184e5277c0de0c6e588f954a628e0fb1eec16bc8cb06db"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repositories/backtest_repo.py"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f3b36611a71f96326d60605cb63b7bc7b663a779c9c44b14e85d8aa3e63c87"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/email_sender.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9edad4bb294f42319fd8737c210585ed32374aaba21d0bdb7f7a92d8cc3a25f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except (AttributeError, Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/feishu_sender.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"8621bc07b5a9576c2f3641e9eebd21a4ae413e9bcacdfbf967f2a93a96f5881f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except (AttributeError, Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/notification_sender/feishu_sender.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2eabea87dcb79eee5a5874a4c4fc18fe401e4ad75f8efde57410b19562ffddf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":2775}}}],"partialFingerprints":{"codehealthFindingId/v1":"334b1b1663583e2f304eca408c5fcd44d9c11a087b9f538ebcab51936a7df562"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":2789}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c09098dd1b8d6dc7bccf163c98a798a5db4db225674e813a26f1105c653bed3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":2793}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c3e4645b4981f61d8b7a30b5f0bd9f091dff6077c11d91fcf6f86927998a4c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":2800}}}],"partialFingerprints":{"codehealthFindingId/v1":"f168f7baa6d6d42a6891dc67e3843c2f145cf01be5874326903c6546a589c03f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/usage.py"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ec0eb9c3c1719b011d76bd487c306aed9a45b208b8d3dd8787882de97fc683"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/usage.py"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb97858a00a42f21f74f9d9faafe15e1d7c0ac72e9a5a5b9b4a883e3e2006969"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/usage.py"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"65af91c761c35281bd0cb2c7edb65558bf41b10ac7b71ee21db946579b894f1c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":3240}}}],"partialFingerprints":{"codehealthFindingId/v1":"94416bb228e1c8a80ae4330531843a3aeabde50013718d5dbb951c3a638d2f58"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":3245}}}],"partialFingerprints":{"codehealthFindingId/v1":"f401821cc93e7970a9c957ff39598378a81c482e76b4b4e62c91968349f5b02f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":3962}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03b7a7078bb7eabe215ffc6eccd4934f2bef0668b2263b69fc2874d3c05bc51"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/events.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"699ce39fb04cfa38c604e42cd50c39365b334cad469ecd02993a477c056f7593"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/llm_adapter.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da479430d70909b053f2c0ae72a4c2ca72ed9bfef3d60d4584728178f1d8c07"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/llm_adapter.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de190df9f3750b8e3995286642582042fa2ad99fbd776f1924b71f852fd3e68"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/memory.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"2710c29c107fb7615f63e463f42f00846d8ee8b3dcc8be9b015892761edb8e58"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/memory.py"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5ebeb73f10e0e24f51bde137836e9260fdf5b5a8236024f8abf953a9a5a3c9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/runner.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"e410457efdbb8317f74a6862a9dd94127280121e8eb16ca626746630c47783da"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/runner.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4456d48f226e5182d7fc411ddc46d72ee466053d92c86404c81501dd74e8f3e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/stock_scope.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"038d152dcaa44cf3c7979ac5a7c0e8a0e266fffadc513585455902239087b3e7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/stock_scope.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"587155e88e1882a3c7a27d0323465a7a67e55cf878435937ba509e83368bfbc9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tools/analysis_tools.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"577d1c6244a6cefe60d78b34a27b2350f8b061966cce4362110cfec8c8e4202c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tools/analysis_tools.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb80618cbae2e5353b702050a8ee8388949568df335b27f39a9bea072638717"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tools/data_tools.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c5db15d6ed1490069c35ed3f4152fa795dbec96b7d15f7e766b9b976fd155a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tools/execution.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6080f12d8c36a2fd88b5a4760d1ec31bb1d5ebe5c9ac2c9b18dcdb39674622"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tools/execution.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6ae13a1f22f648913baca5663458f8bf93251ae94134d81c0ac1baec88eac8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/tools/execution.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ae30fe660944425136a054e23648218c91912e500a1b2abe7fbd6553c4079f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent/skills/defaults.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1691e8766055f1608626532272fc174f156cf1380f463e4725cc7af46625da4c"}},{"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":"data_provider/akshare_fetcher.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1640eca1635c4ec17dcacde1a5de7fc452c73c9292457912e288c633b8edc9f"}},{"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":"data_provider/fundamental_adapter.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eea060ff5277f36ea96495e333382cb5a6a15ff0a5b0572b3869f25396804f7"}},{"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":"data_provider/fundamental_adapter.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d7a76248565bb820b116e1033b323ed60c8337512338329b9d9e69a5a7005b"}},{"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":"data_provider/fundamental_adapter.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"779aad9e162801189abd80636bbabe7438f37776ff393e376bd2fef3428282ab"}},{"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":"data_provider/fundamental_adapter.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08750a2ed50f7860f7bb932407da482c95cc297977d33aef67a58ad0d45268c"}},{"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":"data_provider/fundamental_adapter.py"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ccc72eedb2f59ff071e1a062e5086de49d459c4167c9d90aaca92d12571112"}},{"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":"data_provider/fundamental_adapter.py"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57e6684adbf4a948e70c7ecd14486907ef1be2789c0cd67d05e45e520eac8da"}},{"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":"data_provider/futu_fetcher.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b1afb458fb0900b34863e36f70af1c155f1a9879dcf95b140b18eb3a3ca92e"}},{"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":"data_provider/futu_fetcher.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba2429b9b1ff1d31e822f7c0de4936adbf01b35c9d4acbd36ded14e7c5066e7"}},{"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":"data_provider/futu_fetcher.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f123590270bf5596e1efe9ccfa246da3ae8e145d0d33599eb5170b7f20c0be91"}},{"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":"data_provider/futu_fundamental_adapter.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e2f2a4857e0b79c392210cc1e921c1f8b276cdaaf581d05c40ee2d47714366"}},{"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":"data_provider/longbridge_fetcher.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bb70567617256b0d652d03efd2c9df3b0556ffd8cb3482e8e35815fd60242f"}},{"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":"data_provider/longbridge_fetcher.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"15307e13dc3977d33ab3df6e9a5ca2dc1c68c06189bddf42ed404033f147d591"}},{"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":"data_provider/longbridge_fetcher.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3270624e278244da21f140e8d16513852ed57f6d0d635bf3a3f1179b2e5aaef6"}},{"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":"data_provider/longbridge_fetcher.py"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"43afaa45615de854c81162ca48c8546f59077c1422dab5ded2fc518587447aa2"}},{"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":"data_provider/tencent_fetcher.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a99905bb85758803f101244ba89792e757d7850534a389ba160d084216a19fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060__del__()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_provider/tickflow_fetcher.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf35a37216598e608269fc5b16a44da118f782645d32f89932ca7ce890b6555"}},{"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":"data_provider/tickflow_fetcher.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"f041fc502416d53b901fb5b8a3ebcafe3eee67e40dd502c1f84c06f59a81e330"}},{"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":"data_provider/tickflow_fetcher.py"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2a67e16615928686e0b5562fd63ea218eb3b444e3b07b9d2e8c3b225478a3b"}},{"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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a003e79d42432b9b29cb98f133fd46a348fab2ae2ba88cef35f275b9b5a058"}},{"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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f42cf8e0488b622e20ad61e0c67c365a587d0f66477d9103aca598d3b60b0cd"}},{"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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac470ead28ea5b1f39d0a171317c4512d3d013e6c27cc8fc3ea75ccf7251e4f"}},{"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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e4697eeca7dcbb5646785085f42de901295dcf726df05d76f34abbc0b0bca2"}},{"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":"data_provider/yfinance_fundamental_adapter.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc749d8f3f1559cb3eb1b69a1f5ca5f1de699f612c456ca3b7f6533ef06f9e83"}},{"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":"data_provider/yfinance_fundamental_adapter.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c58d059155e2364c9c7c5a1046361a14fb79155bc0b72234bd78d9ca7945c48"}},{"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":"data_provider/yfinance_fundamental_adapter.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"5730500208e3385425f2578e039aeeaeb4d3c6cf731d0813474505b2a063bf69"}},{"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":"apps/dsa-web/src/utils/uiLanguage.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3019b171790b991e330c5ddc0cb0984b3fbf72b58559880490e5be0a29de41"}},{"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":"apps/dsa-web/src/stores/agentChatStore.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"057bfaf1fd205b4527f511827b701cf89b3d4f7f1db67988f1437c96aeeab3b7"}},{"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":"apps/dsa-web/src/stores/stockPoolStore.ts"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"6379d8821f6563976eabd179e312ea32fb35d22039bf75fd880fe939556ace4a"}},{"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":"apps/dsa-web/src/pages/ChatPage.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"283f197a3d1a205f8a31c9aa02f0fce86273ffb751bf808a375aa23706438a1b"}},{"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":"apps/dsa-web/src/pages/HomePage.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2bdfbd7a4f9d658e885a3d5a61273f50a78d8805fef530198376fc04e2200d"}},{"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":"apps/dsa-web/src/pages/HomePage.tsx"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"c047f47eaa91dd2bfe69863e3ba53df325e5d1642d5471021e7eb6c1cc0140b4"}},{"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":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"74adff5f0ba6b7ceaaf625634139990ced9121e68014fcb8f82ecdf9931b0538"}},{"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":"apps/dsa-web/src/pages/StockScreeningPage.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e78d17ea1b9f082ac19c5c013068d6c0a53651651d97913f62e7c21af6620c"}},{"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":"apps/dsa-web/src/hooks/useWatchlist.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a7a36f235ee5f9bc0c1e6a2b68f5ac9d52fe0bde8560f2440cfa52293248ad"}},{"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":"apps/dsa-web/src/api/screening.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd27c452372d468b9a4c8c0108f17d0cc65ec93f5e6979934d35b22c5546d44"}},{"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":"apps/dsa-web/src/api/screening.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a1d205caaab6ff7933ac359e46c18b7395113490b91119be0f6cfa69d9ed04"}},{"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":"apps/dsa-web/src/api/screening.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"81640438405f8a9ebb1f449eb18d94cf6a3ed72d7486764159088d37b81c973c"}},{"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":"apps/dsa-desktop/main.js"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c525ac687db3dec2481877d86082ad4eefb09074c2b83df975fed118f3ecd0"}},{"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":"apps/dsa-desktop/main.js"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d61edbd7ccd2835c595c67847c381e4e6bb6dab5fd30b30ead7359c8d7b7608"}},{"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":"apps/dsa-desktop/main.js"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8a97c46bda161ec49108ee1106773da57974999dc89745b7c50a105ac22e8d"}},{"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":"apps/dsa-desktop/main.js"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca528f2bd814d54431ad00cd85dddfe93f5b370093803cbebbca03347a9f354c"}},{"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":"api/v1/schemas/history.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"625feac2d3288cbabf8a605c0f75fa1a527d94f55a562ac3c15468ad396b890d"}},{"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":"api/v1/schemas/history.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"364ca9258d94550057db6de1998760a402de199b6028f5d4e1e4f098466f02ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 879 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":"main.py"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f561a60741bef9fccf3357c770cd8d21a8f28112a6655d8dc9a29b059bd818b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 885 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":"main.py"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d62bafdc3372877c1927bcbcbbadcc99d42f09df5c27b66104914fdfdfe94c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1205 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":"main.py"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c8a1d1087d9259f3e9d4e096c9c5294cfc665530ebe41c2a6087204dff455c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1299 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":"main.py"},"region":{"startLine":1299}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cd699b97b92a2066f9821ae07bcc355767e70369fed84cea0fea2f360daa6a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1337 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":"main.py"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"49be2c7a954580ae3b3b7cfd0a861078a1e7be47b50de9ce6d6938d6046afd4c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1346 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":"main.py"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"d476f1df5c996ec3fc6d70858460f300e716615843fb5a6658b98de9456c4fcc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 1383 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.py"},"region":{"startLine":1383}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7aee77f411324b2127dbc8f217a4fa73c71c2ce2b20f698f7334b9cb87f0275"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1530 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":"main.py"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"1861e46c1aac5c1ae4656ef185ffa5f054cce279ac825200250d0640ddc8e655"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1539 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":"main.py"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bc4632d9302bf8c1c713ecf594320ee647cb7d4a0cd6b2723566d09ee6f07c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1568 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":"main.py"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"784210033ed8be8360f5cbf97461f6165c310f8180984606c4589e5f96b4746f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1583 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":"main.py"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bce0a8975fc5e06900ad5875f55cd7778782c5ea16e3209172b3787f5a3630"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1736 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":"main.py"},"region":{"startLine":1736}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46dfc66842141bba9597f7416ff1287d3c0cb868d7cff5bb9b1f3e1cdb50d89"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1774 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":"main.py"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"9558700acda910f5896bf203c320375a6b2ff34aad78586a3646e80c03f60048"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1799 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":"main.py"},"region":{"startLine":1799}}}],"partialFingerprints":{"codehealthFindingId/v1":"430c02c535da6dae1570eae0e206eb53a8586fe17de3996b6df87ad28427fa1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1869 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":"main.py"},"region":{"startLine":1869}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7de1fb12d280e77bef89a1dc6fbb9ad7c4fd94796fd759e6e573928e9c470e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1880 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":"main.py"},"region":{"startLine":1880}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9f971e3d9ce2ed0fe319888b34458118c63065fab7d74c9fcc7acaf4b36242"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1882 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":"main.py"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aad42b12685a026311184526b1f72c4740ed96f625fc30d93b90d564c58c684"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1903 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":"main.py"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"993094b1dc7439dab1c46a52c2ba85c9df51300a4ab484e92eea57f8a8de6d86"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1963 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":"main.py"},"region":{"startLine":1963}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa7775b4c536df657da15c89991821f500de61b8e47c1cda4e3199ff42646e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1974 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":"main.py"},"region":{"startLine":1974}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3ec34936d7cf71966d0fab6d44601f44d6bf8a9aa00c0ce9b20943b927120a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1983 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":"main.py"},"region":{"startLine":1983}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fc2e44e9254c772f86eec60c8e4b592cc4f2f25f9b9095ca744c80d4bea193"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 2143 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.py"},"region":{"startLine":2143}}}],"partialFingerprints":{"codehealthFindingId/v1":"de718c680217cde16a2f6d5690f852c1cdd1502c0b47d787fc745c49aba8a856"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1715 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":"src/analyzer.py"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"e959552b66b2008cd7d3d703b2ca9b0c6f7bac63b212f57f56ccbbb48f0c44e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1725 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":"src/analyzer.py"},"region":{"startLine":1725}}}],"partialFingerprints":{"codehealthFindingId/v1":"37dd43a72cd246b56f5cf43849405ca4c4386df490fbb7fec6d80de5bd005156"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2850 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":"src/analyzer.py"},"region":{"startLine":2850}}}],"partialFingerprints":{"codehealthFindingId/v1":"36701e0873b186f04f7c210f0b05d68c5ca3b0442dfc046dc2269456cd5fe9ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2892 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":"src/analyzer.py"},"region":{"startLine":2892}}}],"partialFingerprints":{"codehealthFindingId/v1":"126f815620ff5b36d498e3b3cdef56dd82a597367cca7faa530130555cde9d0c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2899 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":"src/analyzer.py"},"region":{"startLine":2899}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d859c414dc7aab28d1d51dc000ee9bf89729132dfe4e78c100df7150e29079"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2901 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":"src/analyzer.py"},"region":{"startLine":2901}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e257013eaf748b4fa6337c27adaa01119de410be15b2af41811155fa42bca38"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 4069 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":"src/analyzer.py"},"region":{"startLine":4069}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c73dc447787eefae029bb33f59efd77c5cc8aa2c08f5547c161d117af1ec62"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4201 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":"src/analyzer.py"},"region":{"startLine":4201}}}],"partialFingerprints":{"codehealthFindingId/v1":"223a782b06bcf985754ecc453f9c9105bf92f94a2bb5335183a8f2b5ee6e1af8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4202 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":"src/analyzer.py"},"region":{"startLine":4202}}}],"partialFingerprints":{"codehealthFindingId/v1":"f821db0edc71fbc1101be07f53b4c82021e46296a86472cd662836556186f456"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4203 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":"src/analyzer.py"},"region":{"startLine":4203}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b943344aa0acc00312767d7cb673a11042c9634ca8d992f5d6904b5fdb09b18"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4204 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":"src/analyzer.py"},"region":{"startLine":4204}}}],"partialFingerprints":{"codehealthFindingId/v1":"368d848cf83e7c2402d96d807ac78a949d44001086d6658625ace8301a4c965b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4211 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":"src/analyzer.py"},"region":{"startLine":4211}}}],"partialFingerprints":{"codehealthFindingId/v1":"8330d682276fca77f92a3f9c741c3544e0b32a634892d155fb9f755e0712eedd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 4213 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":"src/analyzer.py"},"region":{"startLine":4213}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf96216a3277e3767a51624c3e394098b1bad7856f0b655c506d00abc16e864"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4221 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":"src/analyzer.py"},"region":{"startLine":4221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76d7a522cfaf1c50f435bf1ee24603745f0cc31d720f1780a1d26fead095406"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4256 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":"src/analyzer.py"},"region":{"startLine":4256}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71cd045f2d011e94762b51e06379366e17208f172b36b45f4c311fad7956d0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4264 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":"src/analyzer.py"},"region":{"startLine":4264}}}],"partialFingerprints":{"codehealthFindingId/v1":"fccfeefc0a4fb4dfffb25561166790e791b0db06c373fa6d293a971fd84a83df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 4266 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":"src/analyzer.py"},"region":{"startLine":4266}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e33c5fa230a1c858fb7839896ca73cdaafa7bc2bf15659a376a90763c38cf81"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4321 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":"src/analyzer.py"},"region":{"startLine":4321}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde100f128f81193410217f2709e3f1046ac8d718014e09aa588b7c043387f29"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 5569 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":"src/analyzer.py"},"region":{"startLine":5569}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2f3566fb08c69c01935c4a02a92ec964edff4a0cae8c50ad9325acd36c1226"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 5722 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":"src/analyzer.py"},"region":{"startLine":5722}}}],"partialFingerprints":{"codehealthFindingId/v1":"2048e007c364a74bcb001fe4137cf1bdcdb5cf9a6fc1268a22deafdf4beef44f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2474 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":"src/config.py"},"region":{"startLine":2474}}}],"partialFingerprints":{"codehealthFindingId/v1":"089e07624f1f62a806dea8df8b7dc4ab7a3473bf818219a6309ac05fa85285e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2481 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":"src/config.py"},"region":{"startLine":2481}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ec16b81dbda600220130cf1a70a5fd9398f3e2615a16f3c3108b8d7b1e9227"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2498 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":"src/config.py"},"region":{"startLine":2498}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3f373342b91349a8ae3bc3f7199acf57f6b5b9ec363ea437b2bc0eba91c70b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2696 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":"src/config.py"},"region":{"startLine":2696}}}],"partialFingerprints":{"codehealthFindingId/v1":"867758d4b62d44678aa619fc74bcedee69f1719e066d603534e53b62f2d7a8b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2710 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":"src/config.py"},"region":{"startLine":2710}}}],"partialFingerprints":{"codehealthFindingId/v1":"719e3f7f03cbb40f67d86dc3cb92a50d57743bd24c770efb8c7b1c8f65ca3ab1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2713 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":"src/config.py"},"region":{"startLine":2713}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b1708b495b33433fdd19f9afd2443fa9fbde05a8a0a641736152d56b416c00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2726 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":"src/config.py"},"region":{"startLine":2726}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d39a8308e020f21def330431693bcfcbea4fd3ff80b15fa57e10e2375f9427"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2920 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":"src/config.py"},"region":{"startLine":2920}}}],"partialFingerprints":{"codehealthFindingId/v1":"625cba13a986068b7d1252ef0786e98924920097087f6e99c4e40ce9b60a328c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 3103 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":"src/config.py"},"region":{"startLine":3103}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa02e0ba89bec0379a694233068868ea0818710862bbda8ac3cb704383d8af61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 3129 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":"src/config.py"},"region":{"startLine":3129}}}],"partialFingerprints":{"codehealthFindingId/v1":"742990fb83da6eb5fac9b613d4793d65f00c0d0842f084c1e406f455407c7a6e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3162 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":"src/config.py"},"region":{"startLine":3162}}}],"partialFingerprints":{"codehealthFindingId/v1":"640bb7fa488e3639759ae140cdf5d8ffde41ae76efe02ae9c61b9352f57142b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 58 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":"src/feishu_doc.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90e8a064027b132ac807a060995c588f0b7d9787d16f509c250fd6f4eb288f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 64 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":"src/feishu_doc.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea38ce0b5fc44df1206081f41cc6c64d5cb2238972e6565e7343ffc075c58b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 90 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":"src/feishu_doc.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c4e6f8cf27bbd18b0233dba468dbac44f416823791cb1de072c2f0aefc769b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 96 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":"src/feishu_doc.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7dc6cc1b5e9c5f98297589bb0f8eb1ecb6898eb63ae98df761038f0b0b53bd"}},{"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":"src/logging_config.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"260411260a36abe2b46cac71a6a61aef2e1ea83c8047dd8acff648775089edb9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 189 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":"src/logging_config.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"718346d38b2936905d3d585a93d07d16c02cda33cd78b2877140d51ef34c6154"}},{"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":"src/logging_config.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e67c1fb37b8df93c8e8799054971d63e2903481833512474cb631f01ff12833"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 343 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":"src/notification.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"93af1c642d608378f9488911f97f4120b71077aabf18227dd36bdcb755fd6d62"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 757 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":"src/notification.py"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"558ed515d1fafd291083d26763f8f85870ddf3753f1e6e324ac1fd3dcfdbaf8e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 770 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":"src/notification.py"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"8206efd057b3fd136e38b297f7d9c6e299f314e6ea47965791b0884c2759fbd7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 782 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":"src/notification.py"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"522cb89e131695099c0c7f6dd0a3a5f9844784079e4aeefd60027e0a4eef81c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 827 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":"src/notification.py"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4a17b14ae30c50f2bbeb0adc426ad3d85638cdbc86ccc5be8938d7ac7edc16"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 830 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":"src/notification.py"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea4b0823d04390793feaacd20784d5b23a3e2016ec7ac9efaf571a9b730a418"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 898 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":"src/notification.py"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2148afde54e146e13e9a44e82a88779b0b4cbbccbd4ab98a1eed372de77ae8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2646 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":"src/notification.py"},"region":{"startLine":2646}}}],"partialFingerprints":{"codehealthFindingId/v1":"7317572f26d5a3a11d4d15ee8e55d62438e0ae517e82f2750b388d54e8bd0f98"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2798 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":"src/notification.py"},"region":{"startLine":2798}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45722f6d2038379497d4f7538b0f4c7dd4390f0bac8874b71418772a31d61c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2833 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":"src/notification.py"},"region":{"startLine":2833}}}],"partialFingerprints":{"codehealthFindingId/v1":"a229ddd3c2944791ff5d17375e0ba70f979f97e41e173be72eb322dd3ac4d0eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2846 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":"src/notification.py"},"region":{"startLine":2846}}}],"partialFingerprints":{"codehealthFindingId/v1":"6092d37da8d13b724052123a9d1c8b21dc820e9b7c1292d9e3040cfdeb3886c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2926 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":"src/notification.py"},"region":{"startLine":2926}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c88b441884ecc36db9d6d96839410dbc9a5ddb917ed47112e3ec365ba91e42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 72 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":"src/scheduler.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"77844fd3aa0316bfddf4eff04460ef62c1f44877183afdefde59af03da669d24"}},{"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":"src/scheduler.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7cdd295775d5b5c245a7334850fb028c62aee6a740c5a33cc2d8b8aedfa73a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 306 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":"src/scheduler.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6be9fdf2c33d63bd85f409967e695cc956890d9d38e9cc0ac78abcc70e904a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 309 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scheduler.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54901376c30d782dba7ffaf715d134b6d3c058f5949738603df7fdbd1887ef4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 414 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":"src/scheduler.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14fc23bed981b9370f2514329dff496f29821d07d4895ca77c274512dc1504d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 425 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":"src/scheduler.py"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbcccf0539638f7a43573600e4987291c8801e80fe501c49585b117fd5a83f0"}},{"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":"src/search_service.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dc60784328a9148d4d502d11921fa3edc05061f963f575544ec78033e33b70"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 335 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":"src/search_service.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a786bca481a33e59fcfe47619b50d0afc6f344df1003185b82fda161a5d805"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 352 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":"src/search_service.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4f7770a3005552070bdb762ddc237ffc475e514746e4ce13a7e338385c7772"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 387 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":"src/search_service.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5aff712af4433d6d75db4182653e25330a5a6a9935dadf0ab52ee0b1702268"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 396 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":"src/search_service.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d06c4e7e55dcae63bcef6ce56ce46665546be25511321340ce18c9e9f79dd4c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":"src/search_service.py"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d5113552d91775a0b39a0c444238a8e7680ed9232edd48a6b4946938fbea02"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 477 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":"src/search_service.py"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82ac0fa9d63f4d81ce0ca4664fe101505ca87fd6b2a1106ece753f99ae866e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 540 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":"src/search_service.py"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1a0a2223939b30285871f2b2d0f12044cfc8e10f386bc54a4553964b31d767"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 549 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":"src/search_service.py"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee068ee600ddfc9e262b59047d58a545b89723e03fc81ac81b6a34da202187f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 667 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":"src/search_service.py"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8c806aa8e599f0af978d0e57dd49690a3a2e3049a05d293eaa4e649093c063"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 782 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":"src/search_service.py"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a68505c1b00687d5aad8a4b01b384d0be4c565b5929d35475e9b8538f69670d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1096 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":"src/search_service.py"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"77932af1f4f163aec40491988af1f36bc3bd3258680e0a31b71b0eac048e3148"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1111 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":"src/search_service.py"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d06d8a449ef821a957fb0c767b1da22ba0c69d5485ff58c93e6013b51827c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1132 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":"src/search_service.py"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"959a1ed35ad5fcd6fe6b0b7cde00d2c2803b380101758d56487bf1f39e4d65d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1133 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":"src/search_service.py"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9790a25ad78e8961b2008dba21cc2c8010882cf09303e14d320fad04e358982"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1156 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":"src/search_service.py"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4cc1573eddd870fd5f697dbf11757075afbf435604ca2e62c6d5432655ee56"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1167 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":"src/search_service.py"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bccd9a845f2ebc2ad70567708fc9556da71f9d640dfef290d9b63c600c375c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1177 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":"src/search_service.py"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf13a8093705045234b10ee2e255990dfd12f6e7088fc9c60141e162084d1773"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1187 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":"src/search_service.py"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13e578b8a536ad654d90bf9e393e6ed73df89ae4c2eb1e44273dac8660bbc75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1279 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":"src/search_service.py"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"407bdf2f32b454855ccfa7c9eae1982bee8ad9f206e00fa0215688084d91f7e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1294 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":"src/search_service.py"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2943c7568acc82b269add896868fdc57ff7c6e87f8cd3c0be742973731ed106"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1305 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":"src/search_service.py"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5bbf94fa32cfa8591d583ccdf58e8c053be9f5344a6adc373a6f4e047b69b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1316 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":"src/search_service.py"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b7dbca4d7d2cbe7a86e6f983afba8776e89d8671f4da4e9d4d2ea34d949f45"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1326 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":"src/search_service.py"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b531c19fb3e237b2b85c12a5e299932c47ae0d784d92e15cf21e908da0aeb33"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1327 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":"src/search_service.py"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"566bd8d4b2710ebacf7bb3720edd62948f37b556d9f8de05d74547af357aa62d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1345 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":"src/search_service.py"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6675560bf5a28af46227f709206b35242f5d746436495aa076ed03d9d92b120"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1356 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":"src/search_service.py"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"24df351888cfe56f823d495ca6efe2138c23c0be0d5f5e0faf08bf3324cd0e66"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1366 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":"src/search_service.py"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6540d303d31d18323d122f819e0d990e5a89ac0065f840754920a33c11bc98a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1376 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":"src/search_service.py"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae0345a5f148862bdef93cebccad9f23460ed3daa364c2cadd14f4a79886e4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1526 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":"src/search_service.py"},"region":{"startLine":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"a299657695249c6a3c50794da2f58680c22312dbc5a04c0c26c5fe72b1852ed8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1549 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":"src/search_service.py"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4b782820dd7391796999cba5456a485208e3edda1b2662dbc63266bc2be057"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1550 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":"src/search_service.py"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"712f729676e1a1f6eb0a32821e71b24339d8e28d3c0515544281fc5430af9ea1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1572 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":"src/search_service.py"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff56451281ee7686e9f13381385fc45b77e2dbd235df0b65923c041862bb963c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1583 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":"src/search_service.py"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"1700b62e4313ce21a1eceba96ffe761ab2ee28769a239ef70f64bc2486bfbd77"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1590 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":"src/search_service.py"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e85a285b7812f12792de60c07b947c054e155834da6c9fc8d6a3a52ad8f1bd3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1597 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":"src/search_service.py"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa2456a3c3e5c6635a0d51cb5030bdef6e8621cd44953df3f70bb1241e790b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1697 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":"src/search_service.py"},"region":{"startLine":1697}}}],"partialFingerprints":{"codehealthFindingId/v1":"38025b2d05954fc3635ebd98b3227e5549a6e42b9ffa8e1345835de61378f535"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1711 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":"src/search_service.py"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"4090491635402783e3a334bac7384ee6a9b8ab2b4724ab6a0753f19db53df1c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1720 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":"src/search_service.py"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8b9cfd8a8e8d64ee3ddd7e000d85c0318e9af4b483b6b6bcc13e46e56465b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1721 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":"src/search_service.py"},"region":{"startLine":1721}}}],"partialFingerprints":{"codehealthFindingId/v1":"712d19e2c409b860fec23c700dd70bf30318daf441fd745dcfae575fc9c8bd54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1748 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":"src/search_service.py"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c958d499c34540aa6eee83e2a6841390951712dedc8b9c60d9779d12d070f58"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1759 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":"src/search_service.py"},"region":{"startLine":1759}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb7762f50788f13758d3cc43b653c71fba210a40b0cea6b4bf43e1042951b5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1769 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":"src/search_service.py"},"region":{"startLine":1769}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0a3fd6f537a3a5811e6c950611f55408c3e0e8eec52eeecc9609a11a730ba7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1779 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":"src/search_service.py"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"8faceca25cad55edd5e09df655a58fca752c2f4770ce7c5255848469c4eb0a8e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2468 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":"src/search_service.py"},"region":{"startLine":2468}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b48fdcb76bf7a56d0bee6173ae31234c63d3ae2e214f3cb7fa52426011f86c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2473 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":"src/search_service.py"},"region":{"startLine":2473}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34b418427acb29e2e0cd0e8804c22900d9656f001649d7c471a97645a9a6c56"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2478 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":"src/search_service.py"},"region":{"startLine":2478}}}],"partialFingerprints":{"codehealthFindingId/v1":"c531916205e0247e2f489e7a2f6e8088c14a2b9747167af37e18666bc4c0baaa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2483 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":"src/search_service.py"},"region":{"startLine":2483}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d2912c7b7543436bd5463f62e5373f0092b05110d6651643aacd80a6507ba0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2488 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":"src/search_service.py"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7f08084de477eecb028544920c23800b40f608f011f5c310712106c033de74"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2493 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":"src/search_service.py"},"region":{"startLine":2493}}}],"partialFingerprints":{"codehealthFindingId/v1":"e797ab0eb808f64d96356a7a30998804491e1a8c6bd78a9c39e9a5a11d55ca39"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2710 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":"src/search_service.py"},"region":{"startLine":2710}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08e2f706250c57cb73c098a7ffe33cc1578ed02072fb3e0def42dea9a615912"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4363 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":"src/search_service.py"},"region":{"startLine":4363}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec30cb8f6f85498f8d94c141269fe767793fbc0ab460143ac231c65563103e97"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 4631 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":"src/search_service.py"},"region":{"startLine":4631}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85416a71359f10d631526838e8364c074fc738d3eb19b363414fe121c64b5eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4763 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":"src/search_service.py"},"region":{"startLine":4763}}}],"partialFingerprints":{"codehealthFindingId/v1":"685b950bba04c55423cfe19c15e3dae6cc1b50f8a23d8523c559eb112fb795cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4775 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":"src/search_service.py"},"region":{"startLine":4775}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e4b6ef5b5e8f836b0b447940c9503b9971e161f29b0f4f1088290f15917406"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4795 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":"src/search_service.py"},"region":{"startLine":4795}}}],"partialFingerprints":{"codehealthFindingId/v1":"8977e72f89b218bab5d50441033151d6fe3157e9a68d80ca5496380fef41a28b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 4798 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":"src/search_service.py"},"region":{"startLine":4798}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2184171ac063edbc6b2091dc2462e37bc2f1e6909b64dde2f961348475d783"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 4801 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":"src/search_service.py"},"region":{"startLine":4801}}}],"partialFingerprints":{"codehealthFindingId/v1":"794526e3ae6a3e74917ecf0dafc6ffd23e6abd4ed78e861c9f79f4d3e32a6ebd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4814 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":"src/search_service.py"},"region":{"startLine":4814}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed077770c620fce5742a4fce75f070fd2a35224e2d32200a94a27a3b2b9efb9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 220 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":"src/stock_analyzer.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cbdc3b7565e6c275ab9c0a0406cd9bff6b62f16411e8f8b4b14d7e98a71d2c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1464 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":"src/storage.py"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe404b8e06dfbab24ae90fd38be218e5242ed098dbf800c4c0dfefd59c826484"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2350 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":"src/storage.py"},"region":{"startLine":2350}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8a1550e4821e576c9577fd6f47ccbd9ced54f39243b8e7bd30df7410b1678f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2661 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":"src/storage.py"},"region":{"startLine":2661}}}],"partialFingerprints":{"codehealthFindingId/v1":"7310a8417db84da762d0034f2667e8433c91388dac159222e2e5c89076d632a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2663 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":"src/storage.py"},"region":{"startLine":2663}}}],"partialFingerprints":{"codehealthFindingId/v1":"90987997f622d889b38e4648697b63b122510eac17188196a8de4be86b44a354"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 3017 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":"src/storage.py"},"region":{"startLine":3017}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9502f3e8e82315a84d8262468a5f78a44325a36bde7dd2beeeeb29f3ee8d4d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 3497 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":"src/storage.py"},"region":{"startLine":3497}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47b5b70ad474c26d197e38f7c5719505bec19ae440525a129f343ac2c40d5bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3648 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":"src/storage.py"},"region":{"startLine":3648}}}],"partialFingerprints":{"codehealthFindingId/v1":"465472461a253ae43a6b1b516a0b0571b2283b9d9c487b3c1ef82d14f4c1ad52"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 3651 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":"src/storage.py"},"region":{"startLine":3651}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0228612da1644ad24defa6d7b3319abaa312e17df1f683dc73b5b3c1c496db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 3682 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":"src/storage.py"},"region":{"startLine":3682}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6e4d08a8b30b324c589f3a3238642e8b7f953b0b877b867151762350bf19c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.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":"src/services/analysis_service.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e30a1f7f4ea036e75bc0c27c94933824e84bd8f7dfca9089adb72fe71cb942"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.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":"src/services/analysis_service.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43b17a78745190b2e1bb8fa36f71b6e32d6eb213ab14406ef1e16e80d0db075"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 178 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":"src/services/analysis_service.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"453e06e6112545971c8405f47ed6545c88be26d74641df31f656a408f62547ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 240 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":"src/services/backtest_service.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0099ec97b9cdf4ae46f28bb944da13e05d4bd94b9defb7053545302ea6688d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 888 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":"src/services/backtest_service.py"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edde2b379af7cca237de89f7a736a66d857eaa04fef2a75912ded6ec8de272a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 912 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":"src/services/backtest_service.py"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"9162b0ec9cebb80e72b8dad6663b66eb903f6ef1ac9e10d0584b46cdef0b7545"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 296 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":"src/services/history_service.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a28b9e0d43c804e4eb699a403b89bd72fca7e9983752694ef45f36b99ba890"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.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":"src/services/history_service.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdce931ad7098686ddb0af27da12581502d3ee529df8b61779c49bdfdc3543b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 328 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":"src/services/history_service.py"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dab7b8d310917eaa9828ec1d7c8f51ab016ac9fc5092253e4b3d1100648ca01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 534 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":"src/services/history_service.py"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcac3dda2f6476a9b671b70d1a5512cfbf9480cb91f483581c5817b8d495f233"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 551 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":"src/services/history_service.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8343e348aaafd40858618f5212c6a55acd63f3981289cf4ffccddebca84182"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 555 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":"src/services/history_service.py"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"f528cfe395c737a592e3c77da2e3650c2547bdc57ab821fe84f1a7f1ae14c25f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 648 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":"src/services/history_service.py"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e85388bf3b94edc0c1ededfdfb18c80ec5dfd012096fe6460c62662ca0ace0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 865 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":"src/services/history_service.py"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd795dea50063e734ef494a3b9189da6d45a5951d64c938fc316c492cde4c69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 885 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":"src/services/history_service.py"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0fdcb7639cb36cea6e70585ce23508711d59d76f6a735acc35ca04b61c3445"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 892 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":"src/services/history_service.py"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a6687a8b84eafeaf1be0f0a7843a4e3cdf6100652e4b861c2d042fe389c142"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 987 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":"src/services/history_service.py"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b326b22f150bf9f399a438c2a52b64cdba9aedb8c514adbf7ab41fa84ce7e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 993 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":"src/services/history_service.py"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"67102b40a52ce777f9614653059fae8d78e3d7c2d940c6c80030a118239a951f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1003 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":"src/services/history_service.py"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fe01ad79a793e0355139878ab818d223e8f0620e12b1db3c4d6836cf810e85"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1012 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":"src/services/history_service.py"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b322ba5d6a72d217f6183f0a3190b98f8f414b82a5896d16c5c12f18a1a9fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1019 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":"src/services/history_service.py"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f5ea9b000c8b7cc105e94032061f4d6154336de612597c7e27671ea1d778d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1029 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":"src/services/history_service.py"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"61435ecc005d639fd2e80c192770945c90a078745159cf8a432d4428445d0ad4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1109 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":"src/services/history_service.py"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc0ca68d86d5e402efe15187831067eb309a149e554238b607503e0b2e30cd1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 388 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":"src/services/image_stock_extractor.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c6895d13a70829644bbe25a3219d6dbe6addd2f63395825839072ecba76bf3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 397 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":"src/services/image_stock_extractor.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7e93f300a98d542915f483591fdbf4b31a56bd1e908458ef8e88f3da392342"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.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":"src/services/import_parser.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"759574bef0e91ea797f24ace8a5f1e51ac46b23bc01072cdb9bad4f8b4817fa2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 148 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":"src/services/import_parser.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bddcd09c2445caf5c197678420502530be68ca925a1d8bfd034db4b73be19d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.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":"src/services/import_parser.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd18c6de15df230d22507fabcf0f9006a493ecbc13161138e1221494e1c3ba2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.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":"src/services/import_parser.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"698c561f64a0edf207dbfe1b73388c436cd4091ab49b2faacfeb8e6f4796f74c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 227 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":"src/services/name_to_code_resolver.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8087f2cbf16fa29a7c1e5e8630e6189971f05087bf98f222ee63939027eeb4d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 234 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":"src/services/name_to_code_resolver.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0160807b4489f875eb97ca0050ae8049562305323e32a852e9eb5bc3c1d91b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 253 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":"src/services/name_to_code_resolver.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"3561edeabee93dee91b8fa65dc5852c6a1a74977914280f15ee7dde829ea0ccd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.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":"src/services/name_to_code_resolver.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdafe3d56b7f30a120d2129d71324ea98630f9f7bec4dd43819a4b8cb931298"}},{"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":"src/services/name_to_code_resolver.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"327559ce229f45bfb165027c6e1041ecf51d1307baba8dc3e7930953d264b421"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 311 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":"src/services/name_to_code_resolver.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0346881c0f840fe623d34fade5fc33f35f50a64a58b0d3078ed6a05a9737cf0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 348 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":"src/services/name_to_code_resolver.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1d2d04b00ff1c2086c32d91c5b6a2ab19f910cc0233b1594f2a73373e730bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 355 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":"src/services/name_to_code_resolver.py"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"a381b2949b61ae4fe36691b2fa2b42985a200d9d79e9fc657435106eb9802bdb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 372 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":"src/services/name_to_code_resolver.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"145e45969b0bb4ec296ad56a6df0818d39363d4876c7b4bb01e47b724bed68b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 770 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":"src/services/name_to_code_resolver.py"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a025d8486e0ce1a2eac82593aff5f92c3cfcffd71200af3d74fe8956cde0bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 785 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":"src/services/name_to_code_resolver.py"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a18a8df2b246da70c949c971d1e95a936164d26189b51ed49850045c31bb36"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 790 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":"src/services/name_to_code_resolver.py"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f1f8e47513b015ce082205632cbe568beb7c1555d78995d4407c444124f254"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 796 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":"src/services/name_to_code_resolver.py"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe85ec1bf65f92458de4cd94512a58a6560dcfc1041aaaea01eafb3c442672c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 810 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":"src/services/name_to_code_resolver.py"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"34dc888dba48e9dbf8a8d0f3b1fdce0d2b456a76a7562ef0e1726042abf33e43"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 818 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":"src/services/name_to_code_resolver.py"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d212d172dcda032add9bdb9051415c08d8bf9727e4953bb1ce27899642972b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 821 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":"src/services/name_to_code_resolver.py"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"13332b551f351afeaeb5bd25087eb2b99d99f0c2d3d8798642c9518de0b848df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 50 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":"src/services/stock_service.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cecb2e7c71e7648c45ca627e9b3675ba32ada92a2044fe90df91700d41c55c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 85 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":"src/services/stock_service.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"60def31eb8c80d9c2c5cbe839818254717bc3ada1e2a9dfa83b14baf38fbc5ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 123 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":"src/services/stock_service.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef63d6d6cd377421d52df0472e5fa7482ad9b2dd9db376c1e19d91761cdf2da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 160 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":"src/services/stock_service.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20184d2732fd801927b453eaa4407ab26ac5f134ad457fbc3a6c32fba24cc63"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 260 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":"src/services/task_queue.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32931ef1966684cbeff1c21aad93365b29a912c590a2b5555582af04681d367"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 545 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":"src/services/task_queue.py"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"454a720075afb8839546555d2af9e0134c15bffcde723f516aafb182369edc59"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 857 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":"src/services/task_queue.py"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2817e8213206dc417732f06c470c3f2e63e04ea3427561b0f1752ec0395da2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 871 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":"src/services/task_queue.py"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32097f64ca02331788a8fe97f6134e71a15f8029c67680a72ad69044db3319f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 951 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":"src/services/task_queue.py"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"be35840ef441f7793b88f75a91fe4c22c70cc9d913cd3b54fbdb246f739f129e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 958 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":"src/services/task_queue.py"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"607bda34acd2147ee6f5b683d26fb4acc662c406cb15cfffa93bf6e2ea289901"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1006 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":"src/services/task_queue.py"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"a063ed823587d4c196aa5139d188617065cdc54eca21d2af1ce0bb62290dcc30"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1030 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":"src/services/task_queue.py"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b335eb4d027be39fbf7823b450c1f114afaba3a4eb7e9ce511bc3d76b60e601"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1042 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":"src/services/task_queue.py"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7561cb604f8a108ff28c8f79ca4fe677fbb2e8a3ddbff2a9b6c03e8ce7b5633"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1074 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":"src/services/task_queue.py"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"8877000c45245c1ac02af247d9922edc99d44cfed930f2b1afe6e313b1d3870c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1076 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":"src/services/task_queue.py"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"c543d62b732b7dd074f95aaa024ede47c37076400e5a795f673cdb011f611721"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 127 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":"src/services/task_service.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b306b15eddde140d537b302ea8920190dda4b426ba4a56cd5a502215756f1993"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 197 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":"src/services/task_service.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2432e0f071ec08afddacf13243c1a02b19949f3d07d6fe490fee2b71bd7191"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 238 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":"src/services/task_service.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"848f520cced567d36cc7d4a9cb3d9418c9ddb38430a6646afb6f12580d0a209b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 251 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":"src/services/task_service.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea84db33b74f6bb179a4c3e4fd5cd62877a75ae8d339a9500eabdc0df795987"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"src/services/task_service.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0e0e804722e9130665b43eb0d8a9efb4ee1a48be1d6eaa192f1e840eb7e3c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 51 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":"src/repositories/analysis_repo.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c64117d81c976731c41858b062a60d7963cd5a1a47fb653a57726bce7779f65"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 78 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":"src/repositories/analysis_repo.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"929ed0e7990dded6e62100841005b125623e5852fb41d15e79357f714a2a0e1f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 111 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":"src/repositories/analysis_repo.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c1306f5e090ada43cc82b2ab9d5d5eafc0fb40e884c58a9795a1b7cb2a9a5c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 129 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":"src/repositories/analysis_repo.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d83d2c137a38a7c1babfb034c0897d3f0fe6d9ebad4c7a8ceaa22c5cdbeebf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"src/repositories/backtest_repo.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10225cb237198c2caf3baeb4460f11f990b3a8c9d7b730fba338f750de10e1c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"src/repositories/stock_repo.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a71dbf586d3a4fcc13d223e1f1e6309b31d0809769ec47950dca0c25433780"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 77 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":"src/repositories/stock_repo.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d61522141dfe6683e4816358542ae206296084d300948efe9dbe215b524bab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"src/repositories/stock_repo.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f63ba4da398b1d8bae172bdd4b6e72085c6d8d40c52eb54b8edd610274cdcdb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 117 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":"src/repositories/stock_repo.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f006387c7a80a3a1983ac6381930edce1fa71b2a083469dfb437e2ea43c0d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"src/repositories/stock_repo.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f8ef33d9d1889f095e633e04fbb62f8bbecc85d784f6ddbda0296844adbc4d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 137 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":"src/patches/eastmoney_patch.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41979c1cc5b1c799eabf0e5d2ff389e647e165a9f853206ce07b49bf3f50359"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.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":"src/patches/eastmoney_patch.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a33b5ae955fa8c572db11f18e7f70112fec68f2d943afc9269da7e3e9abfe3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 107 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":"src/notification_sender/astrbot_sender.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1012178d50e15357a575ae8e36bd81f7435743025406f75acd5a33cee2121706"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 110 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":"src/notification_sender/astrbot_sender.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"98819c976d03951044690be63a2b3f0be3f76305070964d99e86979c5e8f76ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 87 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":"src/notification_sender/custom_webhook_sender.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bf238d8a8cc5e7797a4f079aac805d5405769b252826d3b2ed8623737b0203"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 90 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":"src/notification_sender/custom_webhook_sender.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab8ab89f4eeab1a8107bb38d94d8d4cef83317f123eebbfac6a9db9dde6f9eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"src/notification_sender/custom_webhook_sender.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b267ac8f69fe6105babba8e146041f176c00f5b63e1f85f8f0fb2df6450e391"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 95 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":"src/notification_sender/custom_webhook_sender.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5722749d869e4c3cf3f5496af648c52565e0e09235a69a2eea3d1a5b59ac5fca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 98 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":"src/notification_sender/custom_webhook_sender.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdbc257726ccc0c26ce0120b5360a2a9842929042f74b132c23d70df41136ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 104 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":"src/notification_sender/custom_webhook_sender.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b32926e96129645ae39be82028cd579536cd8889ed6913fe8a9c4f7d9931c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 107 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":"src/notification_sender/custom_webhook_sender.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8325aced6aeb176419ef745c7dce0b4c2c68f6df9552340581e5636ceffcf64d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 110 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":"src/notification_sender/custom_webhook_sender.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe953de2755394667f701c122fea36562fb31b20458cc70605ddff8bd930e0c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 112 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":"src/notification_sender/custom_webhook_sender.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b53052fcd3f915c394821a7a56fc4af825e9227fc312a71ab3f46d0ab6a5592"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 173 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":"src/notification_sender/custom_webhook_sender.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8742785725cd351e1deed1cac402cc030d4bb86c81f5b922304a4f784225d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 174 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":"src/notification_sender/custom_webhook_sender.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09e805e1d09415509959768320409afe2c0bf080f45f085f06378936853bd51"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 409 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":"src/notification_sender/custom_webhook_sender.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"922ab046839925fae5138bfc36127b22daf03256530e8c0845d3c57aacd2202a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 75 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":"src/notification_sender/dingtalk_sender.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3c92effd3beedb79568ed7176ad663728f84585dbe4749a25422ce8c493e8a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 77 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":"src/notification_sender/dingtalk_sender.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a284de23cc6ecf941c4c687279f88fc9f3b535c15a42f3710628f8ea589e0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"src/notification_sender/dingtalk_sender.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"221ef7200952667bb80dfee1c964543f755cc3ab4af328b7b65f4602912c9d56"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 193 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":"src/notification_sender/email_sender.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"645c59c2e8dcc096181fcb816aff520bb6aa71682eac6d83973d51546d51aa38"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 199 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":"src/notification_sender/email_sender.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97c62ffca18ba3ea41e0bc943d1755daf627a11b1ea6938c51a0ad639a82be2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 213 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":"src/notification_sender/email_sender.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5416726d8c0aabfbe07a46f652938c40690ffb2ac29457db055e6ddfb13de7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 220 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":"src/notification_sender/email_sender.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"5407839b6e30682dffdda7d8ecab4e3059c773eb5f28f0981427ff826e1012d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"src/notification_sender/email_sender.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"31976c54b24f77792806eb8e9938ef828d5fa6c73d56b90e1d698175485ca650"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"src/notification_sender/pushover_sender.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b402ce9f54ae234cc4f4bf5b8f2a64ed993809131f60d2af646c3562c59e4dc7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 149 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":"src/notification_sender/pushover_sender.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6200d6c69170be854b1efb569c36ae1f81989687d272725a36ab76370317082b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 150 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":"src/notification_sender/pushover_sender.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"415df4d6175bc15700082696cd1ff6884dfdd69345c74a22052b4ca35fa0f3a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 154 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":"src/notification_sender/pushover_sender.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee34b0e1b4c93754f1e75c83d5c1532a8c6791fbe43c7ad70a9b9224df2a59e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 213 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":"src/notification_sender/pushover_sender.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"401f979473693a2cc83f548f2570bc07381f047cd122efe37b980226e7b498b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 228 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":"src/notification_sender/pushover_sender.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"604bcafe16ac105a97ce0cc0828958b7e40f4c6edd9ae5d5d994c16325fb9a05"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 230 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":"src/notification_sender/pushover_sender.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ef9a73f2bcbe3ca0e2f34583646dc4a5e757718637fffb5aa02ceadca09a8f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 98 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":"src/notification_sender/pushplus_sender.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"428aee64332a46f3a0d62f40b55ff78df1575e348bce9947550d2d51f21aab30"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 128 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":"src/notification_sender/pushplus_sender.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c338ddfd726570cc952e169ab80d8685a439c723245acf0c8b88da992d60dce1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 131 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":"src/notification_sender/pushplus_sender.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad912aca9f56716c40dd5f00349e6e4f2cb1d2a1348ce93a50a7c43c740e618"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 141 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":"src/notification_sender/pushplus_sender.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bf724de9d02db76ca0690a0544b186ed80e827c7fc810b9f9a2c292446b603"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 147 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":"src/notification_sender/pushplus_sender.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bafa8c528e99127ca5fb88638c0c3b6879dc040c09546bca0daad07143b5662"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 149 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":"src/notification_sender/pushplus_sender.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"af188bd99609da3e58253ff358518bd9aaf2f6f5d34fe2037524f7316721ddc6"}},{"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":"src/notification_sender/serverchan3_sender.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00d8bed7969b40294530ef1152c362b9af49616fbb8cff1f01180d31242472f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 105 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":"src/notification_sender/serverchan3_sender.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d036832f2cbd6a6b529233059d9179c76bd1ce5c754168693d9b30a48831f16b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 106 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":"src/notification_sender/serverchan3_sender.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87b9add63f1b8dd83d05dba5be09462b0d601d06a2fbbb5869c906f54f5a63f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 110 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":"src/notification_sender/serverchan3_sender.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4d7c8bca4f2b50b9867c9ea02c3c6d2a8de81901c0d3b88235397e8e0229c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 71 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":"src/notification_sender/slack_sender.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eba54b4ef4d235dd677c227a00c2003b17354c45d61dd697690c567f80c3cfb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 131 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":"src/notification_sender/slack_sender.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"232affae5fbabb56fb10a9caf4ac6f7a3645d70a8a91f9f79095cbb1fa7e0555"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"src/notification_sender/slack_sender.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead4132501f57b93153721a6e78d5bf21bae62b0b2eed94a7e70848fb04aef4a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 167 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":"src/notification_sender/slack_sender.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2665e472e9b90727e20a5457ea461b36eae139f921b9bba2e3cbd802d9fbda2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"src/notification_sender/slack_sender.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"437ba310939b818538e7ea3fa5a1ce1be33540f22ba9361266d10c5930aa8980"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 116 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":"src/notification_sender/telegram_sender.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"893b71ed83ee0d28d7a809eee8ea1a05c271b79440700ee72e2141233e061c36"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 152 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":"src/notification_sender/telegram_sender.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4f39b40271eb3be56164cb271903b4810f61b587e82edb094cb100af1fa8f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 157 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":"src/notification_sender/telegram_sender.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed89c3bd34dbb7fa8c5891340c2765a1dba1a3866b76c49192a9dfaa30e769a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 167 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":"src/notification_sender/telegram_sender.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d14580bbff20e34b3d8e0bee9ca936537cc5d657e120392d75cfe20a5cd8b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 178 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":"src/notification_sender/telegram_sender.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d9660c907790a7af32d9b794eaea961106e73ab7885faaa3e82d819ffa13b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 183 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":"src/notification_sender/telegram_sender.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e12f49ee8f5bcedc3ea1c97f3011d46a09c00fda63560131fabfa90692acdd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.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":"src/notification_sender/telegram_sender.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6cdf0a806e237dc82484917daee1cd8340fee986eb9895af56e684993ed7f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 195 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":"src/notification_sender/telegram_sender.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"be453290a04807efb81dcebc37c19359c869db0cda4c9c64072d50574c298e42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 196 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":"src/notification_sender/telegram_sender.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"4304a274bfca7dd8e5b4c7f00c1fe7ee61741f6e22dab23ecddc9a9b2691f79c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 249 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":"src/notification_sender/telegram_sender.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b2e0e3b039e174bac2d0a8f9a8683aab0ee93e1cb0b599467823158796d267"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 257 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":"src/notification_sender/telegram_sender.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7b9eed029419c0c8c263c47bda17fe759f48307c4673995f84edbf8c12486b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 265 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":"src/notification_sender/telegram_sender.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb067b675dd3ac935a74277207ee6078ed8f3f3af9585214c152fb1fde80cf9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 268 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":"src/notification_sender/telegram_sender.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"155509da8859db93ffa4e3f459982855c8a33a7e6f0e013ea483b9dea7d2e7f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"src/notification_sender/telegram_sender.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"0422a26a48b4239884c06b034060dfd53ef13c9d04dc1c00ecbf854909947c81"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 299 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":"src/notification_sender/telegram_sender.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae2212779815b2f354195d677501b8abdb72e9a5217ee6956e766845ab1d46f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 329 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":"src/notification_sender/telegram_sender.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c954fe7ba113dbd146c95b137bb16f391ebcae6194fea9fc8db7040131b4b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":"src/notification_sender/wechat_sender.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6faadff7ae4e238723228d65d52faaac648e67da5d7781865f5aab8964deb3a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 97 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":"src/notification_sender/wechat_sender.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d891d6cad77b51c837ed24263889e13b79e47cf671fafe407c6f37b215e106b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 150 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":"src/notification_sender/wechat_sender.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"55da8830e172cb197420ed8cd2bfa1d820e158d21b4c4ebcdb0141c47fe74206"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 153 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":"src/notification_sender/wechat_sender.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a979a6d8c7184868ee5b76552713df21f3dd3f92518ec5e92cddd55da4d755"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 176 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":"src/notification_sender/wechat_sender.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b798930b04c9f7c2eaeba356c27d55b65117e47783675326c1bc1269d70fda"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 320 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":"src/core/pipeline.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"149ac010047bea6d5ab257ee2c39cad98c13aea8cf41c6fb2d39584c86fdf1ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 324 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":"src/core/pipeline.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e1093510367cdb0fb45897048673dd49fb6446e2381249d492f0e077ce148e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 411 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":"src/core/pipeline.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"565e29d434d4d7d950fd5af3f6db50fa44e1a562f4793942f5ff008e16d08705"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 417 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":"src/core/pipeline.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"9472cafdd4b64e70f4be9127799578b9ba82d69dc242ece689449ebe8b69c57a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 425 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":"src/core/pipeline.py"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2713df0859cb778d2078f9d4fa14d9b343746a3ffb867fcfaa05ad549dbb68"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 431 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":"src/core/pipeline.py"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"100e40495225219063b48f4d5e4721f97b36ade9390cfd3d308d0af0b80caeae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 526 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":"src/core/pipeline.py"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"757ff6200a502c7633e0478896df68c6c2f132c066f92352cfa20df33a2b61a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 530 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":"src/core/pipeline.py"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20e7671bd2163e7883570725dac4ad4defcad9890979ca77d2e8c50310e1714"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 532 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":"src/core/pipeline.py"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cb6fd7516a2250cdc1e43f2861140d9e8d8810fb4dc5ab0d7968578a5b20fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 534 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":"src/core/pipeline.py"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2a6dfc86193b64c5445e1437cb093dc058448457085e92767146a17c19c4b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 544 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":"src/core/pipeline.py"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c70a8d62df496ead5aade6020a82ee9481fe307bf74ee4ef794df2c97e1d68d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 549 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":"src/core/pipeline.py"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a5538740eba854413db81e36f607e384816350e91defd8a7bcae5cc8641ab7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 552 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":"src/core/pipeline.py"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9aa8fb1d27d7de6b0c3a1017d4df24d541b7adaa3aa9bd311839bec417081d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 554 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":"src/core/pipeline.py"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c07bdca7a874d40db716906953ed47a97ed32b02b981189f03c3cef00d9bf5d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 565 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":"src/core/pipeline.py"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc688831175f90e39da967a8663cab0532364a6b2080ebf7b608f8a551679483"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 571 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":"src/core/pipeline.py"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4593c6ce5cbe3a826c41e09f856f0041e6af0a09a52cb77205f0c237abff0c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 588 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":"src/core/pipeline.py"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7822b52b3ef57b9aa2c1a79d0bec598fa33b60cb9742dbf8bca6f2dbd6d58c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 605 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":"src/core/pipeline.py"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"e489ed793c434a1ba791203776d2e5418b6e521ca7009f2dfe828d61361ade62"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 609 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":"src/core/pipeline.py"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"727c4546c217577a9a8971452855e37e5f6d9fa064489854b5530677e0cab3a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 638 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":"src/core/pipeline.py"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37758d0ac455d0f8f54211d1b21323390b8a73bfa3388b7281bbf6268fd40a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 657 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":"src/core/pipeline.py"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7080ca112cf7cbae832c3aef6bccb6d413e4a32ba536640a22eeeede679b775"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 660 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":"src/core/pipeline.py"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"7770bb34254ce22d3465800237ce0fdbf06b1b08b179f025aef9fc022e0b07cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 663 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":"src/core/pipeline.py"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"c697bee46a57020153336cf85cf7398bb1d290e92fbc3fdce6769fafc6d72293"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 692 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":"src/core/pipeline.py"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef28bfb6c0f30f910efa63af708e599fbb1ff7d7aa7faedbd4c4168e10f5c3b"}},{"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":"src/core/pipeline.py"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"df188231fbf0836b7552de20a42e5236fa7efe9d2c74d41f8a94d34d0a2ecfbf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 716 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":"src/core/pipeline.py"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9f9715c114eb50afd48a6df8189a0407d830dfb1d02084d92a9ab1d658d2fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 732 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":"src/core/pipeline.py"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"45543e85f9df45923bd1cc5873e47671fd084096b3a8703497d9cf9d641ff9bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 734 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":"src/core/pipeline.py"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ec49b8b4118fdb697b58eb9f7892d9e337cf4a50fff9c231c8c6fdfdc464c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 742 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":"src/core/pipeline.py"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63e4510354fe0ad4d4511d5893b23fa487c92a14d800d3778129158a6318899"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.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":"src/core/pipeline.py"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76812a5ddc46a17c052552cfabce2d6ab846d055fcb87bf3f24941307bcc4f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 765 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":"src/core/pipeline.py"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b2db875b9741c3ea2093282e18c8b1324ca404acab39d47a6d8e40f7584e89"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 994 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":"src/core/pipeline.py"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"c785d7f281eca9cdf91d483493c18ce1f4a81debdb2a062751d0b42abf2bd7f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 999 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":"src/core/pipeline.py"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4658a2848335d167e7a4e31716a7c76e97fb2a24bccb10529f63d32c5337d53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 1000 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4eb4700d34da1b2544a3909d86ff410df88903ea05ce128e75ad78eca37e03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1547 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":"src/core/pipeline.py"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4e4570eac191909ccfcdcab7d6bb5fd16d3eb728c60b7782153c8cf91ffb2f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1549 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":"src/core/pipeline.py"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96df63e733cd0855a14f14b0139654b968838f16d2184194cc6cd018d289035"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1563 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":"src/core/pipeline.py"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbabffab6cf39d35ac7dedb65e6d66d20a3370500cf15ea87e0080b5c94e916"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1860 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":"src/core/pipeline.py"},"region":{"startLine":1860}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcb1b170aa9ecc88d2dfe69cda7523d06d7155edb08ed88a172bce702bd8e4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1862 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":"src/core/pipeline.py"},"region":{"startLine":1862}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d0b73fa0a8541be2b3926a1cea9d0f9348e172244229b4d0b2fb2f58e3bca2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1926 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":"src/core/pipeline.py"},"region":{"startLine":1926}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9a00d28a726bf3a10b70e33c93f8ac114e04e24a743daf25967511ca8e4d45"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1931 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":"src/core/pipeline.py"},"region":{"startLine":1931}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09a49e2a94b253c1538c5bcb7819b000cfa1d881a1a6a7122bfa7011179c03f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 1932 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50b68045143f8c1354d062c71a811929346f2b9d53807d98e4cef6bfe522375"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3329 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":"src/core/pipeline.py"},"region":{"startLine":3329}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a2679d1164abd8fbb21c2d156be8264d04cc353ec3e73f6fcd2943280629e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 3354 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":"src/core/pipeline.py"},"region":{"startLine":3354}}}],"partialFingerprints":{"codehealthFindingId/v1":"324c44494dbb42a8a49ea7ff9f2a4db87c4f651225b3d9c7216099dfa389b619"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3361 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":"src/core/pipeline.py"},"region":{"startLine":3361}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b3e50342cb4b084191e96812cc88413931c0ceb58f65bea75e000c6735675a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3372 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":"src/core/pipeline.py"},"region":{"startLine":3372}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8a7a0debdada12f1f2a40fce6281e49269de517dc2a2dfcf775e8812618ff1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 3385 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":"src/core/pipeline.py"},"region":{"startLine":3385}}}],"partialFingerprints":{"codehealthFindingId/v1":"81444a31a297f74d9d4b18b65e21c274b0117e4d82c682a1b09fa70c44a62757"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 3393 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/pipeline.py"},"region":{"startLine":3393}}}],"partialFingerprints":{"codehealthFindingId/v1":"e821dc74ab3aaa34056089f70715b199338c36f6d781fcbaed0d70bf2962d64d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3472 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":"src/core/pipeline.py"},"region":{"startLine":3472}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8747fc6d1771b401a1661d07eae6684aaab458d4828431d6a8acc25b4049c1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3473 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":"src/core/pipeline.py"},"region":{"startLine":3473}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6944fc03bad60aeee8df736b1638eb16505471cede932af4594674e41cfe76"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3474 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":"src/core/pipeline.py"},"region":{"startLine":3474}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecafc2a6e41cea6a968e553fae4ad5c74e5851382ae52d6e97d8c2c9693549be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3493 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":"src/core/pipeline.py"},"region":{"startLine":3493}}}],"partialFingerprints":{"codehealthFindingId/v1":"58cb97fbe72e48918ca23b483ce4cc109cf06c6e6257c2845c428a3c934394c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 3562 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":"src/core/pipeline.py"},"region":{"startLine":3562}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0cafe855bb40054a6d5b4fe6f2400e328443310d4e67df109546f63a749848"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3573 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":"src/core/pipeline.py"},"region":{"startLine":3573}}}],"partialFingerprints":{"codehealthFindingId/v1":"4179a0d38a0c6c1aa55e5a87b201ef499402cbdabfeb4e488a0d9f63973e18be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 3577 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":"src/core/pipeline.py"},"region":{"startLine":3577}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f760c502433c2f630cb569707f66258675a2db2d2a196dc8e4ce50403bd9b58"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3607 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":"src/core/pipeline.py"},"region":{"startLine":3607}}}],"partialFingerprints":{"codehealthFindingId/v1":"816f7c3c7d452c29ecc557602b35fdae372cc37808e45c0ba8bba91c3947548f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3648 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":"src/core/pipeline.py"},"region":{"startLine":3648}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6df03fc1638d71a3a9d6b45a88654a9f654b00a39091bb8ccf489f0f75fd222"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3651 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":"src/core/pipeline.py"},"region":{"startLine":3651}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c1475d05db8560f23315d3a4fcf0b677dd889db498dae2115c31ff38c9b7ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3654 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":"src/core/pipeline.py"},"region":{"startLine":3654}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2275898aed66e96ab0c4ee1c62a3852540ae9229009faf0eac8aab7c74a9465"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3662 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":"src/core/pipeline.py"},"region":{"startLine":3662}}}],"partialFingerprints":{"codehealthFindingId/v1":"11201197646b0fbf3f6996e05db9abec375949f0d5b4ac39595f3c77c0f6f39c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 3664 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":"src/core/pipeline.py"},"region":{"startLine":3664}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecfd5c2050b7af48b14e0375c86d056762a06a28b759d925acdb3d858b75f03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3712 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":"src/core/pipeline.py"},"region":{"startLine":3712}}}],"partialFingerprints":{"codehealthFindingId/v1":"58760bfa8bbdebd226e46b78935d7901fb437c190204dbfcca61911d5581f8eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 3714 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":"src/core/pipeline.py"},"region":{"startLine":3714}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9dfd5799242a38a08f718c37312d7cfe9f15103e31cf830601a4e022996866a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 3733 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":"src/core/pipeline.py"},"region":{"startLine":3733}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd8b7aeb513007745ff947bd2d9f7de1cd7b3ed4828acef58ebd4b26abb2d7d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3756 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":"src/core/pipeline.py"},"region":{"startLine":3756}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a620a4aece46cc3567083369929eb48c0d965127449829f43edc73c4949d95"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 3762 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":"src/core/pipeline.py"},"region":{"startLine":3762}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d03155b7e8c939f53ee6aed211078b4e64d5cacfe1d5ec8884db432c9f4d17"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3996 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":"src/core/pipeline.py"},"region":{"startLine":3996}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65e8cff94ec6375c036ca75535a082d81424ad5bf0608021e75e89c86be08fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3997 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":"src/core/pipeline.py"},"region":{"startLine":3997}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1e1ac738cb165a7fb1fae7cb48364e59f31f8549dbd6723377f251eee79d91"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 4285 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":"src/core/pipeline.py"},"region":{"startLine":4285}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a47f3538311f4157931887badc06b9415d9e02887f1f899936ee045c905bf5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 4365 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":"src/core/pipeline.py"},"region":{"startLine":4365}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc0069ab38a8fe3c9e69df0e5d5ac67d42807a73647c39f68048d1e75b3d81b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 72 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":"src/agent/conversation.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c80e6c269911a987e5a537fca34fca9baccb9d0d746a2b271841fe17f82bfac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 124 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":"src/agent/conversation.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e23379290172ed0e308bdec7c5d55c3098ba3f700f019353b55336a99141196"}},{"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":"src/agent/conversation.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c3226768e51fe0236cc958eb263a1a16a06e4661ef72f7699038a582a8ca90"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 383 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":"src/agent/llm_adapter.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"0700005d9f68ddef8e887cddd422c97156b587342b43aed00853fd5c02d9428f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 385 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":"src/agent/llm_adapter.py"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"63be2804f6b5585381887832bb67c05d69fdc1c79cdea026ed0943ece3d2a870"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 500 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":"src/agent/llm_adapter.py"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f3c49c92bc2ad1084618808068bce7fb4c144a93d4740c428fe2a7917992d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 509 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":"src/agent/llm_adapter.py"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd57a40d1bbf42f05cac21e9bbe38c5cf48420942d458abfe00f6d2ce8c5074a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 535 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":"src/agent/llm_adapter.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"94472a690ac370cc7a77dd0f24c9ee98f44731768047b0dedadf8d1dc46a17a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 540 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":"src/agent/llm_adapter.py"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa17fb75e2e640c77a46dbf0d24f3d2c8c456b005e40ea200e8770ebf0b40acf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 512 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":"src/agent/tools/data_tools.py"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"859098dfa7c06ac3466e262daeef8bbda8f8109232de665897fa4b8e9e933e27"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 191 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":"src/agent/tools/registry.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebb6dac59c80f15e9ae04feadd6f222470c1ae7d682e60558041fc60ff6b0ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 193 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":"src/agent/tools/registry.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03db3f185f99a900af4f6f613d770b79950729c5ba7c3821aabc800f81e8bf7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 289 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":"src/agent/skills/base.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c5e5d5e88baf38e9b4b37f5264e788c9f3f5fee7e3fe9d94395464442a761f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 300 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":"src/agent/skills/base.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"4619a096fc9bd7e6a6e9c0b65c5b224f8b3c1f0f745ac96d5ebd99978730bb7b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.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":"src/agent/skills/base.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bc9ca8217dd12c53ab818bccc32f17871bfcd17a204c5624e5c75d30b1f90d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 308 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":"src/agent/skills/base.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5878251e181e220814c6f7826ef1ee684d77896c26a93d24fdfb17681cd34d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 310 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":"src/agent/skills/base.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"20046506ddc2528e8f786aaa66ca73c99f95eed1ede4209b07514d5579e757d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 342 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":"src/agent/skills/base.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0d66c881830c9515e638ef58b97edfb0af6698fb20ec0a188230a99228d6a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 352 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":"src/agent/skills/base.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"570c838fc3e527f5716283d182e00791440f2c1e326d4a0ecc34e6c934c74c4e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 360 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":"src/agent/skills/base.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"299b452c0ec01fcd188f83e2fcc2720171c68fb60c9f986597e4085d4b4ac8ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 380 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":"src/agent/skills/base.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"658ba00d13e141f752eb764cafe15f26c0903704c4e018df5415119942826a53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 386 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":"src/agent/skills/base.py"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"3feab7e29286e8f484d3548171eb8bfc1af73a4caec8d56a51c8eac40874600f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 391 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":"src/agent/skills/base.py"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a2faf7ce618d6e565bf0caa218cb41f5395220c0c0d716bba95d1fd485f478"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 424 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":"src/agent/skills/base.py"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc607f58de09b11f1d1251a8bf8feb5b4d054f13f8a1503ee4bde66d21d0aea2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 431 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":"src/agent/skills/base.py"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"34578b64685eb648e39e6c938c3a25dda80d0702573c89119295b5b6f04d5c5e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 449 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b44e57afc99ef6e6387c631d29a9542d5f2770c9bc79168e5f4bf5c5d93585"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 451 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d52886736303ffcc57c89eb942cef4275142e04c864077c9e5f8ce1806608fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.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":"data_provider/akshare_fetcher.py"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"700282cdae36cfc52ff0cd73bedb8c36923a4f72d86965905e9a68df9e0f5f31"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 615 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e1d29c9398dce0f0e2d5951f64bd292922b5ae93942e18c7f690fde14eac82"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 619 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"79592ced4eef28b0dad5b671917c8eb097b85aeb49eda3474445ce16c4bab3c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 623 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c81883486503404551e437d3f9a28839f08512dfae97c0a75d8fdb32de1c5d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 642 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3af1ab0a890d7d878f312556c0fcd6aab81cf97263bc313132f8893581f4e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 659 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0958feadd611b53ff24ce47572c90c0af9f33a59c476e576bce469d186368e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 788 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b896e4e85b1382e1bbc7a208847b7f1097bb8f1d9e86dfee3984d7c89b646c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 808 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf123a9bf56bcbac7252ea5ecd7647d2d158eb3853622b3189c2ed1771dffd5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 809 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5ce98111b0b817dbe6ef1c28aca9c75073ff7f8e7f1f0cd44852a8ba57410b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 810 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d93d9adbe613815b8570b049b4fa3b1e978dbae5271f3edb62bc7bb07500335"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 811 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d912e65a21a71d6d27cf01bfb3a4cfa21ec7b4d6baf098083b635437d8efd9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 813 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfc4802478695974c17ef4ca5f12bb2cbfa3a8bd0d01386d1ff9ca372eac4ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 822 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c28ad0e735595fcf1249864f3a47e246cd2821b3eadf386668bdaedaf39e5ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 852 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f0e3c2777365a459067089d9955e5a3e27bf41e395cbcb67df9958f5c2761c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 869 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03003683ae70ed8feb0a264d7b7b0b8edaa146c7a78580a4b6ac4b0d4d9c392"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 870 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69d96c49368b59845f77da77097f8621b7fae66f331cb76466b045d55faecaf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 879 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"406858c96b9bf9eefa9aab41c6326579ac82ac8bcca031b93e22ae2dfafffc06"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 880 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b96a367a485d1691e6535bdb9d8be38a50f000bca7247c4354231aec22c61a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 882 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e45bf7998b8af0a494722c659cd4873bc42919c3270af727e905f2902c14e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 909 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"79682a6488d30a64d6a58b0afc4c3ebaa7daaa1ac2e28c87df437c9bf43c12db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 917 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2ace00b867a199540ae05f7b50bd1f599c5a50fcd7616b0f9b0dd4e4a8eb05"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 947 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e966ee272819fd1f76de43dac0ef0d81be113f85a14933bc5eb5034a0c08c18"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 967 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecff9ba51ac63472aab5ef0e3ec1b443c3faa1179585cdf1243ac604e3f28d1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 968 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a37b769c1d6a6dc1998a15ab935e8ae44c3ffca3ceb115430d96df04478aca0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 969 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8b2b6e4bc755d17dd9c1cfcf7c18ccbe8007914befafc310b5ce1670417a59"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 970 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95866b733e65dc084435faabb162a65c0829f0546c9e574e7a573ae11009e6a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 972 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"c968d05124b4248323aac758a75feddc8933a61164d1c65d873353f716e20720"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 981 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb975767e30b6e6a4c923274da2ec48660bb573edfc1d71d21f5ecc191372bce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1094 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fb3a2adaf2374ad5d6dda5ba7faf9803287360d5d17984377dd410ac0e46dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1101 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc05e6d53f4b4ea1bc8477c5aaecdfb115bcca7deb7676873297316adf235b9f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1107 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bc504c8e81d24d712e754f2ceeceaef5ce3e5551f5c7e7ff9d601a86c29b27"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1136 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26c7942ff1f5f86324bc498a79fb65464599ef295e98f37a992fc22b5991cfe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1148 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"9416b1ee18ae3d0d5bb3c8a83a418e39d418d02c4405fa3e176a48a1522f2204"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1155 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc11925f282443b589f293055336d07b3f019015a514643f2f2cb96ae02f3454"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1160 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a950fc2e8606e676ee0a9c6e8e7d80c47409e76afe13979be14a273dc3d143"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1165 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab2b2d33c8455a548fc7efa2343d9d3bdd7d342cc4fd92f487467498f0eb62c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1170 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a466778cf0fab88a6eb12845bfa8cf288662a3d4e37f6d3f88caba5c30a0807"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1173 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"a837cc46f5d0aaa3ada1ddab7bc2e249dab499df2bfb730db09944ec478070e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1179 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b1aadab5a06e0a1dde6027de4e59d72d47ac6b2fe696ca20caeb65a829ac8b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1209 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"9751753429a659b9138bce5eba02e099a19863d7a901241d8ff251a2be84c14c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1214 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"af629d5e1a2c2daf75346f76d21e56e2b1787af7dee74c8640a2d41af5a9c0e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1240 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a899c9a23d69db71d910c57d38c53008dab24726d842cce16e42f3fb2f8aed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1346 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"13630598332464f71a39ee7b971ccf7830eb91cfd3dfde3ce3413ac59633c581"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1391 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05c55b27fc01177dd58242eb96313d041969849d55aa4da4fee8d826317c653"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1498 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e9c3c7b30d5a7d216abda29dcc780bb21fe599cc436678e995d7562f315fdf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1555 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1555}}}],"partialFingerprints":{"codehealthFindingId/v1":"2186c44a7d6ea238d2841c2cd4a7a0178802cd9db2b4e0a23532a519553ec52d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1562 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"772d0a8a650f4caaee7403d505811807d2ea5eea2ab0c2480f782464da6bea54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1567 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1567}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddf77d31faf018f7b26064e9f27d06028761bae9431e8f71df1220cb2ea6bf0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1571 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c1f6a6d484fc09a0243a29111073f1558b7bb8badecaaa132a76ce0ffd2c3f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1578 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1578}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1183e6261b36ff136a2971173788476bc5e832264578ed7d99c491326e6811"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1584 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"299eb9f99acd00581cd8a6bbc4286875518fc168005b55d0f3719f1ae01b1900"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1612 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"51db82a39277d71308184ed0c25fdf72806c3836de844afb8782ff1e7e045f72"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1617 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4866c0f5dc0fd5524e9318bb8a9540598230f30da73e37bb4b7ef3e32720bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1655 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0da4eaddeadf0ad52f416999136b2c13b646f61176c8e374370358aa6be2112"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1678 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03a376692642dbd2484837f7c12865e88a200f110f0893883ed9cead2f3eea1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1692 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1692}}}],"partialFingerprints":{"codehealthFindingId/v1":"4058b50c580c1623ce10373b3a73f21b2374e570cf747d524c28acc2707fa024"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1701 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c6bd03bbaeecab8251932973323f30abb9cfaeea218689eb4135a3ac0afc79"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1708 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1708}}}],"partialFingerprints":{"codehealthFindingId/v1":"df650245606197e7ef13290d620709580afc8e53de7a95e63a2cfd32e1effd3a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1739 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f39a550e81ebbc295c20b0f7d466620e12132394e0ebf9f684ec20ae029afa3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1754 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0e11d171f24543ac5b7f6566f21240ce7d8817a7469a007c7bb5c4e763d64e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1768 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1768}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f41f34d6431d7031e76db360505910fbed588e7d994f1da49e9bd5ddf26d64"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1774 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"23825d5c8b2236ea0dd0e5062fc0bd6c715e020906e7453891bce67cba23e15d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1780 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf08da0c9eef53baa1810d4da9e84792c3340d9b7fbf1713d96d835ad5bf5c72"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1794 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1794}}}],"partialFingerprints":{"codehealthFindingId/v1":"483a0184520369f6f7b3acb02a86c958d7f9b081bc82c056c22e4e0ef8366d6c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1798 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"7185abee33ea97d783a233c532912b71f2feb66d7176e6c376bb78fe283fac4d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1813 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb4d685d96d33e8bd7fa9850cc9a6cd495c1e5619468d343559e186ee4ccf1e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1817 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1817}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e1e72537f1644ea4347a3d8c702a2a7afa097f2b004dd92e0cfc6f0b20056a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1840 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1840}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb372905f60ca23496864c706096f5506bea404019dfaf5aff995763437f975"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1845 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1845}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2aef4f36999e122fd4a89992247d421e583444ad2f273fff246615a3864576"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1850 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d6f0adcec3236b275f52b8b45fbd76ff04545326943a8ac2e7df448fffe3ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1858 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56e145c8e192283d0f42d7430cc47744dbd93661796832a77905bafa9aaaf4c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1867 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f21af8f81b938bb09b8c41913ba73bf53d84e0971ad3746ffc0ed00d5d97378"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1870 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1870}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce72fa9ec06c8db05d7b25df9b3772db5c3ef1144b467df4fe0520ef226e810c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1871 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1871}}}],"partialFingerprints":{"codehealthFindingId/v1":"4419b21f47359f68b4f7ac0d28d8bc5a83b487bb1ce59917a65602c7b586e15a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1890 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1890}}}],"partialFingerprints":{"codehealthFindingId/v1":"f489ca21a90af01e7303a13641861e6c705be8326d24cac2821efa528a7892fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1896 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1896}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d73d6e5b867bd9a2d0967a48219bdf7a9483f4eacc49196635788dd0df61bf3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1922 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1922}}}],"partialFingerprints":{"codehealthFindingId/v1":"196a2a53fb1a5e547d9c3a630ddc7fea357be69efe655d0ccaade833e6036a9f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1995 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":1995}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edea40ac031930716e51485fcb40d43ae53297869e29457a3908a011d3a6d4a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2226 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":2226}}}],"partialFingerprints":{"codehealthFindingId/v1":"42450f60b2b7b9fc5593210d4aead5739b223d02cebc598ba33d0656eb5f05ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2242 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":2242}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde61447d2d4aca9358f4505038daa54c5b5fe3a9416b089864830bc6c36b14e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2279 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":2279}}}],"partialFingerprints":{"codehealthFindingId/v1":"76dd9bcb31883a988fc000eb7fbb8da3f7818649ca45adbbee51309daffa47c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2427 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":"data_provider/akshare_fetcher.py"},"region":{"startLine":2427}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15f288c36ead6d6d30f0362f87f729c34b58d0374d90099b601123c7464131d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 131 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":"data_provider/alphavantage_fetcher.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fefd657e9647f3734d1f86c962f4ee326596747329d0411934da640cd6e6312"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.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":"data_provider/alphavantage_fetcher.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"32dd03460c5a4d05020b6cdb618d6d039c3e4543c57950505bc215dfc11155ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 128 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":"data_provider/baostock_fetcher.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee41a26f94a3dc66e229e5c1c5e6c25c2738634b3f299c9bc8d77129fff45d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 130 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":"data_provider/baostock_fetcher.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9e611a33648e0b587c8272d76c69b1d924cef07210d9224fb05f309ba9a170"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 181 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":"data_provider/baostock_fetcher.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e7cc7dda6829180797407280c499983d373484a524fa16e53338ec21bffa69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 220 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":"data_provider/baostock_fetcher.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"365692a3ac63046e16989975863596cf89d213acd09e21d7b9643ec75ba56c6c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 329 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":"data_provider/baostock_fetcher.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b90e9e78526cb37ea2ab796fa37398bd70fd263efa77d122ee8fc8d4dcaf645"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.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":"data_provider/baostock_fetcher.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8af4e245fe5bfcebed2163c70bb1cc0b257108e406c2f34704efdb1392528e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 369 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":"data_provider/baostock_fetcher.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5f074957d72345eb8d03c073971044bf8ff374ba5fb89ce05cc46c42715888"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 373 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":"data_provider/baostock_fetcher.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e538c7826c505625205fa7e4674fcc54dd3947c66e52a882a7a1b7b45d2e08"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 506 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":"data_provider/base.py"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"4456729d17217b87967f08e4391f989105a8aafec509c6a32c231870d9393b8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 516 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":"data_provider/base.py"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed00dbf3504dc96e37e965eb5ebc78e4393f1d1b6db95fc537cdd45be379eaa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 534 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":"data_provider/base.py"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"63aaf0b211af16292058715c58567fd980c9699ae041446af4611283d7dd6620"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 544 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":"data_provider/base.py"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ae0e4077589479432a6cc02552864342a8d95dcc7379d895c6a30665731f3a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 619 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":"data_provider/base.py"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9e3c21037f8dc084d5e9fe2832b2c85290a520bc9ac29bdfc12e3945c02c62"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1917 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":"data_provider/base.py"},"region":{"startLine":1917}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37838e774417cc4dc6afd9983003d93d2dd25cba6de3f145f6ab72e7d93afd6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2004 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":"data_provider/base.py"},"region":{"startLine":2004}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a0bac4b17e730a069f685a463d4f8c486800a4543520b152c68f45c24fb3cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2040 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":"data_provider/base.py"},"region":{"startLine":2040}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b78fd6a483b6aa633081726871c2766e52cb5d766195bd8201e8f8323aeadb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2068 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":"data_provider/base.py"},"region":{"startLine":2068}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7458a5288802346520977bd8fa40b40b8fc298deb81e6070127cd6cb617004"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2102 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":"data_provider/base.py"},"region":{"startLine":2102}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d027fc1219763d8da2cb7f05327598b097cef2e4fb205d6cc7d8daa2fb8e9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2112 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":"data_provider/base.py"},"region":{"startLine":2112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6eff94fda3942db0900b20aa0e4d5e2289aea5f297ff0ed401a13ad9b6baa5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2122 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":"data_provider/base.py"},"region":{"startLine":2122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00586516f5024b7ec10bbefccf5e256cd5fc2b60063cfb4966f31b83456c5bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2148 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":"data_provider/base.py"},"region":{"startLine":2148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04b862f3178855b8bbd5c680f846cda50ddb079fda322ae9560050cc86c712b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2183 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":"data_provider/base.py"},"region":{"startLine":2183}}}],"partialFingerprints":{"codehealthFindingId/v1":"33499a9d643f2989c870e709539879a98b99780f761efc38612cb097fc900c08"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2191 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":"data_provider/base.py"},"region":{"startLine":2191}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c1fd737b1818ba76610eadd76ea6c7a7c5bf6eadb3ba2b137a702b0b6d9b0a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2198 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":"data_provider/base.py"},"region":{"startLine":2198}}}],"partialFingerprints":{"codehealthFindingId/v1":"68afff01f5538c8b3b19d5c94ee52af380ae98e75f0c5df332670df81b00aae9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2474 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":"data_provider/base.py"},"region":{"startLine":2474}}}],"partialFingerprints":{"codehealthFindingId/v1":"699a9e424218793053aad3089f0ca513de897bebffeeb2ae410bc76bce4914be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2506 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":"data_provider/base.py"},"region":{"startLine":2506}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82a241239514616a585ca58080a455f74289b0774e6413705043f18bda4499b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2512 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":"data_provider/base.py"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c475a3e71c84ab324bddb2e883e97773059b188e016ec2038c931e4ad55ff06"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2598 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":"data_provider/base.py"},"region":{"startLine":2598}}}],"partialFingerprints":{"codehealthFindingId/v1":"28161ba13b5d94cba8df428e9a2e2edfc5a8c90b8b12f1ed55c745322a750e26"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2619 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":"data_provider/base.py"},"region":{"startLine":2619}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7646c9fba6e4b686bb5e5803c2dcdb4fb17e24adc5ca6899ab27059295995e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2722 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":"data_provider/base.py"},"region":{"startLine":2722}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f6e516c2d2af61a1fd8e8f3ff2d3c8438dc1b69bcb4b48641921f2669018f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2731 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":"data_provider/base.py"},"region":{"startLine":2731}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ad9a882a301ed167ebd0f391e6b1ec61bd41736c708caec4d2017b75180b94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2737 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":"data_provider/base.py"},"region":{"startLine":2737}}}],"partialFingerprints":{"codehealthFindingId/v1":"662ce63c0ff18e5e1640acbe53e0e3db1c60069e5317874cd0341bc07b2f0173"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2741 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":"data_provider/base.py"},"region":{"startLine":2741}}}],"partialFingerprints":{"codehealthFindingId/v1":"511da1edb22203bf13ff716c37a7e782281379f9ebef28bec06850d1c694ec9c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2773 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":"data_provider/base.py"},"region":{"startLine":2773}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3c26e28c2cf79ed722b7e75f88022d3963a9678b40d0480466febfd9541fd4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2790 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":"data_provider/base.py"},"region":{"startLine":2790}}}],"partialFingerprints":{"codehealthFindingId/v1":"39dff771487b286037a856843a6b346ebc719f3401dfb42024519d6adbcc531b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2792 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":"data_provider/base.py"},"region":{"startLine":2792}}}],"partialFingerprints":{"codehealthFindingId/v1":"eece669d8c64d62e563c3574e86a520d780ddb07386bb91662bf44075f82c839"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2926 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":"data_provider/base.py"},"region":{"startLine":2926}}}],"partialFingerprints":{"codehealthFindingId/v1":"d251ec164c1e3b0cb4a784171ca24f97c5706085cc568e55ba8083aa073ceefe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2943 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":"data_provider/base.py"},"region":{"startLine":2943}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7357643f7f3050d277595e9b2769a776c8fc4619f2dac67217795adfe56c2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2945 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":"data_provider/base.py"},"region":{"startLine":2945}}}],"partialFingerprints":{"codehealthFindingId/v1":"3218e7d9dc4336fa0734a77569d47612386e655e349cc69251054e5ec1e53dde"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2950 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":"data_provider/base.py"},"region":{"startLine":2950}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e6932c0d413f8cf92e575f3daac49bbf8b36a8e4e86670bd3c1a7bdf1d3279"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2983 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":"data_provider/base.py"},"region":{"startLine":2983}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bd98daff959762dbf1cc466f367dc0b4a5548222b5703a12808940bd50bf3d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3001 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":"data_provider/base.py"},"region":{"startLine":3001}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac52dd8e1782e80b4ec48dc26468517b456f6893148f4548eca662eab65b0533"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3031 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":"data_provider/base.py"},"region":{"startLine":3031}}}],"partialFingerprints":{"codehealthFindingId/v1":"03dea16875e5d24422e28454d8588dc18d3d7a224d6ed3e0b2d9f31f6618e55f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 3064 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":"data_provider/base.py"},"region":{"startLine":3064}}}],"partialFingerprints":{"codehealthFindingId/v1":"21501d9514232a43fff566e75c110a253da0d4ad044225670b86074a37057111"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 3068 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":"data_provider/base.py"},"region":{"startLine":3068}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a447081851cc18823d2a5043d60d9436bcd8aff47ebfe6ca62ee4dc41fa22d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3127 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":"data_provider/base.py"},"region":{"startLine":3127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97f921038c9ee2029b6a41b3ca4d46126ad50bfb4f703b0faaed6e8889bde61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3145 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":"data_provider/base.py"},"region":{"startLine":3145}}}],"partialFingerprints":{"codehealthFindingId/v1":"031b2eb029f80d5c308e50f485edf54d65b5767c84bfce9bf4197ce103a5e4b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3148 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":"data_provider/base.py"},"region":{"startLine":3148}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c7013e8d83b349e259fb2f4ac15e7436aa9e4b57d1da637056ae5176a2f48d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 3152 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":"data_provider/base.py"},"region":{"startLine":3152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e198f7241fb4c4974864c115e517b7904b70a3954c3029e3c6229b4e21ee9d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3193 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":"data_provider/base.py"},"region":{"startLine":3193}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2375e21bed5d4b3d9ec3b4c0b5e98176d521e6a3603301a897e670e67db2dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3218 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":"data_provider/base.py"},"region":{"startLine":3218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c204b2333b07c76397bab59e3acdb8ea616d6888f304bfb4840a8cb53b5f09eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3313 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":"data_provider/base.py"},"region":{"startLine":3313}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e68dd3570fb0e89ee5f609d845e298b0a7558637dfac898670ece6035dd726"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3315 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":"data_provider/base.py"},"region":{"startLine":3315}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abf7d9e1eccdcdcc505a41985d5a621173970bf1ab3406ca638168db4962fe2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3325 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":"data_provider/base.py"},"region":{"startLine":3325}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae169ec82b6d9955016f7ddb7574684dcd2a66606ffe5adadceb56318537fc37"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 3339 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":"data_provider/base.py"},"region":{"startLine":3339}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f677ff3af463f17733be12630c3a95ae900a77dbfbc5e1fb479937b259b094"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3347 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":"data_provider/base.py"},"region":{"startLine":3347}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33220f408759e67d24ab5ad8cdd7dfd2b7a2887cd43a90217e0f52e0cbdff3a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 3350 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":"data_provider/base.py"},"region":{"startLine":3350}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67a07ba399f9b330214db0c85cc0d519d92c77576204b26787d5b49f8154658"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4900 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":"data_provider/base.py"},"region":{"startLine":4900}}}],"partialFingerprints":{"codehealthFindingId/v1":"418587ea8107eef090204d411a28f1116f9d1714636b98b8781554691dc2d965"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 4924 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":"data_provider/base.py"},"region":{"startLine":4924}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e1ca75d68d98f06358c08cbf82e5e1aa84fc541aa644369e93dbf42e83b421"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 4934 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":"data_provider/base.py"},"region":{"startLine":4934}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c76d3f398953b40a4a4fe6e270cd9e6038858cbf35d09c05a421ed08578491"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4972 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":"data_provider/base.py"},"region":{"startLine":4972}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5f81365c308a3167b845ba894fcb8b2e4b0bfb2781552b8b0cea794bc0223a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 4978 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":"data_provider/base.py"},"region":{"startLine":4978}}}],"partialFingerprints":{"codehealthFindingId/v1":"8077e44eeb2bd2492837bd956186d4b7e1eea7c91fa538d03674115db5bd499c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 4981 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":"data_provider/base.py"},"region":{"startLine":4981}}}],"partialFingerprints":{"codehealthFindingId/v1":"1156105645be7b4083ec3fc65536b3f26963faee42a17de011acfe8acc6e6710"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 5004 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":"data_provider/base.py"},"region":{"startLine":5004}}}],"partialFingerprints":{"codehealthFindingId/v1":"492ed007c576be191773ac01523d5feb0a0bd17b9e5e5a335b9a0186eb49bf29"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 5010 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":"data_provider/base.py"},"region":{"startLine":5010}}}],"partialFingerprints":{"codehealthFindingId/v1":"4506cbfebc3efdc3dfd06f2627d1f3dc575a5b54a9f367bcf9c7e9597ebb9520"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 5012 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":"data_provider/base.py"},"region":{"startLine":5012}}}],"partialFingerprints":{"codehealthFindingId/v1":"088cab89d3ac6ff9ee47475c973720909b5f61deddf6a1874dbe73840efeb5dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 5026 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":"data_provider/base.py"},"region":{"startLine":5026}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02e4664a36cf0519ce142ea2dbfecfbf0e1df1aa60b1794ead8226879c18bcd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 5032 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":"data_provider/base.py"},"region":{"startLine":5032}}}],"partialFingerprints":{"codehealthFindingId/v1":"defaeab29f0f7ff68aeda50ea854632240cce7dfbca8563f69bdfc1bdbd4670e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 5034 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":"data_provider/base.py"},"region":{"startLine":5034}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c76a88030d40e8e1d5193f33689f05c967825c3cee18dfd223409f004483a2f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 327 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"3011f40ffbf1c5a2699d6cf48cde3621600aaf8eb7fa0a97b5a7c09c56d9455c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 329 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d30db40657e77dfaca52361057f9339536cdc12fffff8effacedcac0e0eca2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 345 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a6f8d0752ab665998e3c69d14ae0baa5cc173270b35bf008ad0b3f8f766247"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 420 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f0a6931544e33ae32b9cc046d46d8d468b1097ec9435713bb693fec1834ada"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 442 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb99c6e66cbe46cd585cc52c2cddba154401155edc7dd516d0931c58594631e7"}},{"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":"data_provider/efinance_fetcher.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82317e9aa031fa70b9534882cbe4b506bfa82ae0472f5bccde6b9f279637256"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 449 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b9ff773cc7d4e6da2227065f0bb825439763e5ca6c68ea7850a706c261a6bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 450 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"459e3dcca917db5f1a5649401420fc9df84aac635604f5f6f601799b4848ae48"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 452 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3d30b3b3fbd44d52cbc68115c39ce497409fb22a3db9898fb514c33ff577ec"}},{"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":"data_provider/efinance_fetcher.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"09eda12a6be63a9ec5e1cd58bec385b52c1d6bce04d27b30531394b6b836308c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 535 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"55479c2f813db1b54b53e9fc4124c1902e1a3f213fddf6cf2ad65b8318f8b4d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 540 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de659f272f1bd7dd15714b95e9c70aa5774a7670fa982ab0dfb4aa0b97d1f3a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 542 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"5770ac5744986ae70ebdae25a9ba4cf559795768007a9865ceb9afbb762f568c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.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":"data_provider/efinance_fetcher.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d252544ae21d3f48a17120190d0299930b19294d9ac44df56a0426163a748c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 545 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe17e9dbddd1f424481e51d69560b96c8a596422c7b378d348df0d333e45828"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 653 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ec43b3e7884b413210371fbbba316e93f8d5a5e45b34f53fb2a50cdfb1356f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 663 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b3a67ede42e7c165271d5e0371058843b3d109b38346b0c51f127a049de793"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 679 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e27c9d97e2ca6893906b9eba3f45dc611b9086167d8e6c4674887a3f0c5d69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 685 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"622aa62f5648ce69970deda1d18ea33c6e1d357810dda28257470ff68401185e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 692 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5fda0547d750225e620f6e77fca096aefb1c90ac436e23d4a86560a5a1b96c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 736 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f328168535ac01fdf7538a97b34378bdd5d9fd8e7c331f8b5b4e69abb911bd3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 741 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a12cd521c2ffeca7a4f939dd62441c1d9b15d0c188ccc895caca7208d8a1ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 745 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"a674b6dad531e67920dfbfaa3e7abf6a82f88cde025ffaaeba9c607a0f502659"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 775 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"1251a65ca4a702828f213ee47ae53ea0d3a3b9eb2aa961e6795d8b4820e2e15e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 826 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f56b4d88278f354cdcfa6874e6cdba0e578af3e5f9b23f02d6b3fb8d9b4737"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 841 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea741d85523811df2a2ef88df2db6b2d63ba6968c85c2f1ce1b492d071ca6373"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 852 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4a9029d445aef93e5ac707e6349ed86504ce0bdfcc8efc5c825be43ae74111"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 864 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a0d1ae21a90f942c1ac8201f4157e0591012ee5529eed0a531ad981c0fb2ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 867 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"753566e8449e476c88512749220e260db52a6841d68752b6a8294c0c4164553c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 874 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ac29ab2126b4015645e32cdf98894fd4e1a935abbe10e364d93e880702ac8e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 882 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccd08726f770b0a28d859a216012bc78ed405785b9baf30623ac94cbe0a75e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 914 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b7c2540d1809ce39968019d8c67c5e366db3b9ebab9d262ef55412afc50a76"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 920 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee2ecba2668d3475e40f9067b44f38f2bcd881a4ad3081804afac23a3d4b0ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 952 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"65808d2d3d5c07fc8c7862eca809b7c7cb3683a729059778d7c3fd1340e9eba5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 955 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb1e08e75755da09cc4a6122ba827ede5efa6451a591d36cd6d6b1ad3589f2f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1003 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a67f3b9d0529bb99036e645d8f0342607e930f1daca56b4e1460f4755ddc784"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1006 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad9efbe298b53a8e2df2aa207a4b6181ced6fcd0cc021ca455d96c37296b29a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1187 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"4967db6904d5961f09d560b840371604bc29e7b6d3d2aea503cc9bd9410dec51"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1210 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf93a9ebf21438044f6a68b2a7c37ca7938aae23a2699c82ecc388346295bc0a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1217 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8f708646ac78d282e57f4f4affa21d344cde3927a42d5a07456e9b6b64ddd1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1220 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7785048994df3ec869df0d97bd7e481be10a74046ffc18d94c67fcc841598d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1233 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e729a564bbf2ef613106038e9ccff61968578e6f883d6c03a7dea6c29b46a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1255 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfb481560ffde892ba6e609e1163e4731a08b6f7cbd1ff08b941510c95ac6c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1264 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d386d2c2a36f5333b016903be87d95dc2acd3ba37f56d47a9152e6638e8104"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1267 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"5365131359f2f3f1424f116b51390fcfbdb41a861448e47a1234f28f72df1cfe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1271 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc2b8d73e1fe9cdc570df34fe2bec29f0a388e778339ecad3c8729340c8905e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1274 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af6a61cccb3fd9b40e43387adfd411ddb6d65e164fff6d90a0022861156a714"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1301 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":"data_provider/efinance_fetcher.py"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"6556c8a77be387425f841e48575c559d423a14aca3aed169cf7da36f428f3b7f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.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":"data_provider/finnhub_fetcher.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8ecd2d3687f1a25e6908056c37631bdf2b77ff5f20f7c68d081bfddb3c5842"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.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":"data_provider/finnhub_fetcher.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"650f7424b4d608ce9a4abffa3a7debea91d7b6a1c5ef0d74beed1cba463adf79"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 656 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":"data_provider/longbridge_fetcher.py"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"475dcbb9d348564a16782e8204fb3d0c745114198f83ec03ce932c39f53de55d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 736 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":"data_provider/longbridge_fetcher.py"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21a0206273dfca4eabeee63d59970e9f26db061ff6bbaa5040b8002a2a6f65c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.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":"data_provider/longbridge_fetcher.py"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b1acc841c283918b6f62cae07b813ed8c5a8439067fd5d416860e2479d091e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 763 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":"data_provider/longbridge_fetcher.py"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80126facfae6ffd0b7882b6c1ddf7dc6ce668d4ea0f20453885389fe89fda86"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 858 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":"data_provider/longbridge_fetcher.py"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a4231c80186a1a4ca345234d3823a42d5f3e705cee95591b854b8b2015d37c"}},{"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":"data_provider/miaoxiang_fetcher.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8b8d62ee57204e4f9bfc65e79711c9a37ff63d406eb11615026e9f3bb3564d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 69 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":"data_provider/pytdx_fetcher.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c6669a6fe7eceb8b196367d11bfb50c86bb7862c7713893743a414f0b60720"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 71 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":"data_provider/pytdx_fetcher.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9d51340950ad247a06970de0955480fb13f800328a35acf4a9aae009f55745"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 81 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":"data_provider/pytdx_fetcher.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"268da12e6a61575739e48733c15c96d1427be2ec7a4c46f72b5c4e22fc8ce0ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 220 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":"data_provider/pytdx_fetcher.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ff42090408e7cd5bcd0d3d5a1b6104aff000c326087d5d218771e3672bc28e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.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":"data_provider/pytdx_fetcher.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b693d82273ed91f5939d00887fa7d11c661d407b2d5ff82dfe849603ec98ff5e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 238 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":"data_provider/pytdx_fetcher.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef1027c08e23d61a640a8cee089138cd147bf28b62809ea84d1c5eb31c0265f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 345 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":"data_provider/pytdx_fetcher.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bbd35ba5e3a22f393c4eed8aee291c9713b10bdb7ea6fb08c4cab9b4acea57"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 451 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":"data_provider/pytdx_fetcher.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e63d8aced99679376a83856e81010281ac07c6c0ad43a595ce746d9ce81ae7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 491 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":"data_provider/pytdx_fetcher.py"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf40a52b9ceb27967e18167505475422cbb649046c9c98cbcad69b7db1fc17b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 354 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":"data_provider/realtime_types.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8859b3f3e7e705549f8c65ae325649764640de412019d8a383822cd994ebd4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 358 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":"data_provider/realtime_types.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd7f5dedf75da48cea2212e4d9344a62ba8b8aaeb75ade407b54e3a9e2cf47d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 372 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":"data_provider/realtime_types.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac432b06e79a90ee33307a4c451e6a6530ac04170024a2fc9978310532d42b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 390 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":"data_provider/realtime_types.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a24059ccad7c8690944814de49cfea489a00fe4ba0606c4b374f139c4cb97ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 399 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":"data_provider/realtime_types.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a3b8b63a0d47b1a4ea916411a320807d5cf292c23f0a14e231ca8b2478208b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 419 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":"data_provider/realtime_types.py"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"44714d986664acc5d2519b14439cd57b1fcbff4f08e1de6629afedf0a6024ee1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 423 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":"data_provider/realtime_types.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a02798a348fa41495750191329865a8437ec8cc53346ca74f3671fb673bac5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 426 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":"data_provider/realtime_types.py"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c09476d9de0e927fbf6d978733bc11dedcc858ecb0bde42ed63562ce6f1a32f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 193 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"863c6f7b76644c5c60705caff20de2aae845b0b156ddcad0284ca49c50620c8b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 273 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3e09e610faccd9b779d07ac6ef05373c1717bb53285a68ab5102de4f26d853"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 286 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2ad590908ba5d40508ed89b33ef14eacee8ca9f5e778e31cd3d0141dd3ffb9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 439 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c9952f01bdd358be3101bc25757f0818307f8619dbd2e5ae13dfda80f35a71"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.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":"data_provider/tushare_fetcher.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"530d6e9a4a2c64c7c02a6fbd204c3872e91df82d3023d66734556721a7609edb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.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":"data_provider/tushare_fetcher.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3b58406f08b9d9c64e33c04d59b4bf963615b1c5fde0f4e6904955194ff67b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 652 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea80a3cb9f0fa7dc8b82803b780c9c21fbffb8ec3d844747807a6a7e9baf946"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 656 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb43ab1e4f2263b3e2b37db39876c23ccca6ca66e48faba3a17e1d692e50473b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 693 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb28f853a3cd1ecedb99078b65428ddadbeb0ef76f2385dc81cecc3403e4165"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 697 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b33fc507b797a01a3404357d9cd0ee639ff0774fdea9c6444ba993c8e6cc1f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.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":"data_provider/tushare_fetcher.py"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a7f13eb6f3840c5629f7b1aae4998158c3e029d1e5dc5a2b7bd404ec812ad4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 741 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf6767a1450880910dcb4360f13aebcb835cad047f1f7387c47de8d16419089"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 763 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"53888eaee8a5a892cc883642b26b8d61313f802d6953346bb78c39d7737dabe0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 806 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"182a67c9b510a684a459b55c8e3ae4053b720d8153425d46e3db2153e350a9d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 867 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"f971c23a3e8d935a6cd743bee7ca5fd7a7fd33eff840e9ff4d36921f6acaca01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 876 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd5fdc4989cf2fba1b18276c2d350096289779fa0709eb9eb8eadbd87a885da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 917 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c5c61f444381e57ac2ee8e735a54c715bdc2626187382934e34b5f6b80daaa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 952 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"6670fd11876e5842d157616733763b06acc94961f9d42cb85ff1301e45be5437"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 957 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc1551e1b280063fe6ad49e1f3081a019e145091ac1b131643d0b66719ff92b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1083 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"3135aa6708f32e45f0647a827b948d589e6c71d43d38fd7bced3095df11614f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1129 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"069de520fa5eba8389aaf6549d34665467b88547f92284c24f00f855d704e84b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1142 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"da97be88ea6b179f484e1cab838fb4552a613a6251622713da7f0ce6d0ee4697"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1169 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fc274bde49790b4347036824bbf96aa7cb40db2e58ad5c525deb7e1edc3107"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1173 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"49179b31789325327465f590a9f3192622577db0edab1b62e916a2e3ffd78d9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1177 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9eeb2c13aa7fbaa59a03da134bf877992efcae2c11dc28e048d3bf192411a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1219 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e932460585e440d0686e872bc21a95ac87d4c5c6f6f05afbb943d620adc5976"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1225 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":"data_provider/tushare_fetcher.py"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fdd5638aff52e3fb1cdbac9dbedad3074b138adc9dae5d05b3eecb206dde67"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 126 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7d322425207c22076afa26d03c948bc2bf37c05110a4facf1e626cf4799b86"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 131 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33a6761a455b18d09f06c3b45851343f9cb740f9938b895f341d275fcdbc8f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 136 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"700d2d1dcf4e497f4b3ac568b0097987a3c7184ffef2163b280b2260bb0fefbc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdca08d005d8007425f3a37da20e32c6cf49bd3452a3ba599920fb0be973dbc6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 153 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b307a76f115243644d3ddb40724b528dfbf8dc6af6f310774a9a6d4d7fb51e6d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 181 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97b861510d7268e3245e3f3f529f079ef1c5a6e62ceef8b8853da8609a841cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 206 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ba21a924759d5941ada2eee70188772df2f8822657698a2a167609d2ca8c18"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 388 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f195b9f92ffc925bf6dd33a3879146fc7d81561bc5aed525ceae394592e8a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 390 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"1059178601456338cdfb92f898bc1551732b02ce6760ca3a8297431ed7e9cf0a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 393 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"879529b95724321c48356e9fb97bf78fca3af1f76715102123ee298d1557b2cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 397 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76796c0dd4be77a8a9becc9ff68bcbdc2cb4b9931ca862819dc1365d9b11eb5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 415 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"e456f20763e97ebbd02aba3111d58c69663f70068ad6c846bd0e2827084499e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 417 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c28edba52b0148ef3d81fcf3fd6de0d8fd026f6666fca4ed72ad4b97f05032d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 420 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"df37f75f8b380022401b1e48b099b2d87d2ca2a86638d0be5cba074edbe2a509"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 424 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e114f81ac5fe1b5d1657418d72ab1ee26f78e745ea8fff41a03720f4022530"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1907355772e22b49e12330930fe9848ca71673b39025341e1916514b5c579b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 449 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef78391cc82e51e192a3f2b6fbb95b4ae2d022a61bdae6f3184b740cc63697f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 452 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"1979218980968f2bf5ba6921fb6537183096b4dab2b7ea9252890b5f87e42d34"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 456 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2d5bbd40a5995bd26bb437b5111aee1be626f987563acea3c810aff1502bd4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"da02a7143cb60494040c9675c090f7ce9b6b0a7cd3cecf6070f007692ea9a7d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 475 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bdcbc2b178cdb50afd026ae809508971a0147cf597005e3d77d081be16cd1d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 477 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa4a6d6dc3c8ff791ba943783624783ac920506b37f10474a98e09a23fc0f0e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 480 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b7b29e0b7b9731244db782f753338d9ea6cd2677c31a2725db792f556b1628"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 496 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e282c4b739004883e97e5f94f52652c32afbc28c8383c27e6a9528aa0cce4bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 498 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eaabf58c4c12f359a7391a466801476b51d5170fd47cfe8e30d26ddbe61579c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 500 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0671c48050c82fc085c32d54feb328621e700d69ae815588dfabd70bea8e95"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 503 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30d07d9fd8201c843a76d469dd2a7831fe0f6257bd2ef676af00611437d9799"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 519 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"b370c5bea53ebbb9203268a0c112a9bd1a79255c9fc9191d6c3cdbc292ae2bb9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 521 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafa1a32438d9e57d9410ed5896ff8208772a5be6d3e61978968214eb726a8c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 523 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e63b1b859362adaf4bb4ca155912bce5607ba82c512536dbe0e59a070540410"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 526 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4b619e4b6532e11c78f640cc8f0876012b2844751493698067f17fd2f9fb8c"}},{"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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"27332b951bc982f1f09f46484ab29fdf4f40e6489c0212ca87677807badcb475"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 563 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"888944ec65f2a62f4b2822fb0c44f67ce2f0b5ddca9b440b68a47149b9f60489"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 579 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"675fd13f56812a4fa216f62398c1a5121abc4e9b0680d46ecaa9d8636ce017e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 682 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e603e24970fcbf6fa24ccc4bb2cb4c3ca4be17d2189ceaee9fe71861a789fbd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 685 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"82fda2209e09d08002e42ae25461d5108d5c96f305ad43cc5e155d02142c60d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 708 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a66ff37d3f227f1eb8ab928b5fd869dd3005ab19dd38baee55ccbe84722e125"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 725 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2100d70824228befac267d4fb81eb1af1bd654de9a38f935e402ee76ec4a6f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 788 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"7718feb83fc74fbac76c91468fd47fefad22ff41af96d48d93d57dfe9c0900d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 791 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6ccf835bd523c34fbe80f81f6fb1e4aebc01fad1d4448204cc44c4e40f112e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"799e7f4d3f4e94c29e9c4e57b44ce58bc08bbfc4e0010d9662bf26950e636711"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 832 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee890f37134bd7bd8f0add148bb22712ac4d70bb58e69a7e01b7488eac48494"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"805e77aecbfd661d699a54408237ebf972bc8d04a258ee6938e25660953169bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 858 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa59f96dcae408fab1ea92efab3cdb7d26858b07cc6137a194fa2df8941834f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 937 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf8963bd74838459f991667d224f5d08f6849252527d281685ede9c266fd202"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 942 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"7307f55ca675bea0fbe716d69d772e47b177a4a9040a9ed0fc9ce531b0a5ff14"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 944 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":"data_provider/yfinance_fetcher.py"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c847a279f3fdbda93bbe30fe9fddb4696354d598a6a7d27376ee8fa8a467e99"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.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":"bot/dispatcher.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd4128354df76ff8dc73f595199e6dfa04f8e59bfdbeecc32bd42c952908092"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 137 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":"bot/dispatcher.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e72f82f7cf11cc59011ff40d9611b262ae34704585324f3ebe27b910de43ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.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":"bot/dispatcher.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafeac687ed3c3526c84b2c7065c2196a3967a97bb72510c87be1a2faca20fb8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.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":"bot/dispatcher.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e55664d6e56197af8ef60264f014c4557e6db779c2220164d976e4d6704140"}},{"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":"bot/dispatcher.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71d08cf056c03d2335e20801d988982a76cb98c7dbb1ab97effe2838a5a0ff4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 273 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":"bot/dispatcher.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0393ba59c3fef85bc2e7ebb6d429fefba070cefa80eb5de67dd5fe4a5a0cea2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 315 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":"bot/dispatcher.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd1196920b4a95ccf26fddc972d8c74f61f90af6693dbdb4f677a052e3c91c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 318 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":"bot/dispatcher.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22e1fd241a532ebcb007e1b33148a714c465f90c5db3e29b4cd606d8065bc6a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":"bot/dispatcher.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2096ed3e271a6871f68916fd1d99adc8766ba7209c54fab419f222cff1a40c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 359 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":"bot/dispatcher.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"9094dfa843ebf7ab5ff7c5ce4498572bf57839f9e4c453f8b8d4e568abb3ddff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 761 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":"bot/dispatcher.py"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"766ccb8abe57dfd61949a71bc25ca747310fc2dd693c07480d5af31bf94790e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 46 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":"bot/handler.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e21e5111a2ced4a6d831359d44143c7e329d414c7404c9bd97b063bfcf377f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 72 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":"bot/handler.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"752a4d342ef1c39ab7c4700f9823644a6f9da755d0297c1199dc7262ac7f1094"}},{"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":"bot/handler.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"01215f509ca8a26f36f699ebf9a9bd0ecbc39dd6202dacc1224a44a35bb4b8f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.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":"bot/handler.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d55c2d0fff5f8aed1281da506e3fb3f61ae799888d61837c136ee6ab62a9cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 125 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":"bot/handler.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec18e6bcd52f3986db1606508de8385d21a226bec551da2873836951594e32d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 150 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":"bot/handler.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed45653b3a5233a475ceca87d80cffdca06c8415799702f5c7de63c37dc14fcc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"bot/handler.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b305289e87b7800499b6616dc91c447caa3c6d46c0b45b22cf18024f4c90bb74"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 169 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":"bot/handler.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b316193fd6d0fdb8b20ce7dd40a0dd5eaa0616a218e7230c3e430441a578bcb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 196 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":"bot/handler.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fa4eca1dc3ce75d275be02d27b8a32a9977206249ac1558aea6e768c60b517"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 132 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":"bot/platforms/dingtalk.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec5b4b8cf0350fc8c65eadce3c4be9541193d35517138d5084b76b2a748f3b1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 306 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":"bot/platforms/dingtalk.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"610b51e0a17b2a2acd2d314f6d085fa27f6d315115793b1ec33a10fc131483c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 309 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":"bot/platforms/dingtalk.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8963bfb39644dbba6fab2d53774a4dc07d34f9a10adfe979ac4b0ce94d362da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 313 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":"bot/platforms/dingtalk.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c2572c7c9970d637f844168bb4e3f1a3dffc35cdc29ccafcde0add840df8ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"bot/platforms/dingtalk_stream.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ab5bd8fb043cadc13f46018e13e148856e96682f13b246676bd0ffb90c036f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 182 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":"bot/platforms/dingtalk_stream.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a99c5936c91aad936d125891b030dd1b1075a6f108a323d2f25b22e65170bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"bot/platforms/dingtalk_stream.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"11130b91f95dac0556dba60ff738e5c9700e44ba317a1c28d3284d1942afae12"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 332 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":"bot/platforms/dingtalk_stream.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"be60ccd55a9d9a072997165a8f32332d5b0fecf9d502a78b65adb1d12af5c02a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 189 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":"bot/platforms/feishu_stream.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef47cdc7dc679886ffcdd2c1d8fb613a292e7bc71aa2bdaaf49bf65b49a1e907"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 199 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":"bot/platforms/feishu_stream.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45172471f227a1a018cf3e2092ef480707e3bdb67cf819033d6daf89991f7ab"}},{"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":"bot/platforms/feishu_stream.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e7b7a9d09e8d3d8e9a737d99e389bf69f1fa37d7ed45b7dcc1e24a65d7dc66"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 259 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":"bot/platforms/feishu_stream.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f3034e21222c0f0e39239a5815f58bb898eb41f1d115e30b635ae752d4a10f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 291 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":"bot/platforms/feishu_stream.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae189acb581a74a85844b667ad4e722fba50d34b5dcd638e06b16ee657ec805"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 385 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":"bot/platforms/feishu_stream.py"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d702fa2777b55bbf62b4eecacfdea7a4b36ce24cf83f220938e41630d5b1f47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 429 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":"bot/platforms/feishu_stream.py"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"723f688f97fd16bc067ee5ee8403fc3303f31bff3af141a1828ba8edaecdb398"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 453 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":"bot/platforms/feishu_stream.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"2162ef3caa6e2cf0e235204b3033bf7b15b6b074a93a47c0abc12b16d0c25026"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 525 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":"bot/platforms/feishu_stream.py"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a83de53e481f629924fc5859ae179e6e704d2dbbaf5244d1c794e168e2ed4de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 716 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":"bot/platforms/feishu_stream.py"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9aa179a2086937f397c26396dc1810898d2e29f91d247f2c3a7a5239c8c577"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.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":"bot/platforms/feishu_stream.py"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"508448c9fbe11de72fcb6c32758bcd399135a235fdb54332e16d82db7a67c11e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 86 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":"bot/commands/analyze.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7c5ed46bbf3cd90ccfd2cead6258ab7de1fc93e8a83b62a9b80ef6fd0aa628"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"bot/commands/analyze.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e81ff2a2d5132c6d893a56524b91aad29361ea69463e46693cf56477fbd4803"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 81 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":"bot/commands/batch.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfbdb53fe69ebe81b714f3e6d771b8fa6457e486e38f2a3b8258bdf225aa6b0"}},{"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":"bot/commands/batch.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f0b4d6586ae220da9b52b2d64f9c722664c4664f1652893ff12180273e6db4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 125 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":"bot/commands/batch.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d1042c87cd4b23ea444ca4be9ee15c38772ef4b4d34acb7986ff3089cdb27f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 105 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":"bot/commands/chat.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a2a1e152df915e6f5bdd285f9769ac2de5da0271d042c3d06329e1094abbb9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 73 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":"bot/commands/history.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1cb574f749c1badb7490ff3fd220e9bc8cfd1a3b89d3f73f605a05f40a4432"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 90 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":"bot/commands/history.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7049e664376f34f050c8a9303412cbc7e9a6b1622d063c9985c7932ad61f80ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 117 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":"bot/commands/history.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"12722878bc85366631206b55f5923d522f14c4ef5f6a57cee3c5ea2d3f5c08c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 149 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":"bot/commands/history.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25b0049d9a93eacbde19febfeed67ef3eccb1e83ef607f080f34c33f09ab73e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 101 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":"bot/commands/strategies.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b7dde11070c4d1205569ea45e048f9b9e38a26f5370e9cb1d00c5f601d9ef3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 292 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":"api/v1/endpoints/agent.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5486ffef0bc1b8629790f3a6c22ee665844e2e9428aca4bdf4b24cab758b81a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 647 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":"api/v1/endpoints/analysis.py"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbe89cbef1b1c6a31f2b87f6272ddf0d2df594285d20a3e10ccd030d6e2de08"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 953 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":"api/v1/endpoints/analysis.py"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"afefd36c1c91d13804b6da2129107c2ef9d7fc51056f4d330094d2a70de8b71c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1412 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":"api/v1/endpoints/analysis.py"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"966874b42003ad6e9ec80941710522f36c0e75525840611f036c591f904cda82"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 81 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":"api/v1/endpoints/backtest.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ee4b9b34291809b0cab491b5f5451d727727aebd579e9cc6d4e790ce09f47f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 136 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":"api/v1/endpoints/backtest.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"2431977d10d439287cebfe34a97cceb0d3cae5cad0a10c1014f0500546e0ec5a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 186 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":"api/v1/endpoints/backtest.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c234528bc18e5f07f05da95f037b77c272f2c944c40dc4c29df52ebd09f8f57d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 237 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":"api/v1/endpoints/backtest.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4023c0a7f4698650b5aa2a38c778443bcb1882ab3732858a55157937880ee39"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 307 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":"api/v1/endpoints/history.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03325e54f0e7e6fd984cf313401e4fe507c29e7437de6f49ab270163e1f864a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 363 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":"api/v1/endpoints/history.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7c9f6d9ad6df705da41f8c15d15fdc15d59543c0ebe7a0ddee37f95a04e8ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 405 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":"api/v1/endpoints/history.py"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79dfb13928a5dfd16de359b554742acc64764a8f13541d36724f7e58b9ce968"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"api/v1/endpoints/history.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e97cd5782582164b20e7da613d46828dca01d8c625b628c0342c087d3373a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 684 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":"api/v1/endpoints/history.py"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f17b02db55779f93596f032c7a4797a825c5579de68fcec020480304ef3006"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 727 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":"api/v1/endpoints/history.py"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8872748018c243c6e038e90541f0296afc281e2e4ca8c4e2b0d6194177a03fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 770 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":"api/v1/endpoints/history.py"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8982b04ea00fb18531c189d08ea4f56d4d95a96c2f25417fa1cb18614b2a9d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 828 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":"api/v1/endpoints/history.py"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"18669663c6ff9849ed2823bf0bdad1945ad2537dd61221a63771c1bd441cfa79"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 974 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":"api/v1/endpoints/history.py"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2ba1e2f747ed872d70d4a5167c672ef6a158e8b7dee649d4f3604f366209d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 983 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":"api/v1/endpoints/history.py"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"0294fe16197b4f8e5c12287e8191501d139de4245f36ffc420ca8b1c44d9627d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 58 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":"api/v1/endpoints/portfolio.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78c80089293fc5202f3d5822340e311d1b2faf1a84a81209d041ca27b3d49b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.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":"api/v1/endpoints/stocks.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"80343ba59ac6dd42f252d576f8dbb2f9f6e9e618e5500a955885312e4b890061"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 197 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":"api/v1/endpoints/stocks.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"70810e0526e42981931c796331ec0b65c04d35e357a4a3a66fd48c30c6b947d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 339 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":"api/v1/endpoints/stocks.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d9b8d8c2f35883fabd978001f105a6b653f3e786fbba16285dcaa50647642b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 372 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":"api/v1/endpoints/stocks.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea11835d7790908cdc2313c0a5a6d2a3c5d06428017eae685a360373b8a683a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 407 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":"api/v1/endpoints/stocks.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb869f8dcb144229a00127f5ca112838335d219c40be8c6b1f3f0c2835b5e6ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 507 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":"api/v1/endpoints/stocks.py"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7162e0c96bd4456544fbdd4aea3c483e4cae885f17ef12962f31ad63261b3e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 588 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":"api/v1/endpoints/stocks.py"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cdfae2ea6d80493c3d2b3aeaba792cb6d2fc34a0ae803aeff180deaef90a60"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 52 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":"api/middlewares/error_handler.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ced0f3149a7400a3a6694ccf06e73d24b7028643458c0057324fb012b763e45"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 116 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":"api/middlewares/error_handler.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"98692e78475c223cd931cb4df8fe31165114e20198259cb5b3f3335e5bdb9b77"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~0.1 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 4 assertion(s) across the 50136 source line(s) of the 190 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: apps/dsa-web/src/stores/agentChatStore.ts (2), apps/dsa-web/src/components/settings/IntelligentImport.tsx (1), apps/dsa-web/src/main.tsx (1). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_safe_int\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":"data_provider/akshare_fetcher.py"},"region":{"startLine":2474}}}],"partialFingerprints":{"codehealthFindingId/v1":"434bec93ae2752c19ceca140b9851313dc5d10f354a5ea6584ed21897a622ff4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_get_realtime_cache_ttl\u0060 swallows every exception into \u0060return 600\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":"data_provider/tickflow_fetcher.py"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88795293bb40033d94edd4ac625f7988161fb3a666f328743aa8f3aca7839d0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_coerce_step\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":"evals/agent_trajectory/metrics.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"108c8c56b4f542f9623720b1578423a1222e7e55c3410d15d9793765e3dc3b01"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_get_timeout_seconds\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":"src/agent/orchestrator.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"663f3afd88c14ada25df273f58b40631b73b3349ccf5eae16001ad8ed53ebbf4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_load_builtin_skill_catalog\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":"src/agent/skills/defaults.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c2e181055411cc39f827eee01273c6b10348bed35700ab680a45a70dc05152"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060analysis_context_pack_to_dict\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":"src/analysis_context_pack_prompt.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"52538ed3602fe2941726cc4a6fb7d4603a124eda1796d2d4d178f08e6cb9cbff"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_format_percent\u0060 returns \u0060\u0027N/A\u0027\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":"src/analyzer.py"},"region":{"startLine":5178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff924f88ef6c07f6f29904b3381f2be31c54bbc7d1aaa788a171500f549f10d3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_format_price\u0060 returns \u0060\u0027N/A\u0027\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":"src/analyzer.py"},"region":{"startLine":5187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c879de30cae0272c9a3ee4da0eb5a8074a1227eea8aa6b15734cfc0b160c8a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_as_dict_for_decision_guard\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":"src/analyzer.py"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82e4520e57e4994a9bf921a0c8c02e29fff174c8e4d0819b0325a6ff3a15ba5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_format_sector_change_pct\u0060 returns \u0060\u0027--\u0027\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":"src/core/market_review.py"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cab4e5b82ebb453149b052be6bc74d5a54e7f9421b4c595616e4321a4701fb4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_registered_sensitive_field_titles\u0060 swallows every exception into \u0060return frozenset()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a789f20b39cf7ac7dc2b95ab00cb43b97c8c07eb8fcf4386f83796ef16d12b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_registered_sensitive_env_exact_names\u0060 swallows every exception into \u0060return frozenset()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/local_cli_backend.py"},"region":{"startLine":2861}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b79bef36f5e5e1a099fb0297a8c1bf0ef8793e76c5cde91f8b3200315a2fdc6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_format_signed_pct\u0060 returns \u0060\u0027N/A\u0027\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":"src/market_analyzer.py"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38af79490e6198de95965b6bc7f97005da308ec5c95fe05f6142a725a450112"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_format_amount_cn\u0060 returns \u0060\u0027N/A\u0027\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":"src/notification.py"},"region":{"startLine":2191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1961570bd694de57728cfd2e11a2d5c713b98a601fb64e8d7ebf98c129fbcd2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_format_percent\u0060 returns \u0060\u0027N/A\u0027\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":"src/notification.py"},"region":{"startLine":2209}}}],"partialFingerprints":{"codehealthFindingId/v1":"420c14756c62058379e068e67d7df36cebc2bb595cd8b7110fdc350a70750d21"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_format_per_share\u0060 returns \u0060\u0027N/A\u0027\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":"src/notification.py"},"region":{"startLine":2216}}}],"partialFingerprints":{"codehealthFindingId/v1":"189739da57cb6508657121bf5a8ea5bedf80303b1f72023d78a287afede8ffa0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_format_net_shares\u0060 returns \u0060\u0027N/A\u0027\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":"src/notification.py"},"region":{"startLine":2405}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcd00a52ff968399661ea4b26b6392194ddfe64d7ca5a653fb7dd02cc888270"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_extract_domain\u0060 swallows every exception into \u0060return \u0027\u672A\u77E5\u6765\u6E90\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"7944d03dc0857b388452e7da60031081a98603b07160cb0b9b37160373918042"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_extract_domain\u0060 swallows every exception into \u0060return \u0027\u672A\u77E5\u6765\u6E90\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"9682357dc66d0c83435a991ed9c45f5b4bbcfd466b2f89db1931a616aaf8b80f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_extract_domain\u0060 swallows every exception into \u0060return \u0027\u672A\u77E5\u6765\u6E90\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"7856f526084ed656990669ac4ea53108444754c6c312367d91601c6b0c0c5b46"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_extract_domain\u0060 swallows every exception into \u0060return \u0027\u672A\u77E5\u6765\u6E90\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"618ac21aacf564bf0ec526dd81b3e2739e6bc1cefebb7f643ca97b9ddf40caee"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_extract_domain\u0060 swallows every exception into \u0060return \u0027\u672A\u77E5\u6765\u6E90\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e447277cf17f56f399015853c38879e08496494e27319f52d970ca8fc0b63b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_extract_domain\u0060 swallows every exception into \u0060return \u0027\u672A\u77E5\u6765\u6E90\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":1811}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5802f1567e43132e270490596d030860fd27bdbd71ebd7013b071215778b00"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_extract_domain\u0060 swallows every exception into \u0060return \u0027\u672A\u77E5\u6765\u6E90\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/search_service.py"},"region":{"startLine":2168}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f8ddeec5701683879093ecb4b15b509b6841f337654a572d8fdc4863357cf6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_cooldown_seconds\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":"src/services/alert_worker.py"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"6729c8b54c9f3caaaa8f75e9b89202b0bcb19871d55df5ada26f5bc5d2bc0050"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_loads_mapping\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":"src/services/daily_market_context.py"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"5663da8031a78f4f354f5ed8400c16484c341c1543fe3d1a53e99e48fbbe5c41"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_extract_holding_state\u0060 returns \u0060\u0027unknown\u0027\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":"src/services/decision_signal_extractor.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2cc449d0ac84fe02b3c1d31361fb73bf027df42c6c00dfe3f9a6377a61c09d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_as_mapping\u0060 returns \u0060{}\u0060 when \u0060(TypeError, ValueError, json.JSONDecodeError)\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":"src/services/run_flow.py"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f36df36d1ee353dab5a4b30d76e8cfe9c7051de83305bdfa24d3b7f0f452471"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_extract_completion_text\u0060 returns \u0060\u0027\u0027\u0060 when \u0060(AttributeError, IndexError, KeyError, TypeError)\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":"src/services/screening/ranker.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6a6840dc6738e976ca30824555d4ef04deee75a68c00830ba3bf8d2f39536c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_fetch_ths_summary_event\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/screening_service.py"},"region":{"startLine":2759}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbefb7378f4987f790523832178b7de5589ac39e7cf00e8b730eff478507572f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_fetch_ths_info\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":"src/services/screening_service.py"},"region":{"startLine":2784}}}],"partialFingerprints":{"codehealthFindingId/v1":"04aa44a403e74e87a6e8c3d4e2ea8f39ab3fcbbdab203462ec9eadb6e6b07c75"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_normalize_external_http_url\u0060 returns \u0060\u0027\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":"src/services/screening_service.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa74eb34f8016ee486adbf6b8d5866048aa94c48dde20b2b6a3e38a18185cb9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_get_runtime_llm_temperature\u0060 returns \u00600.7\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":"src/services/system_config_service.py"},"region":{"startLine":4109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65e27d28fd6adfd6dcdd4640800f8ec13457ca7c5ab72bec9c25bb97119249c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_tone_for_score\u0060 returns \u0060\u0027primary\u0027\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":"src/share_image.py"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c176cf81d8cbfee1be20aa2dfa8c5e8b9046784e9467f4d059cd8ac878b815"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_screening_json_list\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":"src/storage.py"},"region":{"startLine":2861}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ee36c72ce9b468d2a05dda2d1695e44fef7159ce0ef999f3ceaaed53fe2fb9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readEnvFileValues\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":"apps/dsa-desktop/main.js"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"545490a86ae9739186145c752c6f4e024a2ed5f6ba9029fc0a3a1dbab3b1d5d6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060resolveLoginRedirect\u0060 swallows every exception into \u0060return \u0027/\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dsa-web/src/utils/loginRedirect.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e720e87799072bccef8f7eed3aeb1415e4056973ba5b8f4fb10ba196aff6f8"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.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-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"Use of a Broken or Risky Cryptographic Algorithm","shortDescription":{"text":"Use of a Broken or Risky Cryptographic Algorithm"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.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-942","guid":"a5e9f9ae-e5c1-215b-b5ef-9b85aa6b4828","name":"Permissive Cross-domain Policy with Untrusted Domains","shortDescription":{"text":"Permissive Cross-domain Policy with Untrusted Domains"},"helpUri":"https://cwe.mitre.org/data/definitions/942.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"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-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":172,"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."]}]}