{"$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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"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":"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":"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":"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":"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"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":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"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":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"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":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"AgentActivity.renderToolDetails (cyclomatic 111): AgentActivity.renderToolDetails has cyclomatic complexity 111 (threshold 15). Of this number, 84 points are the body\u0027s own statements and 27 belong to 10 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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"e808147df9c768785f932e8f935bae731787a8a5df7f8b90154b74f07b2f275a"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App (cyclomatic 91): App.App has cyclomatic complexity 91 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 62 belong to 23 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":"frontend/src/App.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb494a21d14ed6474e255d8aca82c693254c37a919ede0ddd000ea0f69476903"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar (cyclomatic 87): Sidebar.Sidebar has cyclomatic complexity 87 (threshold 15). Of this number, 67 points are the body\u0027s own statements and 20 belong to 12 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":"frontend/src/components/sidebar/Sidebar.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b37d22bb2ff7f2973213bf7e84194aab2cf6e4c92827051bf7bb3a070b1b477"}},{"ruleId":"D1","level":"warning","message":{"text":"EvalSessionsPage.EvalSessionsPage (cyclomatic 74): EvalSessionsPage.EvalSessionsPage has cyclomatic complexity 74 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 52 belong to 24 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":"frontend/src/components/evals/EvalSessionsPage.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e568a7913b55dd5047b3f0ef42c0388c27f78575f22fa976dd32a4e052c9ca76"}},{"ruleId":"D1","level":"warning","message":{"text":"EvalComparePage.EvalComparePage (cyclomatic 71): EvalComparePage.EvalComparePage has cyclomatic complexity 71 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 52 belong to 18 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":"frontend/src/components/evals/EvalComparePage.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43b8cd4c9148fcf22b89c80d757df0e0dfe672c0ea1e888167c6b6a754f61f0"}},{"ruleId":"D1","level":"warning","message":{"text":"BestOfNEvalsPage.BestOfNEvalsPage (cyclomatic 69): BestOfNEvalsPage.BestOfNEvalsPage has cyclomatic complexity 69 (threshold 15). Most of this is not in the body itself: 13 of the 69 points are its own statements and the rest belongs to 23 function items inside it that branch (a function literal at line 183, a function literal at line 85, a function literal at line 70, \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":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbce1da229fb7f677c4a4b9d71e407c7c8a57cb13125c37430cd5b639c165d40"}},{"ruleId":"D1","level":"warning","message":{"text":"project-store.useProjectStore (cyclomatic 59): project-store.useProjectStore has cyclomatic complexity 59 (threshold 15). Most of this is not in the body itself: 1 of the 59 points is its own statement and the rest belongs to 28 function literals inside it that branch (lines 237, 159, 294, \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":"frontend/src/store/project-store.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d86b38c33d93ac02349075032e0c28e934de8aa866fd1d7e9410734e4b30017"}},{"ruleId":"D1","level":"warning","message":{"text":"openai.parse_event (cyclomatic 55): openai.parse_event 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":"backend/agent/providers/openai.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b61674099ba29d39999c3d951627588bdf8a0a2722ca47d86a54edef6294c86"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentActivity.getEventTitle (cyclomatic 55): AgentActivity.getEventTitle 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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebe383312cc83256d34766571dc14595833682202c95edf4eaf715ea4440a60"}},{"ruleId":"D1","level":"warning","message":{"text":"UploadTab.UploadTab (cyclomatic 49): UploadTab.UploadTab has cyclomatic complexity 49 (threshold 15). Most of this is not in the body itself: 12 of the 49 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 125, a function literal at line 217, a function literal at line 96, \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":"frontend/src/components/unified-input/tabs/UploadTab.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e035fef348fde4c038a7734a48b0c38d89494cbd263ae052e3b4f65e31dd97"}},{"ruleId":"D1","level":"warning","message":{"text":"PreviewComponent.PreviewComponent (cyclomatic 46): PreviewComponent.PreviewComponent has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 4 of the 46 points are its own statements and the rest belongs to 16 function literals inside it that branch (lines 73, 101, 179, \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":"frontend/src/components/preview/PreviewComponent.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"02951b602865dd94715f7fa263b5f811e91fb6cfd007ae2a4ac9f0b169cf0012"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-run-tool-preview.ToolPreview (cyclomatic 43): agent-run-tool-preview.ToolPreview has cyclomatic complexity 43 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 19 belong to 7 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":"frontend/src/components/evals/agent-run-tool-preview.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8d4a1754ad18e97f8c699655407481f8cc4f4e5a392becc90926ea53646a33"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentRunsPage.AgentRunsPage (cyclomatic 39): AgentRunsPage.AgentRunsPage has cyclomatic complexity 39 (threshold 15). Of this number, 21 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":"frontend/src/components/evals/AgentRunsPage.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"896d6887ea53ac4445e83cc754d41de329b5f551d97866e3f984453198155b89"}},{"ruleId":"D1","level":"warning","message":{"text":"PreviewPane.PreviewPane (cyclomatic 35): PreviewPane.PreviewPane has cyclomatic complexity 35 (threshold 15). 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, 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":"frontend/src/components/preview/PreviewPane.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"def57a09ce1a8428fbc9c73f4816ea9e8fded2f2fbadc023e44371e5c724217a"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.run_image_evals (cyclomatic 33): runner.run_image_evals 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":"backend/evals/runner.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3dd323dd045c1d73ccf75b44056ad4d6eed63096e62f7b81530a8e5894dd5e"}},{"ruleId":"D1","level":"warning","message":{"text":"RunEvalsPage.RunEvalsPage (cyclomatic 32): RunEvalsPage.RunEvalsPage 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 (RunEvalsPage.RunEvalsPage::runEvals) 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":"frontend/src/components/evals/RunEvalsPage.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"27cc1e461759e4b79b70fd7354638968e4a219a25f3641be74871e2d2a1065fe"}},{"ruleId":"D1","level":"warning","message":{"text":"Variants.Variants (cyclomatic 30): Variants.Variants has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 9 of the 30 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 95, a function literal at line 128, handleVariantClick). 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":"frontend/src/components/variants/Variants.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a236a4ca1d3ec92a4011fdfbd25c1bef606a17201918e9795a228d1e0c8e82c7"}},{"ruleId":"D1","level":"warning","message":{"text":"PromptReportsPage.PromptReportsPage (cyclomatic 29): PromptReportsPage.PromptReportsPage has cyclomatic complexity 29 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 12 belong to 5 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":"frontend/src/components/evals/PromptReportsPage.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d440072e460304ccd9267005100fb9dc0b4ce696713673eb0af48af95e024b"}},{"ruleId":"D1","level":"warning","message":{"text":"summaries.summarize_tool_input (cyclomatic 28): summaries.summarize_tool_input 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":"backend/agent/tools/summaries.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"906384c2133fa47f9648c3268289320aee9696d868fed85fdfb25ccefdb1ad7e"}},{"ruleId":"D1","level":"warning","message":{"text":"image-lightbox.LightboxViewer (cyclomatic 28): image-lightbox.LightboxViewer has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 5 of the 28 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 119, 62, 249, \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":"frontend/src/components/evals/image-lightbox.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f2f4f17557210ac117d9f5a85e80aff63e2d19b99439017f1c26d68f141399"}},{"ruleId":"D1","level":"warning","message":{"text":"generateCode.generateCode (cyclomatic 27): generateCode.generateCode 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 2 function literals inside it that branch (lines 68, 98). 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":"frontend/src/generateCode.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89d905f48381888f12e34441773a2c59be2ab77cfa25db58a7932e211672e81"}},{"ruleId":"D1","level":"warning","message":{"text":"ThinkingIndicator.ThinkingIndicator (cyclomatic 26): ThinkingIndicator.ThinkingIndicator has cyclomatic complexity 26 (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":"frontend/src/components/thinking/ThinkingIndicator.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d83b828cb0bc24619936554636259de04ed6935da9669049634bfa807a155da"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageLightbox.ImageLightbox (cyclomatic 25): ImageLightbox.ImageLightbox has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 6 of the 25 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 41, a function literal at line 112, zoomToDefault, \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":"frontend/src/components/ImageLightbox.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7e09b7293a5790ec3aec4da7acb94497a350535c330e603f9ace2c5f319d33"}},{"ruleId":"D1","level":"warning","message":{"text":"extract_assets.run_extract_assets (cyclomatic 24): extract_assets.run_extract_assets 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":"backend/agent/tools/extract_assets.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c690762b5bbee56ecd489ab48a9802875410b91c1d268f18853a5ccd0c4d03"}},{"ruleId":"D1","level":"warning","message":{"text":"RunEvalsPage.RunEvalsPage::runEvals (cyclomatic 24): RunEvalsPage.RunEvalsPage::runEvals 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 (RunEvalsPage.RunEvalsPage) 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":"frontend/src/components/evals/RunEvalsPage.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"2092900a7199fed26c7f6488d1307c759113c3619df847392a7cf8fa07a3c03d"}},{"ruleId":"D1","level":"warning","message":{"text":"DesignSystemsManager.DesignSystemsManager (cyclomatic 23): DesignSystemsManager.DesignSystemsManager has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to 8 function items inside it that branch (handleDelete, handleSave, a function literal at line 60, \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":"frontend/src/components/settings/DesignSystemsManager.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b158f27735c41af153d535e8bf2f48f32fc4296f1b17b149b35cb808ff0e46a"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-run-timeline.StepCard (cyclomatic 23): agent-run-timeline.StepCard has cyclomatic complexity 23 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 8 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":"frontend/src/components/evals/agent-run-timeline.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f581e44bdc0732346e5d296c02db3eb94b125493bcdd9fdc3a7cdfcd9744df"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentToolRuntime._edit_images (cyclomatic 22): AgentToolRuntime._edit_images 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":"backend/agent/tools/runtime.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fb423288ba9ef3d4e9201db5bf77a014a3e7de2bc0a4aeb416f7f71319b0f1"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentActivity.AgentActivity (cyclomatic 20): AgentActivity.AgentActivity has cyclomatic complexity 20 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 9 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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f320b8f43e7ca84bdf1ce81dbca792680d0cb98c1562e8e0e43090f849e4fa1"}},{"ruleId":"D1","level":"warning","message":{"text":"asset_extraction.extract_assets_from_images (cyclomatic 19): asset_extraction.extract_assets_from_images 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":"backend/asset_extraction.py"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc7725b45dd71fe344f490fe02ca2b2f02d77d28d989d7ffeface115d6d185a"}},{"ruleId":"D1","level":"warning","message":{"text":"evals.get_best_of_n_evals (cyclomatic 19): evals.get_best_of_n_evals 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":"backend/routes/evals.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"062912505b080f3b57dc7149bebdf0aeb48a48f11e2454514a7edd0e5e068df7"}},{"ruleId":"D1","level":"warning","message":{"text":"openai._build_provider_turn (cyclomatic 18): openai._build_provider_turn 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":"backend/agent/providers/openai.py"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f4e3d683e033b536a43c69b5ab88c09a64a4f5705ea10f58ff9f2f02d08a0f"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelSelectionStage._get_variant_models (cyclomatic 18): ModelSelectionStage._get_variant_models 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":"backend/routes/generate_code.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"46187a627b2981ccf5ce711ebbca2eff0fd575c0a49ed47159830b5f1e8cdb5d"}},{"ruleId":"D1","level":"warning","message":{"text":"HistoryDisplay.HistoryDisplay (cyclomatic 18): HistoryDisplay.HistoryDisplay has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 140, 116, 218). 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":"frontend/src/components/history/HistoryDisplay.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad848d1b45b371998eca4f0c0d774b3fadd6494422bb3cd920d3f26690c9d692"}},{"ruleId":"D1","level":"warning","message":{"text":"openai_input_formatting.summarize_function_call_output_payload (cyclomatic 17): openai_input_formatting.summarize_function_call_output_payload 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":"backend/fs_logging/openai_input_formatting.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8aeb6087f96ca251d5745d8f3e6fc396cd524131362957fad487e682c0d4b69"}},{"ruleId":"D1","level":"warning","message":{"text":"eval_sets.get_session_matrix (cyclomatic 17): eval_sets.get_session_matrix 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":"backend/routes/eval_sets.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4a98a90474961d067a2c6c8fb315235173a7be30428437803a6c67bf191b03"}},{"ruleId":"D1","level":"warning","message":{"text":"parsing._extract_partial_json_string (cyclomatic 16): parsing._extract_partial_json_string 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":"backend/agent/tools/parsing.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"203d0c04fb3a27325f416d1b417010f342e84f45bbb9ab792062b85906d71db7"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentRunRecorder.record_llm_response (cyclomatic 16): AgentRunRecorder.record_llm_response 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":"backend/fs_logging/agent_runs.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b2798fdbc90773c3af215b5205e11fd2e1089dbb8b373d402db9397bc785c4"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentRunRecorder._snapshot_output (cyclomatic 16): AgentRunRecorder._snapshot_output has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/fs_logging/agent_runs.py"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84ec26d45357e6b58a765d965639ae094b7c57c3e191340e9bc9fc155b2df51"}},{"ruleId":"D1","level":"warning","message":{"text":"openai_input_compare._find_first_value_difference (cyclomatic 16): openai_input_compare._find_first_value_difference 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":"backend/fs_logging/openai_input_compare.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff733a22517627b7cbb9ad177a491e3693285a8fccc4e4c3d0aae939f21be606"}},{"ruleId":"D1","level":"warning","message":{"text":"export.collect_asset_candidates (cyclomatic 16): export.collect_asset_candidates has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routes/export.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c534777d042f83f2367ffb8195e313e15ffbaf1fd8787153bc988ede4bf4cd40"}},{"ruleId":"D1","level":"warning","message":{"text":"ParameterExtractionStage.extract_and_validate (cyclomatic 16): ParameterExtractionStage.extract_and_validate 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":"backend/routes/generate_code.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"df001912b85f166c762e29cc6ae45228a93e7890535526fd38698ef7f1ee0653"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentActivity.getEventTitle (cognitive 122): AgentActivity.getEventTitle has cognitive complexity 122 (threshold 15). Drivers by points: ternaries 21 (73 pts), if/else 19 (41 pts), boolean chains 8 (nesting depth added 74). 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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71f19bb5088160ddf0ca411a6df7e331fd3d93abd1c4349acc99bb072a1af42"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App (cognitive 91): App.App has cognitive complexity 91 (threshold 15). Drivers by points: if/else 39 (42 pts), boolean chains 27, ternaries 15 (21 pts), error handling 1 (nesting depth added 9). Of this number, 20 points are the body\u0027s own statements and 71 belong to 23 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, 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":"frontend/src/App.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1515f646c71e42b4b6c4915d483eefc9f96ec8b28f657a1f0280293775530bd1"}},{"ruleId":"D2","level":"warning","message":{"text":"openai.parse_event (cognitive 90): openai.parse_event has cognitive complexity 90 (threshold 15). Drivers by points: if/else 36 (68 pts), boolean chains 15, ternaries 3 (7 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":"backend/agent/providers/openai.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dec30170cf1f0309e4f9cce98be40491e7e35bbf86762e35dd6ce9dff30f4c6"}},{"ruleId":"D2","level":"warning","message":{"text":"BestOfNEvalsPage.BestOfNEvalsPage (cognitive 68): BestOfNEvalsPage.BestOfNEvalsPage has cognitive complexity 68 (threshold 15). Drivers by points: if/else 21 (27 pts), ternaries 11 (20 pts), boolean chains 13, error handling 6 (7 pts), match/switch 1 (nesting depth added 16). Most of this is not in the body itself: 14 of the 68 points are its own statements and the rest belongs to 23 function items inside it that branch (a function literal at line 183, a function literal at line 85, goToPrevious, \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":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb00b4c3b5f82a3fe1d2c0bd85697768fdd2a60d1343b1a42d35aef12e88908"}},{"ruleId":"D2","level":"warning","message":{"text":"project-store.useProjectStore (cognitive 60): project-store.useProjectStore has cognitive complexity 60 (threshold 15). Drivers by points: if/else 21, boolean chains 19, ternaries 14 (19 pts), loops 1 (nesting depth added 5). None of this is in the body itself: all 60 points belong to 28 function literals inside it that branch (lines 294, 421, 159, \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":"frontend/src/store/project-store.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12acba148ba762f6025f44577e115e56518286769971a1a3b883a1aaecbf8ff"}},{"ruleId":"D2","level":"warning","message":{"text":"Sidebar.Sidebar (cognitive 60): Sidebar.Sidebar has cognitive complexity 60 (threshold 15). Drivers by points: boolean chains 40, if/else 12, ternaries 6 (7 pts), error handling 1 (nesting depth added 1). Of this number, 40 points are the body\u0027s own statements and 20 belong to 12 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":"frontend/src/components/sidebar/Sidebar.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c156c713cb9005161883778602992a13498a0bf3795e192dd05e839d29626e"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-run-tool-preview.ToolPreview (cognitive 58): agent-run-tool-preview.ToolPreview has cognitive complexity 58 (threshold 15). Drivers by points: ternaries 10 (25 pts), if/else 15 (21 pts), boolean chains 12 (nesting depth added 21). Of this number, 27 points are the body\u0027s own statements and 31 belong to 7 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":"frontend/src/components/evals/agent-run-tool-preview.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2561acd50367a4178d1028b2b695d5a151d0b7521b2312734929a586c70e67cc"}},{"ruleId":"D2","level":"warning","message":{"text":"EvalSessionsPage.EvalSessionsPage (cognitive 58): EvalSessionsPage.EvalSessionsPage has cognitive complexity 58 (threshold 15). Drivers by points: boolean chains 26, if/else 18 (19 pts), error handling 7, ternaries 4, loops 2 (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 42 belong to 24 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":"frontend/src/components/evals/EvalSessionsPage.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0feb169bcf539cfe997dabbcaf90fb06a0cb2d977646bf46cb95b7315898d8"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentActivity.renderToolDetails (cognitive 57): AgentActivity.renderToolDetails has cognitive complexity 57 (threshold 15). Drivers by points: boolean chains 48, ternaries 5, if/else 3, error handling 1. Of this number, 54 points are the body\u0027s own statements and 3 belong to 10 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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c6caf317a1b50297b725c9606fcc748ee3ef3a917c8600955d3f1a86a909b1"}},{"ruleId":"D2","level":"warning","message":{"text":"EvalComparePage.EvalComparePage (cognitive 57): EvalComparePage.EvalComparePage has cognitive complexity 57 (threshold 15). Drivers by points: boolean chains 24, if/else 22 (24 pts), ternaries 6, error handling 3 (nesting depth added 2). Of this number, 16 points are the body\u0027s own statements and 41 belong to 18 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":"frontend/src/components/evals/EvalComparePage.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4359aff87449955ecc12d0ec775d4b59523730bb28a0acd1a2429c02aebcd4a3"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.run_image_evals (cognitive 54): runner.run_image_evals has cognitive complexity 54 (threshold 15). Drivers by points: if/else 16 (30 pts), error handling 4 (9 pts), boolean chains 7, loops 3 (4 pts), ternaries 2 (4 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/evals/runner.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d23e9449e2ecfca91f44e8c01e6dab549c8071f630178d00d1427fd15798b45"}},{"ruleId":"D2","level":"warning","message":{"text":"PreviewComponent.PreviewComponent (cognitive 49): PreviewComponent.PreviewComponent has cognitive complexity 49 (threshold 15). Drivers by points: if/else 29, boolean chains 9, ternaries 5 (8 pts), loops 2 (3 pts) (nesting depth added 4). Most of this is not in the body itself: 4 of the 49 points are its own statements and the rest belongs to 16 function literals inside it that branch (lines 179, 73, 101, \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":"frontend/src/components/preview/PreviewComponent.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe8b8ba2eac8a6ed7a286f4e3236a70fd16c778ae3edcba8f04d9089f0a6962"}},{"ruleId":"D2","level":"warning","message":{"text":"UploadTab.UploadTab (cognitive 45): UploadTab.UploadTab has cognitive complexity 45 (threshold 15). Drivers by points: if/else 25 (27 pts), boolean chains 15, ternaries 1 (2 pts), error handling 1 (nesting depth added 3). Most of this is not in the body itself: 6 of the 45 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 125, a function literal at line 96, a function literal at line 217, \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":"frontend/src/components/unified-input/tabs/UploadTab.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ae782c5b225e2612507af528f14aadd50c79f18e968cb1bb1bd0e3407975e6"}},{"ruleId":"D2","level":"warning","message":{"text":"RunEvalsPage.RunEvalsPage::runEvals (cognitive 45): RunEvalsPage.RunEvalsPage::runEvals has cognitive complexity 45 (threshold 15). Drivers by points: if/else 12 (26 pts), ternaries 4 (13 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (RunEvalsPage.RunEvalsPage) 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":"frontend/src/components/evals/RunEvalsPage.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b1dc3a3eb1d2c1673fd04eb3b449ce994261239381a7a1bcde5206b0caa040"}},{"ruleId":"D2","level":"warning","message":{"text":"summaries.summarize_tool_input (cognitive 39): summaries.summarize_tool_input has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 9, ternaries 2 (5 pts), loops 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/agent/tools/summaries.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6913b8bbe2156370bff504b202ba474fd0d505e889e6b5c010bc8b4e2cbb8a1b"}},{"ruleId":"D2","level":"warning","message":{"text":"evals.get_best_of_n_evals (cognitive 36): evals.get_best_of_n_evals has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 8 (12 pts), ternaries 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":"backend/routes/evals.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed61bd5e656d4940ec17229914b50bc280d4ad8295a83db15e6d548692d02402"}},{"ruleId":"D2","level":"warning","message":{"text":"extract_assets.run_extract_assets (cognitive 35): extract_assets.run_extract_assets has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 6, loops 2 (3 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":"backend/agent/tools/extract_assets.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9136a9a67a799061d752315a32adc49ea92e9c8aff79c7f1fef7bae093f42f53"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentToolRuntime._edit_images (cognitive 33): AgentToolRuntime._edit_images has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 6, loops 3 (4 pts), ternaries 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":"backend/agent/tools/runtime.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"513553b2ce60497bb1eda86c80cc394dd9d6b7409de27c18ccc5939b65325d02"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentEngine._run_with_session (cognitive 32): AgentEngine._run_with_session has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (27 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":"backend/agent/engine.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9e71d5523cc4ed2f5742ab54c19d0c44fd8c79bd168de056b2d87bcf93623d"}},{"ruleId":"D2","level":"warning","message":{"text":"asset_extraction.extract_assets_from_images (cognitive 32): asset_extraction.extract_assets_from_images has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 4 (10 pts), loops 4 (5 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/asset_extraction.py"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"325de6408f14781d05ebe74c642974c85d6cfcff7875da9a7d782454d770a14b"}},{"ruleId":"D2","level":"warning","message":{"text":"openai_input_compare._find_first_value_difference (cognitive 32): openai_input_compare._find_first_value_difference has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 3 (9 pts), loops 3 (6 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":"backend/fs_logging/openai_input_compare.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62671acf250e888e663d324a4ef54efa5071d3411b733fc38a8786962e3a10d"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.format_prompt_preview (cognitive 31): utils.format_prompt_preview has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 3 (7 pts), ternaries 2 (5 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3ebc7ad87ce13012e1bf068f30f4d3b3679ba7471ecbf999e76d0305bd4111"}},{"ruleId":"D2","level":"warning","message":{"text":"image-lightbox.LightboxViewer (cognitive 30): image-lightbox.LightboxViewer has cognitive complexity 30 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 8, ternaries 2 (nesting depth added 2). Most of this is not in the body itself: 4 of the 30 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 119, 249, 62, \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":"frontend/src/components/evals/image-lightbox.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b126dd0c6ccb591c31fe139f470b984411da2121a0072be2506cfb8f5bcff44f"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentRunsPage.AgentRunsPage (cognitive 30): AgentRunsPage.AgentRunsPage has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 13, ternaries 6 (8 pts), if/else 6, error handling 3 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 13 belong to 8 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":"frontend/src/components/evals/AgentRunsPage.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b412b474b3644e148dde32819f4fed6b70b161159bd755befa8905823b8052"}},{"ruleId":"D2","level":"warning","message":{"text":"export.collect_asset_candidates (cognitive 29): export.collect_asset_candidates has cognitive complexity 29 (threshold 15). Drivers by points: loops 9 (16 pts), if/else 6 (13 pts) (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routes/export.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"6356ea1ca29332b4707c38ffc41bfabaa8cc93a1e04e98d72b91c77129232605"}},{"ruleId":"D2","level":"warning","message":{"text":"Variants.Variants (cognitive 28): Variants.Variants has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 13, if/else 8 (11 pts), ternaries 4 (nesting depth added 3). Most of this is not in the body itself: 8 of the 28 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 95, a function literal at line 128, handleVariantClick). 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":"frontend/src/components/variants/Variants.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c6ba0a780eaa27fc58c0ae23b63f7a1d313123fa8a0ccf7fe25fb5bf5182ca"}},{"ruleId":"D2","level":"warning","message":{"text":"openai_input_formatting.summarize_function_call_output_payload (cognitive 27): openai_input_formatting.summarize_function_call_output_payload has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 1 (3 pts), boolean chains 2, 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":"backend/fs_logging/openai_input_formatting.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f01cfa95f936b4ef60486fd79b4f03e396b2071ae10d14322428799a2b492a"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.print_prompt_summary (cognitive 27): utils.print_prompt_summary has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (16 pts), ternaries 3 (7 pts), loops 2 (4 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":"backend/utils.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9870d82d9639a99ca6d0327b9434bfc87dc1ec135a37fddb67b8efe838ae8a24"}},{"ruleId":"D2","level":"warning","message":{"text":"generateCode.generateCode (cognitive 27): generateCode.generateCode has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16, boolean chains 11. None of this is in the body itself: all 27 points belong to 2 function literals inside it that branch (lines 68, 98). 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":"frontend/src/generateCode.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3aa38bb860cda1d916f9463d1b3f87fad418879aec58e04522d7a9d7f65882e"}},{"ruleId":"D2","level":"warning","message":{"text":"openai._build_provider_turn (cognitive 26): openai._build_provider_turn has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 8, loops 2 (4 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":"backend/agent/providers/openai.py"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be9bc0b8b576ca3b913402b7a44c0d1167f0a2d84b231100be13859219b8201"}},{"ruleId":"D2","level":"warning","message":{"text":"asset_extraction_benchmark._run_legacy_profile (cognitive 25): asset_extraction_benchmark._run_legacy_profile has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 4 (9 pts), boolean chains 3, 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":"backend/evals/asset_extraction_benchmark.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"77be0ca9e87bba2ac231fa0590b7140458c0e70c4300cb2ee5cfe6e661560271"}},{"ruleId":"D2","level":"warning","message":{"text":"prompt_reports.prune_prompt_reports (cognitive 25): prompt_reports.prune_prompt_reports has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routes/prompt_reports.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"1325866f71ad8f2bb4815d4e5cb4f0e8baa77f69881993011becd995951f8626"}},{"ruleId":"D2","level":"warning","message":{"text":"DesignSystemsManager.DesignSystemsManager (cognitive 25): DesignSystemsManager.DesignSystemsManager has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8, boolean chains 7, ternaries 4 (7 pts), error handling 3 (nesting depth added 3). Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to 8 function items inside it that branch (handleDelete, handleSave, a function literal at line 60, \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":"frontend/src/components/settings/DesignSystemsManager.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d378bd68b56081df949f2a85d7fde2792b5056e729a3e5b2a988e114f70bfbca"}},{"ruleId":"D2","level":"warning","message":{"text":"openai_input_compare.compare_openai_inputs (cognitive 24): openai_input_compare.compare_openai_inputs has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 5 (9 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":"backend/fs_logging/openai_input_compare.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"46298a34c378fcdfbbac367125d159fc7154f8e25c8d0738151250ec3d45cd65"}},{"ruleId":"D2","level":"warning","message":{"text":"PreviewPane.PreviewPane (cognitive 24): PreviewPane.PreviewPane has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 17, ternaries 6, if/else 1. Of this number, 23 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":"frontend/src/components/preview/PreviewPane.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6211d19f7f030b9da74a7fc472a9329a678bed0ed44d865b51fa8cfed5ed1b34"}},{"ruleId":"D2","level":"warning","message":{"text":"RunEvalsPage.RunEvalsPage (cognitive 24): RunEvalsPage.RunEvalsPage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 26 (40 pts), ternaries 16 (28 pts), boolean chains 24, error handling 5, loops 2 (3 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. This shape REPEATS in the file: one other method here (RunEvalsPage.RunEvalsPage::runEvals) 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":"frontend/src/components/evals/RunEvalsPage.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7807293d16219ae54ea372f381bae20f3141306882b5e13b3ca594b46c9d0e2a"}},{"ruleId":"D2","level":"warning","message":{"text":"PromptReportsPage.PromptReportsPage (cognitive 23): PromptReportsPage.PromptReportsPage has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (8 pts), boolean chains 7, if/else 5, error handling 3 (nesting depth added 2). Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 5 function items inside it that branch (handlePrune, a function literal at line 161, a function literal at line 141, \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":"frontend/src/components/evals/PromptReportsPage.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7151e9e88b00880425cfefffc6b3fb3036b8e0f772402692b747991d39d75a40"}},{"ruleId":"D2","level":"warning","message":{"text":"asset_extraction_benchmark._evaluate_profile (cognitive 22): asset_extraction_benchmark._evaluate_profile has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 6 (11 pts), boolean chains 5, if/else 3 (5 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":"backend/evals/asset_extraction_benchmark.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ebe82b25b23de408f902351d3b36c02b96228ca6c9e0ea0a9ec0e0a0b79d55"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentRunRecorder._snapshot_output (cognitive 22): AgentRunRecorder._snapshot_output has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 5 (6 pts), boolean chains 3, 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":"backend/fs_logging/agent_runs.py"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d733f18573ca7badb03039d9f76ede769ef1ac3b9537f9b7685f7239826a25c"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentActivity.AgentActivity (cognitive 22): AgentActivity.AgentActivity has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 6, if/else 3 (4 pts) (nesting depth added 5). Most of this is not in the body itself: 9 of the 22 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1037, 1109, 999, \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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"546a80a8d588eaa2973e5be5b35c7361fb038a16e546160e67bd82ebcc285f01"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageLightbox.ImageLightbox (cognitive 22): ImageLightbox.ImageLightbox has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11, boolean chains 9, ternaries 2. Most of this is not in the body itself: 4 of the 22 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 41, a function literal at line 112, zoomToDefault, \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":"frontend/src/components/ImageLightbox.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9c579ed354a614940899eb353cfe91fcf51ff8e9aa3ac7832f40c31b836a3f"}},{"ruleId":"D2","level":"warning","message":{"text":"ThinkingIndicator.ThinkingIndicator (cognitive 22): ThinkingIndicator.ThinkingIndicator has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 12, ternaries 6, 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":"frontend/src/components/thinking/ThinkingIndicator.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ca7e10f9fdf64bd74ad48f943718425552e4e3ec1ec3d8444821b44c8e432c"}},{"ruleId":"D2","level":"warning","message":{"text":"eval_sets.get_session_matrix (cognitive 21): eval_sets.get_session_matrix has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (11 pts), loops 4 (5 pts), boolean chains 3, error handling 1, 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":"backend/routes/eval_sets.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae2c780c3e57ec97e7703b89ad1ea877499ccb71cb2a35a060b15e92d360074"}},{"ruleId":"D2","level":"warning","message":{"text":"parsing._extract_partial_json_string (cognitive 20): parsing._extract_partial_json_string has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3 (5 pts), boolean chains 3, error handling 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":"backend/agent/tools/parsing.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb70198d102cbf84b19e87bd33a6a1da5993629f99544c3ae2de73da9e2be1a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_runs._first_input_image_sha256 (cognitive 20): agent_runs._first_input_image_sha256 has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 3, loops 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":"backend/fs_logging/agent_runs.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c1c262ef612278674e85bc21e901c44c8c92bda6bbca64ecb09280d3598d0f"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-run-timeline.StepCard (cognitive 20): agent-run-timeline.StepCard has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 12, boolean chains 8. Of this number, 12 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. 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":"frontend/src/components/evals/agent-run-timeline.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d53961edb8cf6ef2383f00767d17ed3330ed7fe0565b46b6e8c119edcbed7a"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentRunRecorder.record_llm_response (cognitive 19): AgentRunRecorder.record_llm_response has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (9 pts), if/else 6 (7 pts), boolean chains 2, 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":"backend/fs_logging/agent_runs.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"9201b4f560f6cf7d1132b2c3f6e92a5f87d07a3bb0596b9e1bfef49e5957bb0c"}},{"ruleId":"D2","level":"warning","message":{"text":"export.rewrite_html_assets (cognitive 19): export.rewrite_html_assets has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 4 (5 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":"backend/routes/export.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"8691a7fbdf3a143ad4cd7daa98bbf82cf8f7d538729fe846f1896fdfd7ffc91c"}},{"ruleId":"D2","level":"warning","message":{"text":"ParameterExtractionStage.extract_and_validate (cognitive 19): ParameterExtractionStage.extract_and_validate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, loops 1 (2 pts), 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, 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":"backend/routes/generate_code.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeeb6d3d33a9ca43bc13134ce4f053860bd29fd39a3e0a361f5bbb6fbc4ee0fb"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIProviderSession.append_tool_results (cognitive 18): OpenAIProviderSession.append_tool_results has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/agent/providers/openai.py"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a7692e894f1898048397d4dd6dd6848798963e54bd89d49c6946409c363158"}},{"ruleId":"D2","level":"warning","message":{"text":"openai_input_formatting.summarize_responses_input_item (cognitive 18): openai_input_formatting.summarize_responses_input_item has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, ternaries 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":"backend/fs_logging/openai_input_formatting.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c3689ee1474b678b95f5ce755ef2def49e21d30e7067334b7e27d280c16963"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_runs.prune_agent_runs (cognitive 18): agent_runs.prune_agent_runs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (5 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":"backend/routes/agent_runs.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f237534c5ef6d048ed2876c7d8a0aaf7e74e3e728b2517f01af4fd2eb82f33b"}},{"ruleId":"D2","level":"warning","message":{"text":"report-json.mediaFromValue (cognitive 18): report-json.mediaFromValue has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 1 (4 pts), boolean chains 3 (nesting depth added 8). 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":"frontend/src/components/evals/report-json.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1552b1e528cf4e0f4a6b373bdc07cd340a95f4f9ce9be0a8630a372dab7d2b76"}},{"ruleId":"D2","level":"warning","message":{"text":"state.seed_file_state_from_messages (cognitive 17): state.seed_file_state_from_messages has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, 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":"backend/agent/state.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"28adb19bf694edf39ae00fe99963e0bffacdc604870bb26fd9fd480411d7fec8"}},{"ruleId":"D2","level":"warning","message":{"text":"asset_extraction_benchmark._write_overlays (cognitive 17): asset_extraction_benchmark._write_overlays has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (14 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":"backend/evals/asset_extraction_benchmark.py"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6637f5dcd11a656f90adae4562f95d0d6a771ab5cf63a916f8453ed8d01275b"}},{"ruleId":"D2","level":"warning","message":{"text":"asset_extraction_benchmark._write_html_report (cognitive 17): asset_extraction_benchmark._write_html_report has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (12 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":"backend/evals/asset_extraction_benchmark.py"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a956f884019ace3334a87ca798cc2696735f10f634c5330b4bc244d058bb643"}},{"ruleId":"D2","level":"warning","message":{"text":"evals.get_evals (cognitive 17): evals.get_evals has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (4 pts), ternaries 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":"backend/routes/evals.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf559932641e26d0ab32c143184094238bc9b166d1e48c94f063f8155ff2f4e"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-run-timeline.groupEvents (cognitive 17): agent-run-timeline.groupEvents has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 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":"frontend/src/components/evals/agent-run-timeline.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5e525e89bf85363698dc8bcf581d0d9165d0ec2621d0eb52453c2f45beae50"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentEngine._extract_input_images (cognitive 16): AgentEngine._extract_input_images has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/agent/engine.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7291de3bfa32e1cc1a376e4d1d61de8e8b2a7392feed23871f05c1784517887b"}},{"ruleId":"D2","level":"warning","message":{"text":"provider._extract_tool_calls (cognitive 16): provider._extract_tool_calls has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 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":"backend/agent/providers/anthropic/provider.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"0689ee05c8a7a8f003adc8b6bab86818d2b6022c8cab1ea6ad3c3046e4bdabda"}},{"ruleId":"D2","level":"warning","message":{"text":"replicate._extract_output_url (cognitive 16): replicate._extract_output_url has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 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":"backend/image_generation/replicate.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb59ec1a7aa59367384bbf0338d0c0f3f071e021a395b511dd7b7f27837a8b2"}},{"ruleId":"D2","level":"warning","message":{"text":"run_image_generation_evals.extract_output_url (cognitive 16): run_image_generation_evals.extract_output_url has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 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":"backend/run_image_generation_evals.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb8cba491096960dcfe52716de1a7c15392c0dff006fddf089a7752ce370248"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.format_prompt_summary (cognitive 16): utils.format_prompt_summary has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (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":"backend/utils.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61883d93f65655dba355043b400855b1fe0646ba12cbb96fb210e21594c8983"}},{"ruleId":"D2","level":"warning","message":{"text":"useBrowserTabIndicator.useBrowserTabIndicator (cognitive 16): useBrowserTabIndicator.useBrowserTabIndicator has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 7). None of this is in the body itself: all 16 points belong to 3 function literals inside it that branch (lines 64, 78, 83). 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":"frontend/src/hooks/useBrowserTabIndicator.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3561e55fda951fea8a40fb5f704bbe72a01c97d386e93a0dbb80bb9412e7cd"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryDisplay.HistoryDisplay (cognitive 16): HistoryDisplay.HistoryDisplay has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, ternaries 5 (6 pts), if/else 2 (nesting depth added 1). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 140, 116, 218). 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":"frontend/src/components/history/HistoryDisplay.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6608967d2a9565849b3b868af6ab1715e9d569a0a6100ac0c622ad4de4514f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BestOfNEvalsPage.BestOfNEvalsPage: FunctionTooLong \u2014 BestOfNEvalsPage runs 758 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 658 over it, 7.58\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":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"047ae1b69ecbbf71d5ca34319538820fdc04a6765070cbee7e1e2c84563fc095"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: App.App: FunctionTooLong \u2014 App runs 670 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 570 over it, 6.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":"frontend/src/App.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fa33c4d5a2c038ca470b8db93b84ac84cd0d449acb48d2b6dcfac601570af5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RunEvalsPage.RunEvalsPage: FunctionTooLong \u2014 RunEvalsPage runs 555 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 455 over it, 5.55\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":"frontend/src/components/evals/RunEvalsPage.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d2dc13356d50dcfe29e3acce06aec08ecdc2cab00bf9b041b8c856a76ebb6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentActivity.renderToolDetails: FunctionTooLong \u2014 renderToolDetails runs 535 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 435 over it, 5.35\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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e55e73c4114ca71743fb78df3586019a1bf20c79411815180878c79bce8658"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EvalSessionsPage.EvalSessionsPage: FunctionTooLong \u2014 EvalSessionsPage runs 449 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 349 over it, 4.49\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":"frontend/src/components/evals/EvalSessionsPage.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"115a93e70b155dff38bc51c6a508df35a972e2508d6530d04c729bc1955c01df"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UploadTab.UploadTab: FunctionTooLong \u2014 UploadTab runs 349 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 249 over it, 3.49\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":"frontend/src/components/unified-input/tabs/UploadTab.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b22007023761cd272a2d535a3c3852d5a8966ba25d0e2a1048ec71d9061a79"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EvalComparePage.EvalComparePage: FunctionTooLong \u2014 EvalComparePage runs 334 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 234 over it, 3.34\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":"frontend/src/components/evals/EvalComparePage.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c44b791795b0b6e3caeeaa91fb842d187edb3e54394a7a3a33ae51de86a012"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentRunsPage.AgentRunsPage: FunctionTooLong \u2014 AgentRunsPage runs 333 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 233 over it, 3.33\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":"frontend/src/components/evals/AgentRunsPage.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a638770dcde97b6607407d1a647d458fa8f2751d1b317f5e46452efada84fe7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsTab.SettingsTab: FunctionTooLong \u2014 SettingsTab runs 306 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 206 over it, 3.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":"frontend/src/components/settings/SettingsTab.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc5f2ed3130e1d2b89850e4b0c920e710c0be9724ad8510304724aedfe19800"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-run-tool-preview.ToolPreview: FunctionTooLong \u2014 ToolPreview runs 303 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 203 over it, 3.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/evals/agent-run-tool-preview.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2d1ca5e2af675f8b4209544dbfba774fdde8b60da58043995e0f66cad4491d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: project-store.useProjectStore: FunctionTooLong \u2014 useProjectStore runs 268 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 168 over it, 2.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":"frontend/src/store/project-store.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07a59c0aece26791eeaead0998774c32a538b2304de099d1ed009959c7a4c64"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PromptReportsPage.PromptReportsPage: FunctionTooLong \u2014 PromptReportsPage runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.48\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":"frontend/src/components/evals/PromptReportsPage.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8e23bd2657be11ccac16b025c7d9bdb3ca87099b68866a8c7bfefe3bf9ad96"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: image-lightbox.LightboxViewer: FunctionTooLong \u2014 LightboxViewer runs 226 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 126 over it, 2.26\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":"frontend/src/components/evals/image-lightbox.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d72ff96590cea140f446c0d9d3863fc1a1c5a1932e8fd3e1ff8d99a14ebf1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DesignSystemsManager.DesignSystemsManager: FunctionTooLong \u2014 DesignSystemsManager runs 207 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 107 over it, 2.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":"frontend/src/components/settings/DesignSystemsManager.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4deb1708451ca42735afdfe6a0aef0ea3e32af9f9678bed7582dcec69de65c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PreviewPane.PreviewPane: FunctionTooLong \u2014 PreviewPane runs 201 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 101 over it, 2.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/preview/PreviewPane.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade0c87b59227283cda8e9c37c1743886aed559ebfbb1f5749e0f37c76dd69f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PreviewComponent.PreviewComponent: FunctionTooLong \u2014 PreviewComponent runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\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":"frontend/src/components/preview/PreviewComponent.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e375ca9034d081021a3e60e08c93c401d53f8016131f02a6b61eba8818492a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ImageLightbox.ImageLightbox: FunctionTooLong \u2014 ImageLightbox runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ImageLightbox.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"26efc7bff045e82455be09d832c1b167443f927fe0e6b9cac37746619fff73ca"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BestOfNEvalsPage: ClassTooLong \u2014 758 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 358 over it, 1.90\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":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee0b390d70ec16ac5638822fc858c612f2a392ca1f041ad4a5d5c43822e0b02"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OpenAIInputComparePage.OpenAIInputComparePage: FunctionTooLong \u2014 OpenAIInputComparePage runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\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":"frontend/src/components/evals/OpenAIInputComparePage.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7abb1a48b5c2339a97b8755ac2368c6761af119f32edefde3095569b4a2066"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/AgentActivity.tsx: FileTooLong \u2014 933 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 433 over it, 1.87\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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c86c7171d5ce22fcb53b0f56407821a13b8f1985b324989cd1985eb6e5114d0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: App: ClassTooLong \u2014 670 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 270 over it, 1.68\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":"frontend/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55edc7807e30a1d03bedf108d5b7d875f563b94b4244eaf745ddb8b0c7099a5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: evals/BestOfNEvalsPage.tsx: FileTooLong \u2014 774 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: BestOfNEvalsPage (25-931). The bar is 500 significant lines; this is 274 over it, 1.55\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":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb224a590fb71d1e992e6d0eaa3c1a8be0011e3baeef1190ea309dd6ba2d2b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/App.tsx: FileTooLong \u2014 711 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: App (43-979). The bar is 500 significant lines; this is 211 over it, 1.42\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":"frontend/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a9efb367e74d6ff954ee43cf566ffa8c991460d5d8689cba2e1f5a561a6dc9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RunEvalsPage: ClassTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 155 over it, 1.39\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":"frontend/src/components/evals/RunEvalsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbfe74cea24629e9839300950abe63567a43a48bb5586088e0dc3ffbcae2fd1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fs_logging/agent_runs.py: FileTooLong \u2014 676 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 176 over it, 1.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":"backend/fs_logging/agent_runs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e344fad48ebb8883daa21804aaaf2ccccfa5e1109f482e5c0b97159dc16c91e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ScreenshotToCodeControls.ScreenshotToCodeControls: FunctionTooLong \u2014 ScreenshotToCodeControls runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\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":"frontend/src/components/unified-input/ScreenshotToCodeControls.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8386766d0d513a99081cf48479175d70bd1a5c64d2ca142b2554f5bc7fda710c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/generate_code.py: FileTooLong \u2014 671 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 171 over it, 1.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routes/generate_code.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b85f4ca36f9ff125671d74caea9d528bc33e0b425507a2097f576525364551"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-run-timeline.StepCard: FunctionTooLong \u2014 StepCard runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\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":"frontend/src/components/evals/agent-run-timeline.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"347f70150e2c3d9d7b450e1cee6962a0dea04c32745cab986459044cacf75e86"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UrlTab.UrlTab: FunctionTooLong \u2014 UrlTab runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\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":"frontend/src/components/unified-input/tabs/UrlTab.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cee9a0620e662b7c51f7da09875d44f2ca2721bb8bcd8875831b91cc5e7c9e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: evals/RunEvalsPage.tsx: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: RunEvalsPage (56-735). The bar is 500 significant lines; this is 98 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":"frontend/src/components/evals/RunEvalsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2714dfc7eb91ab7b86b1a9a1c435b9e06a5b059082a21d1f3aa02beb8831e2a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: HistoryDisplay.HistoryDisplay: FunctionTooLong \u2014 HistoryDisplay 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":"frontend/src/components/history/HistoryDisplay.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9ca7e374f297674713c0697c9657f5bbc36c11b3f6b63087f3de8cdb5fea11"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: evals/EvalSessionsPage.tsx: FileTooLong \u2014 579 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: EvalSessionsPage (155-704). The bar is 500 significant lines; this is 79 over it, 1.16\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":"frontend/src/components/evals/EvalSessionsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4117929fe02ce55d90500d6b8c8d900b75441baf4c2a0c22abf7e4e4c5aaf67"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EvalSessionsPage: ClassTooLong \u2014 449 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 49 over it, 1.12\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":"frontend/src/components/evals/EvalSessionsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f3be54e2bffe4b945d2db9702f6d75a72eb5918dfb0dabe9c39b49f8f3dee0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentActivity.AgentActivity: FunctionTooLong \u2014 AgentActivity 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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cb4675088cabcc5f610a53116fc3d71162ba79e179ff283680522f69c7798b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar.tsx: FileTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 16 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/sidebar/Sidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63c14a11a233cfe82496edd0a199a5e28e3dc23a3474468645dc55a74305309"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InputFileSelector.InputFileSelector: FunctionTooLong \u2014 InputFileSelector 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":"frontend/src/components/evals/InputFileSelector.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"99498816a053b3ecb09f271036bd73bee8223e64668319f0886741fb94bae97b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): backend/utils.py:40-76 | backend/utils.py:143-169 \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":"backend/utils.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf180c8ec5df1430039f84bb393a0f389c2d60951bcab8cbe52f9531bb70dadd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): backend/image_generation/replicate.py:105-122 | backend/run_image_generation_evals.py:120-137 \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":"backend/image_generation/replicate.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b21bf795489c7899df71333e3d66dd4a843ef60b4b9ec8c8cdddbc1862b432"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): backend/agent/providers/anthropic/provider.py:507-518 | backend/agent/providers/gemini.py:447-457 | backend/agent/providers/openai.py:620-631 \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":"backend/agent/providers/anthropic/provider.py"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53da988a7a5de90688f9b7471082db8d15f225f210ebd51edd6bfc0d3241397"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): backend/routes/evals.py:40-52 | backend/routes/evals.py:487-507 \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":"backend/routes/evals.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdb2ce78b823051b0389cbe8c4b0a47b9760742c7beedddee7ac802dd3a63a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): backend/agent/tools/extract_assets.py:23-40 | backend/uploaded_assets/store.py:151-173 \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":"backend/agent/tools/extract_assets.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec143b402dd40cab67d4699cdbe9227a1fe48bf5df13dddeb7e21dafbf96609"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): backend/routes/agent_runs.py:125-132 | backend/routes/prompt_reports.py:54-61 \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":"backend/routes/agent_runs.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"83316cc870c44c728a0f4f1d011ccb0f97e378d418f0cfaf754610df17e91b35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): backend/agent/providers/openai.py:334-355 | backend/agent/providers/openai.py:375-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. 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":"backend/agent/providers/openai.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"013dece063756e108ebb453542423dfc5d2cd302da4aa8117faf0ec6ea27a6b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): backend/agent/tools/runtime.py:378-396 | backend/agent/tools/runtime.py:497-518 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/agent/tools/runtime.py:378\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":"backend/agent/tools/runtime.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"f164e971f403dad79ff5de4a2ff8134a8245db99699f3a62fbcfcbc45b875179"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 2): backend/agent/engine.py:105-123 | backend/fs_logging/agent_runs.py:207-221 \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":"backend/agent/engine.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f4ed4800729a8a006479551fd05fb91236bb46607e38af8daffd77ba21aea0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): backend/utils.py:50-61 | backend/utils.py:148-161 \u2014 both copies are in the same file, so extract the block 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":"backend/utils.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a419c140812c5e71f51690612d47bcee94a410d5903828f518f5ee43456863"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): backend/agent/tools/runtime.py:343-352 | backend/uploaded_assets/tools.py:73-84 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/agent/tools/runtime.py:343\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 before the matched lines, \u0060backend/uploaded_assets/tools.py:72\u0060 calls \u0060cast\u0060 and \u0060backend/agent/tools/runtime.py:343\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":"backend/agent/tools/runtime.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f7170cf7fae97b6766b0fcbb0aefb37f7d0b0397760fb65c5064e19dc3ce96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/evals/sets.py:248-257 | backend/evals/sets.py:260-269 \u2014 both copies are in the same file, so extract the block 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":"backend/evals/sets.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"35710fb8c57894f5e3a733a2010a43a873b94470b794e54a6d24bb7d816107d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): backend/agent/providers/anthropic/provider.py:510-517 | backend/agent/providers/gemini.py:450-457 | backend/agent/providers/openai.py:623-630 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/agent/providers/anthropic/provider.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48848bde8e25157cda3fb5b9c8d8808e36ff7c81eeb713296c29790a21634e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/agent/providers/openai.py:449-456 | backend/agent/providers/openai.py:462-469 \u2014 both copies are in the same file, so extract the block 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":"backend/agent/providers/openai.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"273c96842c04e4d25f1d228ed567f05f45421be2e68870d7036e0ce751b477f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/agent/tools/runtime.py:273-280 | backend/agent/tools/runtime.py:343-350 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/agent/tools/runtime.py:273\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":"backend/agent/tools/runtime.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e93ab8c30d05f7a3b215826883ac5f0ee3e7bde711f7f3edc9ea35bdfbe9d8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/evals/asset_extraction_benchmark.py:144-148 | backend/evals/asset_extraction_benchmark.py:190-194 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/evals/asset_extraction_benchmark.py:144\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":"backend/evals/asset_extraction_benchmark.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f7d0998408055df267997f41fc5c7709995a62c10b8d8546bdc7ff10766205"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: create from screenshot: ${model} \u0026 ${stack}: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/tests/qa.test.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1acead77c4946542d2ca231f8cbba1f70d43e26108c2cb70881ea95fe94c4e5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: create from URL: ${model} \u0026 ${stack}: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/tests/qa.test.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e94ad22713bd343b12a504e34a689bb362b1476a42892e1cf5d496a11437cf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: update flow: ${model}: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/tests/qa.test.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0baf3f8bf66e182f8ba055b1eb0ea2a813d8776c43c4833df23b43c2f3649b94"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: start from code: ${model}: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/tests/qa.test.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6acddb85a461918a6a7a0860ab5a4989c318409bcd0a94ed96cb1d55f187c7d3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: start from text: ${model}: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/tests/qa.test.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d584498b22826a473880aea34c6d9e4c5deffec80c1374f4df1b6880fddafa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: code action buttons: ${model}: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/tests/qa.test.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5249d85a4a8869acb8838c9f8f8e69236994f780e1acf2db08b99baa778c1a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/sidebar/Sidebar.tsx: frontend/src/components/sidebar/Sidebar.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 87 in Sidebar.Sidebar at line 79. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-11..2026-10-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-11 15:42:15 -04:00\u0027 --until=\u00272026-10-09 15:42:15 -04:00\u0027 --full-history --no-merges -- frontend/src/components/sidebar/Sidebar.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":"frontend/src/components/sidebar/Sidebar.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a492c281ea56319b0c6ca368d998d13f873fcb0e9dcb140e4f53744688553f2f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/App.tsx: frontend/src/App.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 91 in App.App at line 43. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-11..2026-10-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-11 15:42:15 -04:00\u0027 --until=\u00272026-10-09 15:42:15 -04:00\u0027 --full-history --no-merges -- frontend/src/App.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":"frontend/src/App.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ba40c80d9d716bf3ae782a5d1af8c4d7e55d0835004f0e14536914f2b2aaad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/evals/EvalSessionsPage.tsx: frontend/src/components/evals/EvalSessionsPage.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in EvalSessionsPage.EvalSessionsPage at line 155. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-11..2026-10-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-11 15:42:15 -04:00\u0027 --until=\u00272026-10-09 15:42:15 -04:00\u0027 --full-history --no-merges -- frontend/src/components/evals/EvalSessionsPage.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":"frontend/src/components/evals/EvalSessionsPage.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"531eb4083f04876f07bb115172f647cabe49bd36431ba3404acc9c7ac78f588f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/evals/RunEvalsPage.tsx: frontend/src/components/evals/RunEvalsPage.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 84 in RunEvalsPage.RunEvalsPage at line 56. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-11..2026-10-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-11 15:42:15 -04:00\u0027 --until=\u00272026-10-09 15:42:15 -04:00\u0027 --full-history --no-merges -- frontend/src/components/evals/RunEvalsPage.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":"frontend/src/components/evals/RunEvalsPage.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd6ccdd37c233d5642d51ed65422cbb733dd7ae5105ddbbf136440a3d215d9e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/evals/EvalComparePage.tsx: frontend/src/components/evals/EvalComparePage.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 71 in EvalComparePage.EvalComparePage at line 91. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-11..2026-10-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-11 15:42:15 -04:00\u0027 --until=\u00272026-10-09 15:42:15 -04:00\u0027 --full-history --no-merges -- frontend/src/components/evals/EvalComparePage.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":"frontend/src/components/evals/EvalComparePage.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2a3852363119a36e78e6a5c8ef4f7a71dfc600ce4cfad73b00e6419b9a9887"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/agent/AgentActivity.tsx: frontend/src/components/agent/AgentActivity.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in AgentActivity.AgentActivity at line 991. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-11..2026-10-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-11 15:42:15 -04:00\u0027 --until=\u00272026-10-09 15:42:15 -04:00\u0027 --full-history --no-merges -- frontend/src/components/agent/AgentActivity.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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29acc12d8718b2d9504c015fe7ca9c8a3278d5182cec2d85bbe0cb803b7d70e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: backend/evals/runner.py: backend/evals/runner.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in runner.run_image_evals at line 202. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-11..2026-10-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-11 15:42:15 -04:00\u0027 --until=\u00272026-10-09 15:42:15 -04:00\u0027 --full-history --no-merges -- backend/evals/runner.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":"backend/evals/runner.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18ee210407f3d6c45ff21671cf2e590a4ce79ee8de60b8aac7fd780a598af57"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/unified-input/tabs/UploadTab.tsx: frontend/src/components/unified-input/tabs/UploadTab.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in UploadTab.UploadTab at line 58. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-11..2026-10-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-11 15:42:15 -04:00\u0027 --until=\u00272026-10-09 15:42:15 -04:00\u0027 --full-history --no-merges -- frontend/src/components/unified-input/tabs/UploadTab.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":"frontend/src/components/unified-input/tabs/UploadTab.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5684c9e39cd7e87b4b80c9ee10ea3435240c954e50684f527e1e1ce3b9836c1d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: backend/routes/eval_sets.py: backend/routes/eval_sets.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in eval_sets.get_session_matrix at line 251. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-11..2026-10-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-11 15:42:15 -04:00\u0027 --until=\u00272026-10-09 15:42:15 -04:00\u0027 --full-history --no-merges -- backend/routes/eval_sets.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":"backend/routes/eval_sets.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"61315d27bd71b2cb383c620d33410edc0d766d2668bd6affc92b2160aec2466d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Test across different browsers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/recording/ScreenRecorder.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5bec7fbe5f82fcc2d59968d511af0569635e0824c23e126e309c199be28ea1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Do I need to fix duration if it\u0027s not a webm? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/recording/ScreenRecorder.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e26c06fb37446e7eb560a4d95948b9005bb23122829ee6c9b5903f1f52a47e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Update CSS and JS external links depending on the framework being used \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/preview/CodeTab.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8823834ca2d6996f1265ee4371da4fa2f87d2954d051d47f324a6861f5a23c2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Reset the execution console\u0022 repeats the code it sits on: 3 of its 3 words (reset, execution, console) are already in \u0060resetExecutionConsoles();\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":"frontend/src/App.tsx"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4897e60ca0adc77a6968f6311e86d24763d0de9d027081569b2567031432bd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set the app state to coding during generation\u0022 repeats the code it sits on: 4 of its 5 words (set, app, state, coding) are already in \u0060setAppState(AppState.CODING);\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":"frontend/src/App.tsx"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f9223fc535fa08ba9dbeda1a8916e69f9b6fd2b3beb0803a80d33b416056e7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set the app state\u0022 repeats the code it sits on: 3 of its 3 words (set, app, state) are already in \u0060setAppState(AppState.CODE_READY);\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":"frontend/src/App.tsx"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0d7b7ae765002eb3f0b181cb0894c444f7354e00b69f573f5dd731a00e2cef"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Render a history with code\u0022 repeats the code it sits on: 3 of its 3 words (render, history, code) are already in \u0060expect(renderHistory(Object.values(basicLinearHistoryWithCode))).toEqual([\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":"frontend/src/components/history/utils.test.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"194af23c20e6ccf15f6e1dc92042955a4654adb25fbdd28a76cacad5320d1759"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022If the commit has no parent, return null\u0022 repeats the code it sits on: 4 of its 5 words (commit, parent, return, null) are already in \u0060if (!commit.parentHash) return 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":"frontend/src/components/history/utils.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"030b822ae472d16089b59f6e1462565cfe8e861febf4674fe8e1f6250f5e1ba4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a URL for the blob object\u0022 repeats the code it sits on: 4 of its 4 words (create, url, blob, object) are already in \u0060const videoURL = URL.createObjectURL(blob);\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":"frontend/src/components/recording/utils.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae331fb96d42ca1b3f89e46467f079d44f367368b311856e594223a3d3a939bb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if the currently selected variant is complete\u0022 repeats the code it sits on: 4 of its 5 words (check, selected, variant, complete) are already in \u0060const isSelectedVariantComplete =\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":"frontend/src/components/sidebar/Sidebar.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b49bb40ef9c77bf61a94ea559b4108699294425223a3fb8dd203f5cfe28a041"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if the currently selected variant has an error\u0022 repeats the code it sits on: 4 of its 5 words (check, selected, variant, error) are already in \u0060const isSelectedVariantError =\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":"frontend/src/components/sidebar/Sidebar.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fb2c5fa4f62aeca8993556968d63cb55ee9c99574f257aa77edfdf510ddc4e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get the error message from the selected variant\u0022 repeats the code it sits on: 4 of its 5 words (error, message, selected, variant) are already in \u0060const selectedVariantErrorMessage =\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":"frontend/src/components/sidebar/Sidebar.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2289a30ea183bb8d0bfe3ad92dd0bf4603f6605f266c959a9ad402b508229b"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 2 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060frontend\u0060 (15595 LoC, 131 module-visible types across 23 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"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":"459cea91de00af406deedc297cea2a4136ea1aedd6520d38c370c543ff6c2996"},"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":"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":"ce98447edf909154f066bd0108e0f38b44e6139bac23460022f81fa4b4e58094"},"properties":{"dependency":{"package":"anyio","version":"4.9.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-4024","PYSEC-2026-4025"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1ee42a99d21d842db46728d6756e760232edd5308b50a0c1fdda16732d7f7a9"},"properties":{"dependency":{"package":"certifi","version":"2024.12.14","advisory":"[GHSA redacted]","aliases":["PYSEC-2026-4320"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f475377b558e8349b28062a7e32eb5cb783aa415762eb29f4e0de90daeebcea4"},"properties":{"dependency":{"package":"h11","version":"0.14.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-348"],"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":"c315222e178af54ccae2b16e2b6a46c3aa7fc8db2d5e275883c48de44cbcc7ae"},"properties":{"dependency":{"package":"pillow","version":"10.4.0","advisory":"[GHSA redacted]","aliases":["BIT-pillow-2026-112390","BIT-pillow-2026-112391","BIT-pillow-2026-112392","BIT-pillow-2026-112393","BIT-pillow-2026-112394","BIT-pillow-2026-112395","BIT-pillow-2026-112397","BIT-pillow-2026-112398","BIT-pillow-2026-112399","BIT-pillow-2026-112400","BIT-pillow-2026-112401","BIT-pillow-2026-112402","BIT-pillow-2026-112403","BIT-pillow-2026-112404","BIT-pillow-2026-112406","BIT-pillow-2026-112891","BIT-pillow-2026-112892","BIT-pillow-2026-112893","BIT-pillow-2026-112894","BIT-pillow-2026-112895","BIT-pillow-2026-112896","BIT-pillow-2026-112897","BIT-pillow-2026-112898","BIT-pillow-2026-112900","BIT-pillow-2026-112901","BIT-pillow-2026-25990","BIT-pillow-2026-40192","BIT-pillow-2026-42308","BIT-pillow-2026-42310","BIT-pillow-2026-42311","BIT-pillow-2026-54058","BIT-pillow-2026-54059","BIT-pillow-2026-54060","BIT-pillow-2026-55379","BIT-pillow-2026-55380","BIT-pillow-2026-55798","BIT-pillow-2026-59197","BIT-pillow-2026-59198","BIT-pillow-2026-59199","BIT-pillow-2026-59200","BIT-pillow-2026-59204","BIT-pillow-2026-59205","BIT-pillow-2026-96636","BIT-pillow-2026-96637","BIT-pillow-2026-96638","BIT-pillow-2026-96640","BIT-pillow-2026-96641","BIT-pillow-2026-96642","BIT-pillow-2026-96644","BIT-pillow-2026-96778","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-165","PYSEC-2026-2249","PYSEC-2026-2250","PYSEC-2026-2252","PYSEC-2026-2253","PYSEC-2026-2254","PYSEC-2026-2255","PYSEC-2026-2256","PYSEC-2026-2257","PYSEC-2026-2874","PYSEC-2026-3451","PYSEC-2026-3453","PYSEC-2026-3454","PYSEC-2026-3493","PYSEC-2026-3494","PYSEC-2026-3495","PYSEC-2026-3496","PYSEC-2026-4326","PYSEC-2026-4327","PYSEC-2026-4329","PYSEC-2026-4330","PYSEC-2026-4331","PYSEC-2026-4332","PYSEC-2026-4334","PYSEC-2026-4335","PYSEC-2026-4337","PYSEC-2026-4338","PYSEC-2026-4340","PYSEC-2026-4341","PYSEC-2026-4343","PYSEC-2026-4363"],"reachability":{"kind":"production","file":"backend/agent/providers/anthropic/image.py","line":33}}}},{"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":"fb3e697dd28a1bda9c7213f7ffddd1a99eb1adea0c9d7543aeb768738c906a57"},"properties":{"dependency":{"package":"handlebars","version":"4.7.9","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":"3ad627583971e605c60abfc13dfefcf9341dff6c0ffe9b94ff6ac21dc1bb0672"},"properties":{"dependency":{"package":"tinypool","version":"0.8.4","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":"ad86af2c3b19cf3456a32aaea47e7ba097a3c5bb8cb72bc8eb9d664032e8c99c"},"properties":{"dependency":{"package":"vitest","version":"1.6.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"test-or-tooling","file":"frontend/package.json"}}}},{"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":"a2cb331a92ffcb6c27a6dd5d1e621be9a19b4209a9e7b4235eaa8d750f4584a0"},"properties":{"dependency":{"package":"aiohttp","version":"3.11.11","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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1097","PYSEC-2026-1099","PYSEC-2026-1100","PYSEC-2026-1101","PYSEC-2026-1104","PYSEC-2026-1105","PYSEC-2026-1106","PYSEC-2026-1107","PYSEC-2026-1109","PYSEC-2026-2094","PYSEC-2026-2095","PYSEC-2026-2096","PYSEC-2026-2097","PYSEC-2026-2098","PYSEC-2026-2099","PYSEC-2026-2100","PYSEC-2026-2101","PYSEC-2026-2102","PYSEC-2026-2103","PYSEC-2026-2104","PYSEC-2026-2105","PYSEC-2026-2106","PYSEC-2026-2107","PYSEC-2026-2108","PYSEC-2026-2109","PYSEC-2026-2110","PYSEC-2026-2111","PYSEC-2026-2112","PYSEC-2026-2113","PYSEC-2026-237","PYSEC-2026-3545","PYSEC-2026-3546","PYSEC-2026-3547"],"reachability":{"kind":"production","file":"backend/run_image_generation_evals.py","line":11}}}},{"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":"09f50e1b4504716127755b263ca316fa0f7ec34644a7d63f48ac699d8c1f88b8"},"properties":{"dependency":{"package":"protobuf","version":"5.29.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1805"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"37e8e56932765700ed0275c2d1bba8166ca226fe50b41424c23103d6264e1d51"},"properties":{"dependency":{"package":"pyasn1","version":"0.6.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1810","PYSEC-2026-2263","PYSEC-2026-3455","PYSEC-2026-3456","PYSEC-2026-3457"],"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":"0fb0c42652f4b162fb1fdf2cbbb3fb2c18e00578f898f7511b072c5d97e0317c"},"properties":{"dependency":{"package":"setuptools","version":"75.6.0","advisory":"[GHSA redacted]","aliases":["BIT-setuptools-2025-47273","BIT-setuptools-2026-59890","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-49","PYSEC-2026-3447"],"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":"d8afa04787940cb01e2669bae03d77b2cb64ab861e90347df994e1868a1e0e30"},"properties":{"dependency":{"package":"soupsieve","version":"2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-3071","PYSEC-2026-3072","PYSEC-2026-4170","PYSEC-2026-4171"],"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":"c0fe13e575a4442e896721ca30a69c414b5a21e39da292015dd899587b82aaaf"},"properties":{"dependency":{"package":"starlette","version":"0.41.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-161","PYSEC-2026-1941","PYSEC-2026-1942","PYSEC-2026-2280","PYSEC-2026-2281","PYSEC-2026-248","PYSEC-2026-249","X41-2026-002"],"reachability":{"kind":"production","file":"backend/routes/generate_code.py","line":10}}}},{"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":"baee1890ab71375c836008d35668a29163312ed02628d7af98254737b10ebc2f"},"properties":{"dependency":{"package":"urllib3","version":"2.2.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-141","PYSEC-2026-1994","PYSEC-2026-1996","PYSEC-2026-1997","PYSEC-2026-1998","PYSEC-2026-1999","PYSEC-2026-4175","PYSEC-2026-4177"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ee60af0a6db289020fc63e3ae1c39f72b462dffbefc540a215247199d905d20"},"properties":{"dependency":{"package":"virtualenv","version":"20.28.0","advisory":"[GHSA redacted]","aliases":["BIT-virtualenv-2026-102925","BIT-virtualenv-2026-102930","BIT-virtualenv-2026-102937","BIT-virtualenv-2026-102938","BIT-virtualenv-2026-113714","BIT-virtualenv-2026-113715","BIT-virtualenv-2026-113716","BIT-virtualenv-2026-113717","BIT-virtualenv-2026-113718","BIT-virtualenv-2026-113719","BIT-virtualenv-2026-113720","BIT-virtualenv-2026-113721","BIT-virtualenv-2026-113722","BIT-virtualenv-2026-113723","BIT-virtualenv-2026-113724","BIT-virtualenv-2026-113725","BIT-virtualenv-2026-113726","BIT-virtualenv-2026-113732","BIT-virtualenv-2026-113776","BIT-virtualenv-2026-22702","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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]","PYSEC-2026-2009","PYSEC-2026-4011","PYSEC-2026-4012","PYSEC-2026-4013","PYSEC-2026-4014"],"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":"d9e7b39c380f2c6bcab8c3b0c9cd016ecc8b7b989535958cfeb35ae487d39697"},"properties":{"dependency":{"package":"basic-ftp","version":"5.3.1","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":"0127de4537068fff83d889371d2346224eae5b4067ff00af7237517c17c2389c"},"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":"89827a1e6cc7ea7372a332ca9fa045029139d322033a98fda865ee91a980bbc3"},"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":"21a1b739dbbe8fe3576401cdfeaa347c91b51f9952c571c2164899b0acf216da"},"properties":{"dependency":{"package":"browserslist","version":"4.28.2","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":"c63c84d9a6a38a56d29c1696bfd005ff6dd5110a62e14e1ae8a6d245248985a1"},"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":"65c802d1e0876360063bd09922515fb3a1b9f2631c9bd361c1d286c0c1adf8cd"},"properties":{"dependency":{"package":"ip-address","version":"10.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cf1142d0177b5566334c98faccd9ad1e005d80b7c241a6baab4aec4bbeb0a999"},"properties":{"dependency":{"package":"js-yaml","version":"3.14.2","advisory":"[GHSA redacted]","aliases":["[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":"4ad717abe735affd3aa350d8f590f1ba3333fc75d55ea57c9746e2f036c662f2"},"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":"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":"9c041c44a53b47242bb1bec2608c1fb93595d7bb8fd854bcb84f18cf4a8c2db8"},"properties":{"dependency":{"package":"minimatch","version":"9.0.3","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":"b39f480116b5d185121651d28abb76b8fd040a301f0d99dc03d3d1af717eda90"},"properties":{"dependency":{"package":"nanoid","version":"3.3.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"frontend/src/App.tsx","line":11}}}},{"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":"9769ad4fd678375668ce0b2ff2f09dcd3cb717a5d09946c2e3db8b77a0610bce"},"properties":{"dependency":{"package":"nanoid","version":"5.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"frontend/src/App.tsx","line":11}}}},{"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":"3b8ac4c3d5e2e1f64f8afe0a70649a983331b909e81ede95278355a55749d69c"},"properties":{"dependency":{"package":"postcss","version":"8.5.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"frontend/package.json"}}}},{"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":"235fbb14c282280599c472573f71de272bf75ccfae6393778e9f222e04887b9e"},"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":"09e4b83b29579b529c9e6aabef3fa5767314264c11f575d08992fdb2d46bfa91"},"properties":{"dependency":{"package":"vite","version":"5.4.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"frontend/vite.config.ts","line":2}}}},{"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":"af98c32852e8e350f239c911078c84c6379251430d20f3f904c3d0103b936fc6"},"properties":{"dependency":{"package":"vite","version":"6.4.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"frontend/vite.config.ts","line":2}}}},{"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":"1f81a9d3e773f110fe3ff7a208b425f475ee50d64ad3e527e417ac18dea93446"},"properties":{"dependency":{"package":"ws","version":"8.20.0","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":"0191a9ada81bf76768c84e98864408c34ec1c60c6857c186dc0c39648fbc766c"},"properties":{"dependency":{"package":"zod","version":"3.23.8","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":"54263af24cb4ff3a63449a0a782e8d948742f00e6b41185af81b4ea610a6fe2d"},"properties":{"dependency":{"package":"filelock","version":"3.16.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1374","PYSEC-2026-1375"],"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":"6ea596428e1351797d67cd7a5a55fb0abcb770aac59848604db743f9e2e4ac8f"},"properties":{"dependency":{"package":"idna","version":"3.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-215"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"010e34ddc062d4bcdfd7e1a1d3b83c5f3b69c4cee009c545f6962d93a54aae00"},"properties":{"dependency":{"package":"opentelemetry-api","version":"1.34.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3656836567c6987afa3cbe6b088feda021f7bb1a2a2a2fe48444cd8f6c6cc694"},"properties":{"dependency":{"package":"pillow-heif","version":"0.18.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2248","PYSEC-2026-2258"],"reachability":{"kind":"production","file":"backend/asset_extraction.py","line":11}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8f9c4c98eceec12a62c80b25b69b334450443f695e2c4f9a3d3718450c8f7d60"},"properties":{"dependency":{"package":"pytest","version":"7.4.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1845"],"reachability":{"kind":"test-or-tooling","file":"backend/tests/test_agent_engine.py","line":3}}}},{"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":"e38c17531b395ba7aaa62cdeb0fc731c2cdfc61ca59377163c01eea74ba550ef"},"properties":{"dependency":{"package":"python-dotenv","version":"1.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2270"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb7c9024ed63589b4747b8172a02f202549c0fc3165c2447c54cb4d2540e55d7"},"properties":{"dependency":{"package":"requests","version":"2.32.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-1872","PYSEC-2026-2275"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"80039682bb62f8bf321b72075a9b5435b300ea8c7bcaacd7f1c468bbe77f5bf6"},"properties":{"dependency":{"package":"@remix-run/router","version":"1.23.2","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":"f05eab56d03b19133774eaa7fdabea2ff2104389d6533606ff0882c9a955f4d5"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.24","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":"b779538063f625497cff7c0a2567146e5ba2d15531f4dae574ef61cf8f80e79b"},"properties":{"dependency":{"package":"esbuild","version":"0.21.5","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":"ae16d0e8f041e3ab53e40ef742d16d4584f36f50ce42bdc8c6fada894bee5129"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.1.2","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":"045bc77b7132d17212dfa5b707f7a178accbd8a1f9037031f2c00ea0a7c1c48f"},"properties":{"dependency":{"package":"react-router-dom","version":"6.30.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"frontend/src/components/evals/AgentRunsPage.tsx","line":4}}}},{"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":"7f17c3252329b8508bdb6bbbd667424d846bdce972be453161124e6131417e6d"},"properties":{"dependency":{"package":"react-router","version":"6.30.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c349c56b4218c3f26638ee154efb12c8f088dacf13a4256192a94a8a4b31ce1"},"properties":{"dependency":{"package":"@babel/core","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46f4c647844dd4c1d37acfe279e9428045a04cc859ec2d77ebdaed98543aa55d"},"properties":{"dependency":{"package":"deepmerge","version":"4.3.1","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":"b96a35693c293ba5cc8b2c6c0c822ef47b4e31638e02f94827a2b800145271b7"}},{"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":"f38fed9b497a431c766a32d95aabf15634014eab6c6c0aeec601aafde408c114"},"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":"8ddb2bd1834f2c392716c1e6152d8160b94c13de7869730edd7e7beb1fd87ed9"},"taxa":[{"id":"CWE-527","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-538","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"1ef84c87cddd27372c5570ec9a5e5443d0c5f3c3e8b28f37f71e49d4295095c7"},"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":"cabfa4f2c39b43a94c4e8fa5a22deff2459ed1c6b5b91e179bff35ee1f44cf05"},"taxa":[{"id":"CWE-527","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-538","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"662d8ff1b9afa617b53d1f4a022871bdc79bfec9eff1abe2776b24eed6f9639b"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ed2d8f4461846963c9d80daf3918e3859efc85a2a8099caa2a9ab4be085c9b1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: definitions.py \u2194 runtime.py: \u0060backend/agent/tools/definitions.py\u0060 and \u0060backend/agent/tools/runtime.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) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060d026163f\u0060 Batch image editing and background removal tools in parallel; \u0060e06ff2e6\u0060 Finalize extracted assets directly; stop double-saving them; \u0060c86e453a\u0060 Add screenshot preview tool \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/agent/tools/definitions.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"098ecc1f32b032b245549d0cb913fe51dbd3e0c81c1e4de9c6460c65e2357818"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: pricing.py \u2194 models.ts: \u0060backend/costs/pricing.py\u0060 and \u0060frontend/src/lib/models.ts\u0060 change together 71% of the time (12 of the 17 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 12 shared commits counted here, the most recent 3 are \u0060ba12de71\u0060 Switch image-create defaults to Opus 5.5 and GPT-6.1 Sol; \u00606f89000f\u0060 Add Gemini 3.6 Flash model variants with pricing and tests; \u0060457a1782\u0060 Add Claude Opus 5 model variants with effort-based configuration \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/costs/pricing.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71f3c76ac130fd1f5be203a8271eacb16dc45e228881fe21ba257fbfce3ca4f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: llm.py \u2194 models.ts: \u0060backend/llm.py\u0060 and \u0060frontend/src/lib/models.ts\u0060 change together 68% of the time (30 of the 44 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 30 shared commits counted here, the most recent 3 are \u0060ba12de71\u0060 Switch image-create defaults to Opus 5.5 and GPT-6.1 Sol; \u00606f89000f\u0060 Add Gemini 3.6 Flash model variants with pricing and tests; \u0060457a1782\u0060 Add Claude Opus 5 model variants with effort-based configuration \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/llm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a146e5b2d91a73069ac6c06e9267ddafdb1cfaca72d8c87dbe5e8ec09a5c4047"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/evals/report-json.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b7e1b83c3abc56bd00868d9c36bcfdac1528b5e598774c441054f088c7d5e3"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/history/HistoryDisplay.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4df7196f7f203ccb12032b3cce987624d60357b5159ade7d3bf22d84fdbf257"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/sidebar/Sidebar.tsx"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f18d36e31fe7eac20a93152f058ce1b5766f00af481fb799cec147747dfac7"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/unified-input/tabs/UploadTab.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a9547eae01aa8325e1306e2c60020385b32eec66ea1cb9ef00dda158f4b71a"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it 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":"frontend/src/components/ImportCodeSection.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ba9bacfc993b79f9dea4ce61a635484bd06dda11525e57c8db3f5d27fdfa02"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/UpdateImageUpload.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b7c83021c2fce362b68f774a5e2de7f18c31e4ab1dd922fe209ca6efeb6235"}},{"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":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e91ebfc33c1276521baa3cd0bca7ac484855e14f7a80438d33e0cdb032cfa2"}},{"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":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f73d9c2ca1bd4c408e538c1053ebb895337a663dc40cf2cead301485891e47"}},{"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":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2f4059a5e0009be46bbeb6e1912407d6894d1da333e8aac2bb9eeb7b304682"}},{"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":"frontend/src/components/evals/EvalComparePage.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca98180282fe2ded70aecbafeae07ce83614b3691c4bf455ddd3374620b271f9"}},{"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":"frontend/src/components/evals/EvalSessionsPage.tsx"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a98d0e6b2e10d50199c019adb30153af5b623e527552045768e9753e8e928c0"}},{"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":"frontend/src/components/evals/EvalSessionsPage.tsx"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"1203b982f335836fada29700bcfa94256d328387097ace62dc442b9a406c4cd3"}},{"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":"frontend/src/components/evals/EvalSessionsPage.tsx"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"485112787100b297387844436bcd66c086f514edc4dd64d90629b948ab27c9d1"}},{"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":"frontend/src/components/evals/OpenAIInputComparePage.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"135a46d746bfaa3a492df656c2d13d75aa4abc3d0431d4e049f3930c2dd194fe"}},{"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":"frontend/src/components/evals/OpenAIInputComparePage.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa0b556ee42e58ee7aa1ecdf008f04877a0eba72f2d59215ce75d2ca0d8e32b"}},{"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":"frontend/src/components/evals/RunEvalsPage.tsx"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f905795a6f1bea1925f7182715754b065ffde4c879eaf790f42a228a88f20f"}},{"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":"frontend/src/components/evals/RunEvalsPage.tsx"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec85f9d1169d7c230990d1b89f47e6c567a484e8520bd1bc8886de97c31d7ae"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"frontend/src/components/generate-from-text/GenerateFromText.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"191e0439db69e9f9c10b0a2e3e596869bc1b76be68176bb9c77266e73c92f3de"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/history/HistoryDisplay.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5066f2e567b9445aec97eafeb99c0cb2f3b414cdb0f86a37ace85333fed7ae8d"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/settings/DesignSystemsManager.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c7cab3ca6ecd697c8407cc5e14b6f35cd78c36795f922bd14fccb252f0d56b"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it 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":"frontend/src/components/settings/SettingsTab.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"664d7e951aea8fc0324543e1f5f94a14b252ce2bc4fb65b4860f271ec4c715e7"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it 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":"frontend/src/components/settings/SettingsTab.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a49249b81817bd2ad5010bba89b5ba0cfe0ddc4e980d1abbe37442692e773bb"}},{"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":"frontend/src/components/sidebar/Sidebar.tsx"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb289ebee6e2da0403a29227aaa1c678480e64ab95cb03f3a481f7c8649e5060"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"frontend/src/components/unified-input/tabs/ImportTab.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6200f04a2fe75d9c676845c0f5c538a84f58b0e90dc81f854a902cc3c09be36"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"frontend/src/components/unified-input/tabs/TextTab.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe847d7b63ead4b0dcb23033264ef3214831ed83cc0b6aea7afda5d83269eacd"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Ciframe\u003E without a title: An iframe with no title (or an empty one) is announced only as \u0022frame\u0022. Add a non-empty title describing its content, or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed641f4bd1b7446571431969d669fd4f8c8eb8bbb64e58efa04918667bba7d0"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Ciframe\u003E without a title: An iframe with no title (or an empty one) is announced only as \u0022frame\u0022. Add a non-empty title describing its content, or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3184f81a9d7824c88d88519638bfdf3e82b7f6f2fd149af9539726f633d795"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\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":"frontend/src/components/evals/AgentRunsPage.tsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bcf39f6b909776bfe01ee1b76c1178d80ec8f865ca6fbb1155998607de3794"}},{"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":"frontend/src/components/evals/EvalSessionsPage.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f498f93f2b1778d81167de33b360728b1d31ea22f9524fdc6847b99120236fc"}},{"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":"frontend/src/components/evals/EvalSessionsPage.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef7e8a10464ff822ff9746c71dcbd758c6b887743459adb42ca53381cb31e3b"}},{"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":"frontend/src/components/evals/EvalSessionsPage.tsx"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6be07b9a0c952d36b77ab04e27e59dceeffb5c4ff42321fdd47ed5aeec9350e"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\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":"frontend/src/components/evals/InputFileSelector.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbf1ff7f25c09b65121d9cf7b8f98d233d2e0734728e85d1e56949b83171148"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\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":"frontend/src/components/evals/InputFileSelector.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b5092e2b5039ae5789b7f7f21c0415f015ebdadd21368de72ca212b64f395b"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\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":"frontend/src/components/evals/RunEvalsPage.tsx"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"5809ceac8f55e542791ca537e763e8128fede26b47e03c947a851b1d729059dc"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\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":"frontend/src/components/evals/RunEvalsPage.tsx"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"47861878f03bdf426def053a174832099e44a5aeb5f3dae14d2f81eab05f3eac"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\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":"frontend/src/components/evals/RunEvalsPage.tsx"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9415e591e47378c1c7d41c4d67a61dbe21be4559d302d479049244106c27ef"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\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":"frontend/src/components/history/HistoryDisplay.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab112c9389fefdc810e004cc8a792fe134b3ed6687f37172a9620f4b2ebbeb7"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\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":"frontend/src/components/preview/CodeTab.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"50549f7d08b92330129b089d4682498f5a024f37953a311e13741fd37c14333c"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\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":"frontend/src/components/variants/Variants.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef8ceb647e8fabe88fab8fa713598749d9f700ce8e5fd3a41855bc400e5fe32"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.4: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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9922bde26e2851c210f71260b2e937b7717bd22f37fec1505802ec34fd0b34"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.4: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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac546b74a310f115d9fef11e5f259041d51008f27f2ca1343567223e364a1e0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.4: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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"0376d7980ed69dfcf033ad61bc60fd121ab4412dadd67b22efc6b336693c1b45"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.6: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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9557765ec6615566997841679adff479f4536d18d26c9a85c1f3ea82e19fac"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.4: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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"1caeec46858b2223f2e9987601694b95db2f2d73f30897b92351737fe70a5cf3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.4: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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d54b9544fe7071ebdb4dd8d20f6b1a267b7b86bffd4eb583d3c2ab2923e73f6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.4: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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31e1a2e2020d5b7a3d783f8eb2da6f1af3bc9a74ab1f53fb7bec8873004a243"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.4: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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"5972fa4617dc7da53a78d029dd5c3971e0c99c8ba09ae8232295796d901dedfc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.4: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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7854729217da68378850d435223e1c31f4b4092cd18c4f3e7f08744c2e4367"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.4: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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccacef4a753cc7d0c92e9ff4c708bdfb89ccc61f91c39d51e49c3f49c5f7da70"}},{"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":"frontend/src/components/core/Spinner.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"710fef558e84472039f252920921152d5fa775c6c8f22048e6296243b4846018"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its \u0060animate-bounce\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":"frontend/src/components/core/WorkingPulse.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fb1631589dd9ca5b26823d2df1aebcee9398ac293d34052a2e201d0f7013de"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its \u0060animate-bounce\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":"frontend/src/components/core/WorkingPulse.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eef7efb8272939d1ee16858eda142b400ebfcb9cdbf337bdd04f2054272f433"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its \u0060animate-bounce\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":"frontend/src/components/core/WorkingPulse.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"15293606163a8fbec54aebf700ae731a9c482cabfe166fe805396476a27e3824"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\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":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"337dada78cd67ce50533bccf4c19f4db277a9516b2dbfc30ea9d103ea778dddc"}},{"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":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6ee6c9640adf31f8cf827f41a76addb7fe1f0489bad5ffd2d552379ed42b28"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\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":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4bef2268cd683eccaff34b8b495a909ff15a941cb166c803343fa139ffbf1c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\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":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6de2c279f51d9e30f7598f23e9e404d9cd54e3392f43b378ea0b63a3f695d0e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\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":"frontend/src/components/evals/OpenAIInputComparePage.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3161c1d3b8d67792c87a7327e1f86f6efca6608f514c2cafdc7f5cd5a3751afc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\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":"frontend/src/components/evals/OpenAIInputComparePage.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c2f01c56c0032e8fa1bb5fb827fca96095bb066048b740011c1994a4657a64"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.8: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":"frontend/src/components/evals/RatingPicker.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"439873bb8c4b6dba0a1748ee72998e38ace73060a51b7d18ac20549834ba354e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\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":"frontend/src/components/evals/RunEvalsPage.tsx"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29549f004c3c34c516f5eff91135f900bb615481e8f13daaf7e5e416a65ef8e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\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":"frontend/src/components/evals/RunEvalsPage.tsx"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eca2591562a2706224e8929857f35e556fa94dd4db0cb77ffab373969fa4022"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.1: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":"frontend/src/components/evals/agent-run-tool-preview.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d3c49ba3496b3c3fa36ab1fa3654118d3b88cec344f9b1f732423ce8306308"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.4: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":"frontend/src/components/history/HistoryDisplay.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94dc4b8510b9f37f686de89c54e600e67938a228c0f824e70841a15dea4547b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.6: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":"frontend/src/components/history/HistoryDisplay.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f76afac4c4a246f98193ec9ae042c1c9c4652209c4adfcd9bf30551dbf8309e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.0: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":"frontend/src/components/messages/OnboardingNote.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6864d80469e92a35f556991e29263538d03fcd6fd40688b9322eaa7e2b5055"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\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":"frontend/src/components/sidebar/Sidebar.tsx"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37d361b67b32e0e37ef4048e513a86bf03b46950da2e457b2b2e4c20c7ad2c0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.1: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":"frontend/src/components/sidebar/Sidebar.tsx"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b31c2e63e100931ed3adde65d870cf9c4d6ab62f49d1764872ac1202bfb8b1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: flash 1s ease-in-out infinite\u0060 \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":"frontend/src/components/thinking/ThinkingIndicator.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dae1ca14018eb5881b361a211f1734c64806cc714594fcb64a41e238e308438"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.4: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":"frontend/src/components/unified-input/ScreenshotToCodeControls.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6abc5d99ce635ab9577db03f65508c5391500adcbf10f1f7418b5061ffa3eca2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.4: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":"frontend/src/components/unified-input/ScreenshotToCodeControls.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"769262a5c54530d12d7ecd93d9dad7ef94580cc012caae65c8a2ecb6e23b7177"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.4: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":"frontend/src/components/unified-input/ScreenshotToCodeControls.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa61447f6457e01396541535336e899f71b6d53de89a01ac93c53e77681b0b93"}},{"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":"frontend/src/components/unified-input/ScreenshotToCodeControls.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f9b005ce9b1ed617430cf1d097b47416e4bb51bb5efea1e0295567e6385392"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.4: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":"frontend/src/components/unified-input/tabs/UrlTab.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8e63577f7da6d4207566c09a423263d09471391b30f06c27e327afaa46a824"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.scanning::after\u0060 moves (\u0060animation: scanning 3s 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":"frontend/src/index.css"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8ebeb6d95a383598c315ad71dc75d8612c21bbee5a6dc0d00d1d476f5b4899"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.active-step-shimmer\u0060 moves (\u0060animation: searchlight 5.5s 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":"frontend/src/index.css"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"11af5d6c0b13eed66c4fcbf0f263475841ab007d07f69978d303f2fe21d1a21e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060:is(.dark) .active-step-shimmer\u0060 moves (\u0060animation: searchlight 5.5s 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":"frontend/src/index.css"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9eb06aea7174b117c915065a5a0400d1416bae089910b5a181d917345524e8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.working-indicator-bg\u0060 moves (\u0060animation: workingGradientSlide 4s 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":"frontend/src/index.css"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdea8fcd72791920f5e0b4212dd30433d7ab75041330257f934cccb30395900"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s javascript-typescript pack, \u0060semgrep --config=p/typescript\u0060, or eslint-plugin-security \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 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":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060frontend/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":"frontend/package.json"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bd665d85b8ea73f9fb446e925b770ca0b54168372ede30b98fb6d338256ca5"}},{"ruleId":"P4","level":"note","message":{"text":"No rollback/health safety: Deployment is orchestrated by compose, but no service declares a \u0060healthcheck:\u0060 and nothing pins a previous image to fall back to \u2014 the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"db6bab8a28a2145f47e5a4e6683cda39d2ba0296c723238e8057da979ae1c706"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.AsyncClient(\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":"backend/image_generation/replicate.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce8dc55f2cfb21258bc4b64ae070d48e325f2b1e71ef125a2887dd3019db8ac"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060aiohttp.ClientSession(\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":"backend/run_image_generation_evals.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"2639fafdeb761213546a53789b8c00fc848104fc43316043088fc9678c106214"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 7 sibling directories (7 clone groups): 7 duplicated blocks under frontend/src/components/ have copies in at least two of the sibling directories agent, evals, generate-from-text, settings, sidebar, start-pane (\u002B1 more sibling(s) not listed) \u2014 4 of them are reported below, and 3 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":"frontend/src/components/start-pane/StartPane.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"720e99b52651348506229a830ed01b6afaa40ab078d618159beb0f3412fd0244"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (185 matched lines \u00D7 2 locations): frontend/src/components/evals/AgentRunsPage.tsx:169 \u00B7 frontend/src/components/evals/PromptReportsPage.tsx:133 \u2014 the two spans are one implementation copied and then locally edited \u2014 991 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":"frontend/src/components/evals/AgentRunsPage.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94f621bc8ddc52d87c029c81cd1811e035cce7e57b9af102ece2e6bf82d230e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (65 matched lines \u00D7 2 locations): frontend/src/components/ui/alert-dialog.tsx:7 \u00B7 frontend/src/components/ui/dialog.tsx:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 307 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":"frontend/src/components/ui/alert-dialog.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1970e899bcad825a362947ce5d0708b30e9cdc9b3b62ee4e7605c403f709d1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (51 matched lines \u00D7 2 locations): frontend/src/components/evals/AgentRunsPage.tsx:69 \u00B7 frontend/src/components/evals/PromptReportsPage.tsx:55 \u2014 the two spans are one implementation copied and then locally edited \u2014 351 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":"frontend/src/components/evals/AgentRunsPage.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"006779427e020b349bfddd2e731b3f0dfe842ace991907e386c63ee69b1dff91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (50 matched lines \u00D7 2 locations): frontend/src/components/unified-input/tabs/ImportTab.tsx:34 \u00B7 frontend/src/components/unified-input/tabs/TextTab.tsx:36 \u2014 the two spans are one implementation copied and then locally edited \u2014 223 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":"frontend/src/components/unified-input/tabs/ImportTab.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f18be738a28d1fef9cc0b02a68c721c58daf09ce131dfd41adbe39a38ff172"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): frontend/src/components/evals/EvalComparePage.tsx:17 \u00B7 frontend/src/components/evals/EvalSessionsPage.tsx:18 \u2014 the 2 copies are spread across 2 files, 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":"frontend/src/components/evals/EvalComparePage.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecc8562ae217b89f645c28db9cdfb2cea517d380a2d9d50ce11ee0434c65774"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (28 matched lines \u00D7 2 locations): frontend/src/components/UpdateImageUpload.tsx:9 \u00B7 frontend/src/components/sidebar/Sidebar.tsx:109 \u2014 the two spans are one implementation copied and then locally edited \u2014 175 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":"frontend/src/components/UpdateImageUpload.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1e8edb7978208e571cf372b7b9dce52c3ea2430f88df96c9cdbb3874623936"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): frontend/src/components/agent/AgentActivity.tsx:203 \u00B7 frontend/src/components/agent/AgentActivity.tsx:230 \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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f35f2c284fba22a4e6324d62e5a76348d10b937e876b640a92ac3629a119c4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): frontend/src/components/settings/SettingsTab.tsx:136 \u00B7 frontend/src/components/settings/SettingsTab.tsx:203 \u2014 both copies are in the same file, so extract the block 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":"frontend/src/components/settings/SettingsTab.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0466c46bc474363b8666a88e6151ff0d261f32306c7a319bd58507e5fddf3290"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): frontend/src/store/project-store.ts:380 \u00B7 frontend/src/store/project-store.ts:402 \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":"frontend/src/store/project-store.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7608fde6eae1ebb039f779f6dd5f4888bdc38379f29c88a526a429f9acd6c72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): frontend/src/components/agent/AgentActivity.tsx:926 \u00B7 frontend/src/components/agent/AgentActivity.tsx:965 \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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"248380fe25d9008f1b594f143ef87bdd4bb30579a6a82e9354508059287488b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): frontend/src/components/evals/BestOfNEvalsPage.tsx:541 \u00B7 frontend/src/components/evals/BestOfNEvalsPage.tsx:563 \u00B7 frontend/src/components/evals/BestOfNEvalsPage.tsx:612 \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":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d7615423ceeaf8617684c2df5ed8c2684be4465c45264bf1fa1fb0e3992513"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): frontend/src/components/unified-input/UnifiedInputPane.tsx:156 \u00B7 frontend/src/components/unified-input/UnifiedInputPane.tsx:175 \u00B7 frontend/src/components/unified-input/UnifiedInputPane.tsx:195 \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":"frontend/src/components/unified-input/UnifiedInputPane.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7301153542d2171bfd9b83c5547056c3da0ea102c71053c78eae88e140497f30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): frontend/src/components/evals/AllEvalsPage.tsx:20 \u00B7 frontend/src/components/evals/AllEvalsPage.tsx:40 \u2014 both copies are in the same file, so extract the block 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":"frontend/src/components/evals/AllEvalsPage.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"60228aef9373d70edd9394a031a4a36ce9f9c9fbaf0e2b9d0b9e7f5961895330"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): frontend/src/components/ui/select.tsx:51 \u00B7 frontend/src/components/ui/select.tsx:68 \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":"frontend/src/components/ui/select.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"570265a564d72b7830d58662c702f7d7536c1e26ff06c47a769407016eb7f35f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): frontend/src/components/evals/agent-run-tool-preview.tsx:194 \u00B7 frontend/src/components/evals/agent-run-tool-preview.tsx:352 \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":"frontend/src/components/evals/agent-run-tool-preview.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d4577e21e6e271924c7253046ac63befe11671a9510f74876202dcf17b4856"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): frontend/src/components/generate-from-text/GenerateFromText.tsx:19 \u00B7 frontend/src/components/unified-input/tabs/TextTab.tsx:29 \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":"frontend/src/components/generate-from-text/GenerateFromText.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"317a1702cfe4ca58b455006e6bb914ec2e29c5e2f8b8062142daeef3544d886b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): frontend/src/components/settings/GenerationSettings.tsx:24 \u00B7 frontend/src/components/unified-input/UnifiedInputPane.tsx:39 \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":"frontend/src/components/settings/GenerationSettings.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"546d67a5a11a1de0c25f10b8c0699ec64d3acda8d14b08d3951a6590e814a97a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): frontend/src/components/evals/agent-run-tool-preview.tsx:168 \u00B7 frontend/src/components/evals/agent-run-tool-preview.tsx:196 \u00B7 frontend/src/components/evals/agent-run-tool-preview.tsx:354 \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":"frontend/src/components/evals/agent-run-tool-preview.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3d9937881bc434c105c050f97139462607e1d986249049346c1803a2accf62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): frontend/src/components/settings/DesignSystemsManager.tsx:93 \u00B7 frontend/src/components/settings/DesignSystemsManager.tsx:119 \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":"frontend/src/components/settings/DesignSystemsManager.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea192be80ec86eb9034e3259041f76360290e6128354e4b4ab4939a73d77408"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): frontend/src/components/settings/SettingsTab.tsx:170 \u00B7 frontend/src/components/settings/SettingsTab.tsx:238 \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":"frontend/src/components/settings/SettingsTab.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb8adfc98452e4c203171143f4463441491ba3337e91965c32304c40ce25a50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): frontend/src/components/ImportCodeSection.tsx:23 \u00B7 frontend/src/components/unified-input/tabs/ImportTab.tsx:21 \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":"frontend/src/components/ImportCodeSection.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d554d308a97287aa0fdba3a0948232053352cccb42601977d8fcf6cf050a1f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): frontend/src/components/settings/SettingsTab.tsx:248 \u00B7 frontend/src/components/settings/SettingsTab.tsx:326 \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":"frontend/src/components/settings/SettingsTab.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"2104a9a093bdb7a721dc2cb92c56860723f1a0d05ed30f9379cd971ccc9d3d04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/App.tsx:478 \u00B7 frontend/src/App.tsx:489 \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":"frontend/src/App.tsx"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ca85bbc194ee708ed7c46302afc4acc12fdb09c70703fa1d9ad690bbbcbf65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/components/agent/AgentActivity.tsx:511 \u00B7 frontend/src/components/evals/agent-run-tool-preview.tsx:264 \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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03a61618b1c2bd6b7bc273149c2e9b017ee0085050852a29f42919dfa16efb5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): frontend/src/components/evals/agent-run-tool-preview.tsx:126 \u00B7 frontend/src/components/evals/agent-run-tool-preview.tsx:171 \u00B7 frontend/src/components/evals/agent-run-tool-preview.tsx:199 \u00B7 frontend/src/components/evals/agent-run-tool-preview.tsx:357 \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":"frontend/src/components/evals/agent-run-tool-preview.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fd2e760b12a9a4673ce88ecefb3967af1d742f700ab0d627c44f3feeae2383"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): frontend/src/components/agent/AgentActivity.tsx:384 \u00B7 frontend/src/components/agent/AgentActivity.tsx:425 \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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"573a3c11bea6bd425446fb507c60e5fd558469baf0444598357a2af1beca37ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): frontend/src/components/preview/PreviewComponent.tsx:235 \u00B7 frontend/src/components/preview/PreviewComponent.tsx:263 \u2014 both copies are in the same file, so extract the block 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":"frontend/src/components/preview/PreviewComponent.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a51e55a8545d63327821d0969156c0365035123986172e00e4a92eca2e1991"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): frontend/src/store/project-store.ts:156 \u00B7 frontend/src/store/project-store.ts:210 \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":"frontend/src/store/project-store.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e0ebb75ecac995111c40ef6a354b64fef5958206b2175e00351ef3dccd014e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): frontend/src/App.tsx:374 \u00B7 frontend/src/App.tsx:384 \u00B7 frontend/src/App.tsx:394 \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":"frontend/src/App.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cdbc0277c4371c61a5da6c8f48c4d87ac301bd5db6e2ce6e9629eb16bfb84f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): frontend/src/components/evals/BestOfNEvalsPage.tsx:52 \u00B7 frontend/src/components/evals/BestOfNEvalsPage.tsx:359 \u2014 both copies are in the same file, so extract the block 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":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f6401044d9f135739757084324c4951f0a476c2016cbaff603fa741b1bfab1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): frontend/src/components/evals/EvalComparePage.tsx:202 \u00B7 frontend/src/components/evals/EvalComparePage.tsx:220 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 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":"frontend/src/components/evals/EvalComparePage.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07894409f63a3f1e7186c1172e5f7fe582fe00db75a9304a1683e0f096aa49d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): frontend/src/store/project-store.ts:229 \u00B7 frontend/src/store/project-store.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":"frontend/src/store/project-store.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d359da25a9e4e9614950f91d0425542eccb70f88e537113e23d46ca8cc1cd5b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): frontend/src/components/evals/image-lightbox.tsx:169 \u00B7 frontend/src/components/evals/image-lightbox.tsx:183 \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":"frontend/src/components/evals/image-lightbox.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f06be6f4abeba16103886134f4386bf7e59e9938254d4eec4af91f935529630"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): frontend/src/components/agent/AgentActivity.tsx:446 \u00B7 frontend/src/components/agent/AgentActivity.tsx:677 \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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eaa4ce634b6000326b0d3790d8f2f699a290a842a619e5eb76fee1a7039a073"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): frontend/src/components/ui/accordion.tsx:5 \u00B7 frontend/src/components/ui/tabs.tsx:4 \u2014 the 2 copies are spread across 2 files, 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":"frontend/src/components/ui/accordion.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8948b9629231f2e6c4fd7a6ac1cfa2e3c7b0715c1c85fa0a81174f608e5822b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): frontend/src/components/ui/progress.tsx:6 \u00B7 frontend/src/components/ui/scroll-area.tsx:6 \u00B7 frontend/src/components/ui/select.tsx:31 \u00B7 frontend/src/components/ui/select.tsx:130 \u2014 the 4 copies are spread across 3 files, 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":"frontend/src/components/ui/progress.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ced7efff9c7c24fbd2933d68d22125079d512b5f9b00e6546ab5e014210e85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): frontend/src/components/ImageLightbox.tsx:58 \u00B7 frontend/src/components/ImageLightbox.tsx:91 \u2014 both copies are in the same file, so extract the block 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":"frontend/src/components/ImageLightbox.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"05174d569762b73340458f7824eeaedeec5b9f6aa73cb476bad65f15ec2a4406"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): frontend/src/components/agent/AgentActivity.tsx:997 \u00B7 frontend/src/components/sidebar/Sidebar.tsx:285 \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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16cadf5e165ef895379361cc06de105c0bd69d63867f94cb096003d514f52b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): frontend/src/components/evals/BestOfNEvalsPage.tsx:32 \u00B7 frontend/src/components/evals/EvalComparePage.tsx:94 \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":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d420f3da0c9f367e02ec346e46021522b9a5f07a03a74502cf30194840ba1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): frontend/src/components/agent/AgentActivity.tsx:664 \u00B7 frontend/src/components/agent/AgentActivity.tsx:720 \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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"7663532d4a864fae246c08dfe43c0c23210eec067c59ac398792c2241962a8dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): frontend/src/components/evals/EvalSessionsPage.tsx:167 \u00B7 frontend/src/components/evals/OpenAIInputComparePage.tsx:29 \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":"frontend/src/components/evals/EvalSessionsPage.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"8890e65c3e8761be173db5a564ee8170f20df83a60783bb343a9fe4b78eae9f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): frontend/src/components/evals/image-lightbox.tsx:121 \u00B7 frontend/src/components/evals/image-lightbox.tsx:126 \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":"frontend/src/components/evals/image-lightbox.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e35a88a4131d79cc695b6d17c407116be04a07d984de5cbe1956916b06e2611"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): frontend/src/store/project-store.ts:364 \u00B7 frontend/src/store/project-store.ts:395 \u00B7 frontend/src/store/project-store.ts:417 \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":"frontend/src/store/project-store.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"917f954746e83376f3c10804a4f628bb16f502d82bbcd89c3c38dda458168d8a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/components/agent/AgentActivity.tsx:25 imports react-syntax-highlighter/dist/esm/languages/hljs/xml, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"29013b715573e187e1b8ff7d4594e85a94b3cd14dff4b0d0984a226e0b683b9e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/components/agent/AgentActivity.tsx:26 imports react-syntax-highlighter/dist/esm/styles/hljs, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"388b219cb353f7b87d86154b3d6cc5b15b6cc2f43af9744d9b431c9bdcd2861d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/components/evals/agent-run-tool-preview.tsx:2 imports react-syntax-highlighter/dist/esm/languages/hljs/xml, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/evals/agent-run-tool-preview.tsx"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac0c102aef2020df8d0e712b08e6e290de126dc9a2efb2bf1d08248408908e1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/components/evals/agent-run-tool-preview.tsx:3 imports react-syntax-highlighter/dist/esm/styles/hljs, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/evals/agent-run-tool-preview.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c9f4a8d1e3b1b85eed2f932b1eeb92d53144d9985625c66520401212357346"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Sidebar (cyclomatic 69, cognitive 57): Sidebar has cyclomatic complexity 69 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":"frontend/src/components/sidebar/Sidebar.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"09067ab85daaddc63d6cbf97426ff202048fcd523e2365aa5c9300dcc5ecee3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderToolDetails (cyclomatic 69, cognitive 40): renderToolDetails has cyclomatic complexity 69 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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"0089972e61a9e3c97e244a1ad0650a6d3818f50d8cdcec1e9e8f0ede2674ed4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEventTitle (cyclomatic 55, cognitive 118): getEventTitle has cyclomatic complexity 55 and cognitive complexity 118; 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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1d65b6134b290abfb34966401437e4ba0c0a2b41b4cbc423e2144edd097a35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runEvals (cyclomatic 41, cognitive 62): runEvals has cyclomatic complexity 41 and cognitive complexity 62; 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":"frontend/src/components/evals/RunEvalsPage.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa381d643ec50a91c6e3d2bc814d25533bc3819ffa2725c45d31f4bc8561686d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunEvalsPage (cyclomatic 32, cognitive 27): RunEvalsPage has cyclomatic complexity 32 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 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":"frontend/src/components/evals/RunEvalsPage.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"644f9adccc423d1520c1e12acf7a84177a08bb87d80ac5069584dea6ea37565d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PreviewPane (cyclomatic 32, cognitive 26): PreviewPane has cyclomatic complexity 32 and cognitive complexity 26; 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":"frontend/src/components/preview/PreviewPane.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd676b8a9f065f38b93d0bda775763ef268d231af6094c72b60f218ca0943bd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function App (cyclomatic 29, cognitive 23): App has cyclomatic complexity 29 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":"frontend/src/App.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba6bacb9bb50a56659f107fbfdcc334268a55ca5d751c801e799a91e8374b27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolPreview (cyclomatic 27, cognitive 33): ToolPreview has cyclomatic complexity 27 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 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":"frontend/src/components/evals/agent-run-tool-preview.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce924f96f51f3aa99a63398e4c10d6b8ba9818f9e69f7ef315a8a707e0e5fe5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ThinkingIndicator (cyclomatic 26, cognitive 24): ThinkingIndicator 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":"frontend/src/components/thinking/ThinkingIndicator.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5566d454bdabe9dad9748870171e0f309b8fc8f56de6cad0553fe6fd41e30d08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentRunsPage (cyclomatic 23, cognitive 17): AgentRunsPage has cyclomatic complexity 23 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":"frontend/src/components/evals/AgentRunsPage.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1273f11673c3dba3e2d091f2e9e093869f13b8e0ab3642836b488a0e48a656d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 21): (anonymous) 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":"frontend/src/generateCode.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8261f9b58f5f90a7c15d5efd5f8ab354ab00b4e930ce62b770df6a6d78b7e76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EvalSessionsPage (cyclomatic 20, cognitive 15): EvalSessionsPage has cyclomatic complexity 20 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":"frontend/src/components/evals/EvalSessionsPage.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed6a5f0b0f6f7b4c83fef6ea230421db0faeeec2a68ad4bf66e9347318ba3f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EvalComparePage (cyclomatic 18, cognitive 16): EvalComparePage has cyclomatic complexity 18 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":"frontend/src/components/evals/EvalComparePage.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad7431112ecf5e85ec01aeaa89bbe62b6dfc90aa14dad0ee2512ce7008c9fe4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 19): (anonymous) has cyclomatic complexity 17 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":"frontend/src/components/unified-input/tabs/UploadTab.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f5d36c23d1d74424f69e0a6020b5f6efdfe674c9886cc600f8754247bf259f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PromptReportsPage (cyclomatic 17, cognitive 12): PromptReportsPage has cyclomatic complexity 17 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":"frontend/src/components/evals/PromptReportsPage.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f92f5925b7b68eed8adca3095af54cbd12df583d3912462e8e1d490c9607a64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StepCard (cyclomatic 16, cognitive 14): StepCard has cyclomatic complexity 16 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":"frontend/src/components/evals/agent-run-timeline.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7935ccfe057fe5e100411065b3285c642fde939fbf12c23e4c17db15779f1f91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyDown (cyclomatic 15, cognitive 16): onKeyDown has cyclomatic complexity 15 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":"frontend/src/components/evals/image-lightbox.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9b806502fb4f9ad7f1d62734b8050b6d177e660f9c3970be4ddfcd02f46276"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyDown (cyclomatic 15, cognitive 15): onKeyDown has cyclomatic complexity 15 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":"frontend/src/components/evals/EvalComparePage.tsx"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a65410b3b1fcf512f426ff94c2b6fccc614d28299f901b812fb80c00ba2b93"}},{"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":"frontend/src/components/history/HistoryDisplay.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44e2fb68cac7805df178dbe2f85f6e0283a3ee671075c4b4ac7a4f796164e3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mediaFromValue (cyclomatic 14, cognitive 21): mediaFromValue 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":"frontend/src/components/evals/report-json.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30d6a3304401582c167022b11eed4e76b6eb77ff963dc571a6447504fbe8d6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function groupEvents (cyclomatic 14, cognitive 19): groupEvents 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":"frontend/src/components/evals/agent-run-timeline.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e156c1ded2e7e0bcf215e9825519b0363a1eaac75b4914fac593779a4e446039"}},{"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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03fd8910e8bf9957795d80d4e6659f83330cf55e75f0a60698aff8770fb5995"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function JsonNode (cyclomatic 14, cognitive 13): JsonNode 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":"frontend/src/components/evals/report-json.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c130a1adc909c12d11a4a41eb1bae04aefb9824a05410bca208c57f0e4f55a13"}},{"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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f390ba06423fb29d73fe2694e6705d15771cd2d3764dd631965e1ff2bbe40c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BestOfNEvalsPage (cyclomatic 13, cognitive 12): BestOfNEvalsPage 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":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a342e102aa1f0acc91c2b3e5e455b805c3121da7c29e2495e07a60795c62ad22"}},{"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":"frontend/src/components/evals/agent-run-tool-preview.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"074fff9d76e42daeb1aed4eb503a1f09165b5ddfeffcb92a3fc94cda67fa80a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEventIcon (cyclomatic 12, cognitive 11): getEventIcon 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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"61715f5154df6751be5c25a2fbcd6ae2202b7d54b28879a0cdd7f8d33469c7e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentActivity (cyclomatic 12, cognitive 11): AgentActivity 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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bb92a72d5be8e27ee26d7f2eea13f1ce6d16d5f5edb17eb721434315108162"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UploadTab (cyclomatic 12, cognitive 10): UploadTab 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":"frontend/src/components/unified-input/tabs/UploadTab.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e90078c02d8906cad2a8920cd27168bb6e90eb96371759323ed955c9476e79e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentEventCard (cyclomatic 11, cognitive 10): AgentEventCard 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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"724f9155f683bb5660b262cfe2082ea5ac9b4bb21d85b0a810423a185197c788"}},{"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":"frontend/src/components/evals/agent-run-timeline.tsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"737f7556194010f627d10ab82480c68562441b96ea91091d75e66edce09c3ee5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DesignSystemsManager (cyclomatic 11, cognitive 10): DesignSystemsManager 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":"frontend/src/components/settings/DesignSystemsManager.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1987dedafe2229412e735c4c90773d039dc4c569e18424e591507835f840c484"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SettingsTab (cyclomatic 11, cognitive 10): SettingsTab 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":"frontend/src/components/settings/SettingsTab.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a9106813600debf39b2ac21a684ec6c7545ad3229f3db5c8b8ae7737ecff94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ScreenshotToCodeControls (cyclomatic 11, cognitive 9): ScreenshotToCodeControls 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":"frontend/src/components/unified-input/ScreenshotToCodeControls.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac4ab97a230e99848a1fe28e1a82da1b3062b5465b3bae9a3aa2f6cbcf236fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 11, cognitive 9): handleKeyDown 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":"frontend/src/components/variants/Variants.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d33d70509386beff9c90fded1b2de892719e28f044b6bb839ab05f3d7559e59"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/agent/AgentActivity.tsx: 1076 lines of code: frontend/src/components/agent/AgentActivity.tsx has 1076 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":"frontend/src/components/agent/AgentActivity.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"165667d2f53927184d073dad416703c0be36cae6823e511d086db5035ea1c481"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/App.tsx: 898 lines of code: frontend/src/App.tsx has 898 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":"frontend/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e7f4f827fb5976bb95b3154f0ea5e644bdbafd782d2560fa8e768b90aa35e1"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/evals/BestOfNEvalsPage.tsx: 877 lines of code: frontend/src/components/evals/BestOfNEvalsPage.tsx has 877 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":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79364022fbc34fafd02c6b261a139234fbad4bb58f75fc861687fdc700ac4d91"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/evals/RunEvalsPage.tsx: 685 lines of code: frontend/src/components/evals/RunEvalsPage.tsx has 685 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":"frontend/src/components/evals/RunEvalsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4184e13b24c80fd2d09295d50e6fa5392e28d636170df0bdf4b0c865903c2c9c"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/evals/EvalSessionsPage.tsx: 677 lines of code: frontend/src/components/evals/EvalSessionsPage.tsx has 677 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":"frontend/src/components/evals/EvalSessionsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38048855217454b719c18bee0bc80bb19391a3f4d3486981f22bc94b85a590fb"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/sidebar/Sidebar.tsx: 585 lines of code: frontend/src/components/sidebar/Sidebar.tsx has 585 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":"frontend/src/components/sidebar/Sidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0456fb482e09c88fe61c7b1730309552ab58f0c3a79cd1b530e7a35a397cda"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/evals/AgentRunsPage.tsx: 522 lines of code: frontend/src/components/evals/AgentRunsPage.tsx has 522 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":"frontend/src/components/evals/AgentRunsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf70a14f3c93881bfd271ef23c984d3beb10204d698dffb5e987b8a5aba13a31"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/evals/EvalComparePage.tsx: 487 lines of code: frontend/src/components/evals/EvalComparePage.tsx has 487 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":"frontend/src/components/evals/EvalComparePage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb33f6e9090014d95a54ddfffa9f23e5c5561b86b81adc35251ca45beb2d39d8"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/unified-input/tabs/UploadTab.tsx: 455 lines of code: frontend/src/components/unified-input/tabs/UploadTab.tsx has 455 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":"frontend/src/components/unified-input/tabs/UploadTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8b1f9e3fbb604b8457153537b7ee805567099b2aa8411c20e23336d591c1d8"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/store/project-store.ts: 444 lines of code: frontend/src/store/project-store.ts has 444 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":"frontend/src/store/project-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"260df5d8f0225e825a166dc214985159c1d22f64f49aaff4e859af66f877f41c"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/evals/agent-run-tool-preview.tsx: 431 lines of code: frontend/src/components/evals/agent-run-tool-preview.tsx has 431 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":"frontend/src/components/evals/agent-run-tool-preview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84437558ce8ca347e2b0c149a7c80fcd4ac802371d3612dff0692598f27f68b"}},{"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":"frontend/src/components/thinking/ThinkingIndicator.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb82356b078170ae1c153a4534fe399cf91576786ddf46829dd5e5f5284f6c6c"}},{"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":"frontend/src/components/ImportCodeSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9d23dfa77e2896d649e02ea8d7019904699d58ddd46c13cbacc4dad8587710"}},{"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":"frontend/src/components/generate-from-text/GenerateFromText.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4920f1b257f9d486f9d09c4adac8d4df003905e6278b50b8e6746f25c9e4bc5"}},{"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":"frontend/src/components/settings/GenerationSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7570a65c55f3774627fb198a5c270f1ad2c0b15ba4d3a7f885bbdc00cce1db3e"}},{"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":"frontend/src/components/ui/accordion.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09e10695cf043ec3ca6c5648bc8ca71b50752f83744bd9e06bc4a3c4876768e"}},{"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":"frontend/src/components/ui/scroll-area.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71d1c839d17154a73d712606733e56d18ff6c5046234cacfcae8400dacd56bb"}},{"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":"frontend/src/components/ui/badge.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89542d07cbee0cbe047ad58d35540d7387b3fa9996001aeca283d7408d72645"}},{"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":"frontend/src/components/evals/RatingPicker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eea1d0dce1d743c5cb8ca1e96b461c4ae3bab54bf9fa91e6dfb4e5de1430797"}},{"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":"frontend/src/components/ui/popover.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bb2c1904a6e4d0783633394bcd142937eae90b80b94cc99be084e370301588"}},{"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":"frontend/src/components/ui/separator.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf1569812a0ff00fdaac39ba3e95e5b993735f3efc6cfac9aca440adcb29db4"}},{"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":"frontend/src/components/preview/CodePreview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0aa6da8b66086346888cb9dda8a18179c7dbf6a7816a4f53409f1e5c995d5bf"}},{"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":"frontend/src/components/ui/hover-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3db28351af011dd49b593859944087efd91cb36ed5d8277ce713d1c87db8806"}},{"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":"frontend/src/components/core/KeyboardShortcutBadge.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"289dd13f94fcec3481ffb181439ce580ac58dd31031557dd6267c11c8c50e4e5"}},{"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":"frontend/src/components/core/Spinner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9faaebd8b20a233e7391bb65493062bd96112ac4539bd69d54a34372aeab988"}},{"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":"frontend/src/components/ui/label.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe4f3a77b29d8ce36f3edcf4ff8a3e1178e76442ff3c42ca341db09671dc1f5"}},{"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":"frontend/src/components/messages/TipLink.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcd9135ab15a99ea947ef0df852fa4f212f98cd0420b1023e587d3735c52bfd"}},{"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":"frontend/src/lib/takeScreenshot.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1e4ee09718e817fe36b68d549fa81ad28cb413bee3dc7766e909338f176fa1"}},{"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":"frontend/src/components/preview/simpleHash.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc8696fd5a2900770db0e67e3ec9557d6367f8bcd43a66a6fa44ce0ca113440"}},{"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":"frontend/src/components/ui/collapsible.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e91bed81b03422d9e4ed2f19f3e5f245b937c92929303e3200738dd75d4aff"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~160 LoC): no import path from any entry point (13 application, 7 tooling, 10 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":"frontend/src/components/thinking/ThinkingIndicator.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad86088584fc65d15b04b4a3d61190c68cdeab37f52ab708a39e1a4b43dfbb57"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~76 LoC): no import path from any entry point (13 application, 7 tooling, 10 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":"frontend/src/components/ImportCodeSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"015f36b1b82664fbf6a4e406601be341cdee48273e78c7efe26dd8c8d1993773"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~72 LoC): no import path from any entry point (13 application, 7 tooling, 10 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":"frontend/src/components/generate-from-text/GenerateFromText.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"454db7ff1a181acf71fc9d665f971b1c4775ae2605c09ed6cb36750286602c14"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~62 LoC): no import path from any entry point (13 application, 7 tooling, 10 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":"frontend/src/components/settings/GenerationSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fadc4bacfcf61d5c747446d44f37e570abaad865c4335c142c16edf5573b80"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~55 LoC): no import path from any entry point (13 application, 7 tooling, 10 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":"frontend/src/components/ui/accordion.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1055458ae54045d970968100b8fac10383aaf1c1a2fe1c7bba280da50c6371c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~46 LoC): no import path from any entry point (13 application, 7 tooling, 10 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":"frontend/src/components/ui/scroll-area.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6012378b00721ab78b3c80f4c6d22bcf380b024c7c57c1f20d8f05c88aa3b067"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~36 LoC): no import path from any entry point (13 application, 7 tooling, 10 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":"frontend/src/components/ui/badge.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1b37a3d39b9635cd735727d8aa6e673d9ca8c3064d3b0ebef753ae01a172fd"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~32 LoC): no import path from any entry point (13 application, 7 tooling, 10 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":"frontend/src/components/evals/RatingPicker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fc7c51032d00d45c25f0036d78bdd6f15dfea48c92d44cfb6b7481d8761e5f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~29 LoC): no import path from any entry point (13 application, 7 tooling, 10 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":"frontend/src/components/ui/popover.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd94ef678bdbd98e3d54247d22166adf1ad25276f975079d570240c4db055ab"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~29 LoC): no import path from any entry point (13 application, 7 tooling, 10 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":"frontend/src/components/ui/separator.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"883cd0912ddbe49c3a0d6a165a5f3e567d8ab4b8e59a32b18d92e97f8a4a1a85"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~27 LoC): no import path from any entry point (13 application, 7 tooling, 10 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":"frontend/src/components/preview/CodePreview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad8833e93144f9b5cc558f40272ff48f174f473ab40271daff4c0b786c9b7f3"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~27 LoC): no import path from any entry point (13 application, 7 tooling, 10 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":"frontend/src/components/ui/hover-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6363c488d3a871d79477d03fb77b779d42d824aa175a103fc4c744bfc437a0"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~25 LoC): no import path from any entry point (13 application, 7 tooling, 10 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":"frontend/src/components/core/KeyboardShortcutBadge.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a4ce6a7720810a4b9a6b1040241ab74132aa21a8fee7955e9208232f2c2080"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~25 LoC): no import path from any entry point (13 application, 7 tooling, 10 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":"frontend/src/components/core/Spinner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e056d47097fe80190417c2210ec2f4c76c858f92028b2cfdde496dfdf8d644b0"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~24 LoC): no import path from any entry point (13 application, 7 tooling, 10 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":"frontend/src/components/ui/label.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"849d151b0bfe8b106a230971c3e2524230f593111c656ec40f5c9007c10ba782"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~16 LoC): no import path from any entry point (13 application, 7 tooling, 10 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":"frontend/src/components/messages/TipLink.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89084de215693ba0bf14ad33c3bf4457694af119b73cd27bdeb2ae134453de39"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~14 LoC): no import path from any entry point (13 application, 7 tooling, 10 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":"frontend/src/lib/takeScreenshot.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfb3115d9678ea0a1d103a64c9435be3d867eb1715068fce060ee21816e15d9"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~10 LoC): no import path from any entry point (13 application, 7 tooling, 10 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":"frontend/src/components/preview/simpleHash.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5680b15937c9d2cd701e50d5987a1d1cce10ed95917e7812114dde9add2a31d1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~9 LoC): no import path from any entry point (13 application, 7 tooling, 10 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":"frontend/src/components/ui/collapsible.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c54de2817b30f0cebe52fd4756f773fa7474e32bea5a5b7d469805fd89bd7d3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027downloadBlob\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/recording/utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dec49f591d4a859005049d1db9db83299f032ff99749d78e6888b2f2acce00"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027fetchDesignSystems\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/lib/design-systems.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a04476a863bd17a02608c107e28784cfbc60e99cdfeba2c7f627a20ac97142f"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027codemirror\u0027: Declared in frontend/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":"bf4c664e77b5bb351b9ff20faae833b20195bca24df367bc7bc39dc0200e64a5"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd699919aa591b262d8f4a07a70eed2e90d52ddb856cc6e42aa98540126b06b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060appState === AppState.CODE_READY || isSelectedVariantComplete\u0060 appears character-identically in 2 files \u2014 frontend/src/components/preview/PreviewPane.tsx, frontend/src/components/sidebar/Sidebar.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":"frontend/src/components/preview/PreviewPane.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6116cea3c87c9f07f1a4538a2a6dbc1a83e993f5a9ec9057c13806a784747f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060appState === AppState.CODING || appState === AppState.CODE_READY\u0060 appears character-identically in 2 files \u2014 frontend/src/App.tsx, frontend/src/components/settings/GenerationSettings.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":"frontend/src/App.tsx"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d5738d685a1d8747eacd0ea0d37baba3a44193af2bb2d4937c6a94ab1550b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.key === \u0022Enter\u0022 \u0026\u0026 (e.metaKey || e.ctrlKey)\u0060 appears character-identically in 3 files \u2014 frontend/src/components/generate-from-text/GenerateFromText.tsx, frontend/src/components/unified-input/tabs/ImportTab.tsx, frontend/src/components/unified-input/tabs/TextTab.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":"frontend/src/components/generate-from-text/GenerateFromText.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6a1b739b6955ed365422d61c8ee18cba66cd44d016f684df08435251ba4484"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060head \u0026\u0026 commits[head] \u0026\u0026 commits[head].variants[commits[head].selectedVariantIndex].status === \u0022complete\u0022\u0060 appears character-identically in 2 files \u2014 frontend/src/components/preview/PreviewPane.tsx, frontend/src/components/sidebar/Sidebar.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":"frontend/src/components/preview/PreviewPane.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ec6e5fbf3dd2668f2f7d702ec5385f85ad6652f5e622e6d84233657e3d3c25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(url, str) and url.startswith(\u0022data:image/\u0022) and \u0022,\u0022 in url\u0060 appears character-identically in 2 files \u2014 backend/agent/engine.py, backend/fs_logging/agent_runs.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":"backend/agent/engine.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5bfebc3cca268829191d0376085ebcfa9dcc7242eb60d0f657f2254fb1803d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not data_url.startswith(\u0022data:image/\u0022) or \u0022,\u0022 not in data_url\u0060 appears character-identically in 3 files \u2014 backend/agent/tools/extract_assets.py, backend/asset_extraction.py, backend/uploaded_assets/store.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":"backend/agent/tools/extract_assets.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffd5439350bf730317917df6ada0284fb68ca99a8f0701a17acacc3085f3cc8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(part, dict) or part.get(\u0022type\u0022) != \u0022image_url\u0022\u0060 appears character-identically in 2 files \u2014 backend/agent/engine.py, backend/fs_logging/agent_runs.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":"backend/agent/engine.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d239b3553c5ea90d072fdaed4c0c0bdd36d6645fdcd66f876c6ae9532c6001"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value is None or isinstance(value, (bool, int, float, str))\u0060 appears character-identically in 2 files \u2014 backend/fs_logging/openai_input_formatting.py, backend/fs_logging/prompt_reports.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":"backend/fs_logging/openai_input_formatting.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8566c4a5910660c1b9ffaeef4441e48beed232044a2b318863010d6b5b84673a"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060to_serializable\u0060 is public and takes \u0060value: Any\u0060 from its caller, and it calls itself at line 51 (\u0060to_serializable\u0060) with a piece of \u0060value\u0060 (and at line 54, line 58) \u2014 and nowhere in \u0060to_serializable\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060to_serializable\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/fs_logging/openai_input_formatting.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"33038e2e7ec4a7bf56800031429d08684f4d91af500e1258538e49613a25a777"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060to_serializable\u0060 is public and takes \u0060value: Any\u0060 from its caller, and it calls itself at line 61 (\u0060to_serializable\u0060) with a piece of \u0060value\u0060 (and at line 63, line 65, line 67) \u2014 and nowhere in \u0060to_serializable\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060to_serializable\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/fs_logging/prompt_reports.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cb3ce600d888e6b73cb6d86cc53a4abe997c30041dd2ac6e4990a9e154b9bb"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 0/6 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchFolders: \u0060fetchFolders\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1b1b7bc54456829cde6b8689dab69b93dc1fb68ba637471477c1388fd0e4bd"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: saveOrder: \u0060saveOrder\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/evals/EvalSessionsPage.tsx"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"011793da973329fe8049afe22ed92f59b0d3215e268da788a06d761cbe561544"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchInputFiles: \u0060fetchInputFiles\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/evals/InputFileSelector.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8647f4a89d4222ef70d57f620e3952e9e4dbec72fac1b1294f63d750093fbaf"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchModels: \u0060fetchModels\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/evals/RunEvalsPage.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f1d6ff8f98c0dd4d0d5c625b845d4f812edbec01ea71c173fa54afa3b795da"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchEvalSets: \u0060fetchEvalSets\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/evals/RunEvalsPage.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6549665292b431f76d6e2a56895c26537345308117ea6fa1728822b698d80b28"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchSetImages: \u0060fetchSetImages\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/evals/RunEvalsPage.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"204e5cf19620672ab3cba4f7d8eec8c21e2c7a2da692b0da1f97ae991258bc61"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/settings/SettingsTab.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a879dbf0a2e633fad777fa500724f871787b5dcac81500ce30c01387878253b7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/history/HistoryDisplay.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4521a3da5ecb1f51ba7aab9fb29300fb014ab3b21e6566e5b857b2bc29a31fc2"}},{"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":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d220c3942ae4da391820373e2491ba35a30518e7f4b86fd6a6a37a20a70275"}},{"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":"frontend/src/components/evals/BestOfNEvalsPage.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff186a6f6e0278aaee4481fdb12e5a9ef20c7b96766e97ad3663b25e027c5b2"}},{"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":"frontend/src/components/evals/EvalComparePage.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4e1b4d967d537fba410ceeea4f78e7a462608a449776a0cc4be5b99d4d23b9"}},{"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":"backend/asset_extraction.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8484e8c5c4dfdc0e4ece338ea8d88ea922787ceeebd9f28e5a6d050070bcde47"}},{"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":"backend/preview_screenshot/playwright_backend.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb6f50e8723fb59314ed5112b747f04a140a7e364d81cb3458ec7c8190e11a5"}},{"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":"backend/fs_logging/agent_runs.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e31709d5c3f5339f1eea927ffb58bdef47ea819d6db7c2d0d7c3884607412d"}},{"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":"backend/agent/providers/gemini.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b84933514d4a9f81c156c7cfb535609223a1f8613f5d972471542596dd7bdff"}},{"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":"backend/agent/providers/openai.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d624907e51a817d9a8247c7ae220d72519b5164216b5eb15b41ae3177c641a97"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 27 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"backend/debug/DebugFileWriter.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe23ab7f3c12e842b70c9fb770aaa5eb19e88c09006111aa8bdb4e4d7f28fcf"}},{"ruleId":"X5","level":"note","message":{"text":"Strict null checking is not enabled everywhere the repository type-checks: 1/2 of this repository\u0027s type-checking configuration(s) turn on strict null checking (\u0060\u0022strict\u0022: true\u0060, or \u0060\u0022strictNullChecks\u0022: true\u0060). A configuration that states neither is counted as OFF, because off is tsc\u0027s own default; a solution-style one whose \u0060\u0022files\u0022\u0060 is empty and whose \u0060\u0022references\u0022\u0060 point at other projects is in neither number, because it checks no source itself. Where it is off, \u0060string\u0060 admits \u0060null\u0060 and \u0060undefined\u0060: passing a value that is null compiles silently and throws on the first property access."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8870f9ff7b17c2e14c5ba3bc13137b94673aad0b9498438c572dabb049852943"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~0.2 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 4 assertion(s) across the 16981 source line(s) of the 104 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: frontend/src/components/evals/EvalComparePage.tsx (2), frontend/src/main.tsx (1), frontend/src/store/project-store.ts (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":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routes/prompt_reports.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24e3d59c9154220e75dd3a1b418b640cc751326a8e49fbb6dd76cce5e389644"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/codegen/utils.py"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ada7c43664adeb2f2b6fa16b7e154a442cdee0a24154ee15d45070050ec13c"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/codegen/utils.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"83065c2f2a3273fd63fc456446446ffd602e3031a066952df1a683df4adf32fe"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/codegen/utils.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4b3842d1e1832f6d31e9a23934596a29b9f9b531bf4a39bd8225adeac0ef0c"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Checking backend capabilities\u2026\u0060 under \u0060screenshotPreviewAvailable === true\u0060, but \u0060screenshotPreviewAvailable\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/settings/SettingsTab.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"406e8b268a56d8e84375e625a06c71e733fa6d2c140d42b3c01dfec6e73006e6"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Loading input files...\u0060 under \u0060isLoading\u0060, but \u0060isLoading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/evals/InputFileSelector.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"050a8cfafb5828fa230826bccca9869db0e745ace7cc766edf30bdf39cd274c2"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Loading report\u2026\u0060 under \u0060selectedFilename \u0026\u0026 isLoadingContent\u0060, but \u0060selectedFilename\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/evals/PromptReportsPage.tsx"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"070727a514e88e72aa6faf266fe3550cc306d185e8fd43e68f0aa12857901022"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_load_manifest\u0060 returns \u0060{}\u0060 when \u0060(OSError, 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":"backend/evals/sets.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9a6a8d3a332e614c1de835fedc3de537570541e29a391f47b2b60f9922bfdd"}}],"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-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-527","guid":"79b27cde-9d04-1a54-b64b-d5bb9b4a8ee7","name":"CWE-527","shortDescription":{"text":"CWE-527"},"helpUri":"https://cwe.mitre.org/data/definitions/527.html"},{"id":"CWE-538","guid":"3baa1f05-df1b-ae58-9ee0-1d790ff4a989","name":"Insertion of Sensitive Information into Externally-Accessible File or Directory","shortDescription":{"text":"Insertion of Sensitive Information into Externally-Accessible File or Directory"},"helpUri":"https://cwe.mitre.org/data/definitions/538.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-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":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"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":55,"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."]}]}