{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"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":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"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":"AXR1","name":"Runtime accessibility","shortDescription":{"text":"Runtime accessibility"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"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":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"export-actions.ExportActions (cyclomatic 123): export-actions.ExportActions has cyclomatic complexity 123 (threshold 15). Most of this is not in the body itself: 15 of the 123 points are its own statements and the rest belongs to 18 function items inside it that branch (a function literal at line 756, a function literal at line 647, resolveDownloadUrl, \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/data-table/export-actions.tsx"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a766878d4eda4bc230abfaf35092f918fbbcb3b9d8f264bebb10ca05a483e6"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-panel.AgentPanel (cyclomatic 75): agent-panel.AgentPanel has cyclomatic complexity 75 (threshold 15). Most of this is not in the body itself: 7 of the 75 points are its own statements and the rest belongs to 19 function items inside it that branch (renderBody, a function literal at line 929, a function literal at line 884, \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/chat/acp/agent-panel.tsx"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1458b477923fddf98cc680f198b9f2374b2e913fdbb9e67545d4ee8089d147"}},{"ruleId":"D1","level":"warning","message":{"text":"NarwhalsTransformHandler._evaluate_condition (cyclomatic 66): NarwhalsTransformHandler._evaluate_condition has cyclomatic complexity 66 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/dataframes/transforms/handlers.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6ac8eaaa74c897b73ccf0ab0755fd7bf90b1774686753ece388ac01e8e60de"}},{"ruleId":"D1","level":"warning","message":{"text":"analyzer.findReactiveVariables::collectDeclarations (cyclomatic 66): analyzer.findReactiveVariables::collectDeclarations has cyclomatic complexity 66 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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/core/codemirror/reactive-references/analyzer.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee3e6b2715001021d5c0825fcd6086305036cb7b04ce403e81d684bcc347114"}},{"ruleId":"D1","level":"warning","message":{"text":"msgspec_encoder.enc_hook (cyclomatic 64): msgspec_encoder.enc_hook has cyclomatic complexity 64 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_messaging/msgspec_encoder.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8677df0b0313bd70b27618a1f1ed2cd506e6390c0e61e85682f26d0c7f9467b8"}},{"ruleId":"D1","level":"warning","message":{"text":"MatrixPlugin.MatrixComponent (cyclomatic 64): MatrixPlugin.MatrixComponent has cyclomatic complexity 64 (threshold 15). Most of this is not in the body itself: 7 of the 64 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 332, a function literal at line 433, a function literal at line 220, \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/plugins/impl/MatrixPlugin.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b19b66d531e6638e2e571fb08f83959d975d9f99e039c3d07fca5a2d9dcca70"}},{"ruleId":"D1","level":"warning","message":{"text":"app-chrome.AppChrome (cyclomatic 62): app-chrome.AppChrome has cyclomatic complexity 62 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 44 belong to 16 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/editor/chrome/wrapper/app-chrome.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8775564a5111b0c3662edb5437d42c733f3c71478e48ef62c9f1dde5eaba42"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-panel.ChatPanelBody (cyclomatic 61): chat-panel.ChatPanelBody has cyclomatic complexity 61 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 45 belong to 23 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/chat/chat-panel.tsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7dec3cf06a67a11ec7094bcdb3e5227ff1ba06bc653a2ba3d2c7e007d9f324"}},{"ruleId":"D1","level":"warning","message":{"text":"FileBrowserPlugin.FileBrowser (cyclomatic 59): FileBrowserPlugin.FileBrowser has cyclomatic complexity 59 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 40 belong to 12 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/plugins/impl/FileBrowserPlugin.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f96ff0ae9d2eb14829727585c625fc458a7f1a30dc34c10ac5eb3aa04641bc"}},{"ruleId":"D1","level":"warning","message":{"text":"_BoundaryDetector.feed (cyclomatic 58): _BoundaryDetector.feed has cyclomatic complexity 58 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/scanner.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4a0c9f1c6987a537c37f08768de2e0aa9d8f8f0bb7576dc12781b24d4cddcc"}},{"ruleId":"D1","level":"warning","message":{"text":"user-config-form.UserConfigForm (cyclomatic 58): user-config-form.UserConfigForm has cyclomatic complexity 58 (threshold 15). Most of this is not in the body itself: 4 of the 58 points are its own statements and the rest belongs to 30 function items inside it that branch (renderBody, setAiModels, a function literal at line 639, \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/app-config/user-config-form.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"60eb86561191f1afa635cd1121c73c165eb7406dba7b93e65313a14f60600d25"}},{"ruleId":"D1","level":"warning","message":{"text":"notebook-cell.EditableCellComponent (cyclomatic 56): notebook-cell.EditableCellComponent has cyclomatic complexity 56 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 13 belong to 7 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/editor/notebook-cell.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"b462d82b4431f46e4b06b1b804ca5116eda07217ecf13476adf8cafe2896e553"}},{"ruleId":"D1","level":"warning","message":{"text":"glide-data-editor.GlideDataEditorInner (cyclomatic 56): glide-data-editor.GlideDataEditorInner has cyclomatic complexity 56 (threshold 15). Most of this is not in the body itself: 3 of the 56 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 300, a function literal at line 216, a function literal at line 262, \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/plugins/impl/data-editor/glide-data-editor.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7426db24eb3b66792fcc910d27b75e54ac2c74b5245c724387180e8278862bd8"}},{"ruleId":"D1","level":"warning","message":{"text":"useNotebookSession.useNotebookSession.handleNotification (cyclomatic 55): useNotebookSession.useNotebookSession.handleNotification has cyclomatic complexity 55 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/session/useNotebookSession.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc89d0405f9f970a22c8254f5bccdf9ca7ab5eb0a0e9b6d18e639dae48268602"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-ui.Chatbot (cyclomatic 52): chat-ui.Chatbot has cyclomatic complexity 52 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 24 belong to 12 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/plugins/impl/chat/chat-ui.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65ba5e77e72080a51e1d4f53da83aa0b2888a800ff72dd465de34bfc02bb349"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionView.add_notification (cyclomatic 50): SessionView.add_notification has cyclomatic complexity 50 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_session/state/session_view.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"b586095e2aa9f4f8dee2df2d188d92dc517cccf7d5bd91a5badc81a3685b36e3"}},{"ruleId":"D1","level":"warning","message":{"text":"DataTablePlugin.DataTableComponent (cyclomatic 50): DataTablePlugin.DataTableComponent has cyclomatic complexity 50 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 30 belong to 11 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/plugins/impl/DataTablePlugin.tsx"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f48fdcc25e241888fa06d38d130e29844543695203ec9dbb094428a8708426"}},{"ruleId":"D1","level":"warning","message":{"text":"reveal-component.RevealSlidesComponent (cyclomatic 48): reveal-component.RevealSlidesComponent has cyclomatic complexity 48 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 26 belong to 12 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/slides/reveal-component.tsx"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77c2fdaad41dafa38049d6ac79961576ac416728357e77a883a3d32c5dfd7f1"}},{"ruleId":"D1","level":"warning","message":{"text":"PythonTypeToOpenAPI.convert (cyclomatic 47): PythonTypeToOpenAPI.convert has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/dataclass_to_openapi.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ada3e904ec84aaba53df4a1296878bd8e2f738a75b44c0e8b88553cb300f07"}},{"ruleId":"D1","level":"warning","message":{"text":"plotly._append_violin_points_to_selection (cyclomatic 46): plotly._append_violin_points_to_selection has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2378}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4175245fc9b86abba5e34c50268bfdd488fa5aab5bc6da84aaab31fac13b7be"}},{"ruleId":"D1","level":"warning","message":{"text":"sql_visitor.find_sql_defs (cyclomatic 45): sql_visitor.find_sql_defs has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/sql_visitor.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb025bb6768c30d037bb98901c138cdc12c13e596093e9e1a6d96273536d66c"}},{"ruleId":"D1","level":"warning","message":{"text":"plotly._append_box_points_to_selection (cyclomatic 45): plotly._append_box_points_to_selection has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2729}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc294d12dbb1a57f3eb5cf4589b4fc22e5e926c1c26dd2db6da21e1a45ab997d"}},{"ruleId":"D1","level":"warning","message":{"text":"table.__init__ (cyclomatic 45): table.__init__ has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/table.py"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb0d7cb161e907598ebfce8da14d1f7fda831f6d65b098baae0f78d34aed6f9"}},{"ruleId":"D1","level":"warning","message":{"text":"_DataclassParser._build_value (cyclomatic 45): _DataclassParser._build_value has cyclomatic complexity 45 (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":"marimo/_utils/parse_dataclass.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b7cfdc72055a305a0e4e001df6f7722f9edb27fe5ddbb163f5f93df57fff22"}},{"ruleId":"D1","level":"warning","message":{"text":"filter-pill-editor.buildFilterValue (cyclomatic 45): filter-pill-editor.buildFilterValue has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/filter-pill-editor.tsx"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a1a4378421187b5affddad609f23dca41ad3b758b556190061020c9c2345cd"}},{"ruleId":"D1","level":"warning","message":{"text":"navigation.useCellNavigationProps (cyclomatic 45): navigation.useCellNavigationProps has cyclomatic complexity 45 (threshold 15). Most of this is not in the body itself: 1 of the 45 points is its own statement and the rest belongs to 22 function items inside it that branch (a function literal at line 248, a function literal at line 576, a function literal at line 281, \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/editor/navigation/navigation.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"203539e3ee9ec6e0a6abb2b365c76f9cbe4de2e5ec06382a3478f4328d761033"}},{"ruleId":"D1","level":"warning","message":{"text":"form.renderZodSchema (cyclomatic 43): form.renderZodSchema has cyclomatic complexity 43 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 11 belong to 6 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/forms/form.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8918f99fb8c642a64dee972904460518e5e6e7b311a74ce6c00804428640e54"}},{"ruleId":"D1","level":"warning","message":{"text":"format.formatValue (cyclomatic 41): format.formatValue has cyclomatic complexity 41 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/filters/format.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1452399d63cce473756eef4ff43b7a11b29607c5ce8133c5f8348084a9d8494f"}},{"ruleId":"D1","level":"warning","message":{"text":"DataTablePlugin.LoadingDataTableComponent (cyclomatic 41): DataTablePlugin.LoadingDataTableComponent has cyclomatic complexity 41 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 25 belong to 10 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/DataTablePlugin.tsx"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c805659c0515a0da4a4809b9f4a5a01e55ffd65591e474c6e4b3749701d858e"}},{"ruleId":"D1","level":"warning","message":{"text":"print_code.python_print_polars (cyclomatic 39): print_code.python_print_polars has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"739faa4d9e253efeea00359143fdccd63f7fe35cc056e1900feffd43a2617d39"}},{"ruleId":"D1","level":"warning","message":{"text":"print_code.python_print_pandas (cyclomatic 38): print_code.python_print_pandas has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fddbaacfe593dfdc5c8651bd53203fe2c7f410a4ecfdc86cf80c3e36338ae8"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-completion-editor.AiCompletionEditor (cyclomatic 38): ai-completion-editor.AiCompletionEditor has cyclomatic complexity 38 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 19 belong to 9 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/editor/ai/ai-completion-editor.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ef4cf249c654a3e2aff411e02f2e1941595d16db37aa9dd9aef69131da1b99"}},{"ruleId":"D1","level":"warning","message":{"text":"Output.OutputRenderer (cyclomatic 37): Output.OutputRenderer has cyclomatic complexity 37 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/Output.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5288a19d99fe83d1ac5ca532aa2639629eff5c0ab7a728123eafade7aa42c9"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-story.RuntimeStory (cyclomatic 37): runtime-story.RuntimeStory has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 8 of the 37 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 226, 291, 381, \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/stories/runtime-story.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b45738ae7b17d96c50cba35f5b7523c4b3f0945c7322ab2fc479ca5de28da36"}},{"ruleId":"D1","level":"warning","message":{"text":"serialize.filterToFilterCondition (cyclomatic 36): serialize.filterToFilterCondition has cyclomatic complexity 36 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/filters/serialize.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"027cb9c566e9d4d6b047e23cefcdfabe3475b505af8e1ab1e3d3f5463f0bb708"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-notice.ConnectionNotice (cyclomatic 35): connection-notice.ConnectionNotice has cyclomatic complexity 35 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/alerts/connection-notice.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"42047cd3a00504b861bd7c6fb3f28c2be4e6c8a7b3b2050c420f0661cd70b515"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.collectMatchingDeclarations (cyclomatic 35): commands.collectMatchingDeclarations has cyclomatic complexity 35 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/go-to-definition/commands.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e0c32bd2f8a68530f7ffb52fe0ef6639eb4cb6c3d065c00d2d150b8e4de3a9"}},{"ruleId":"D1","level":"warning","message":{"text":"file-viewer.FileViewer (cyclomatic 35): file-viewer.FileViewer has cyclomatic complexity 35 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 10 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/editor/file-tree/file-viewer.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f598079d23944593d36494eaab8964335e572d287450558005b468df3dff275"}},{"ruleId":"D1","level":"warning","message":{"text":"forwarder.run_forwarder (cyclomatic 34): forwarder.run_forwarder has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/pair/forwarder.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfbde3c5d8e357e3f2e3f86a905738c3089297bd5c70060913d07503a784ebc"}},{"ruleId":"D1","level":"warning","message":{"text":"plotly._extract_scatter_points_fallback (cyclomatic 33): plotly._extract_scatter_points_fallback 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"adad871386fd1d3de6525332d0397f55f749e60fd40ce6c3a7ecd42b6a8d7709"}},{"ruleId":"D1","level":"warning","message":{"text":"plotly._extract_scatter_points_from_lasso (cyclomatic 33): plotly._extract_scatter_points_from_lasso 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd6dcb30c4b75dc62a091b1742b0c27e6988ea3d9a0ea80419aa645b7d60ae8"}},{"ruleId":"D1","level":"warning","message":{"text":"BlockHasher.serialize_and_dequeue_content_refs (cyclomatic 33): BlockHasher.serialize_and_dequeue_content_refs 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":"marimo/_save/hash.py"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b572c370843c5e92ce8ae23698ea00bbc916a75e2cd2f5ce55c618fedaa229"}},{"ruleId":"D1","level":"warning","message":{"text":"file-explorer.Node (cyclomatic 33): file-explorer.Node has cyclomatic complexity 33 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 6 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/file-tree/file-explorer.tsx"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e386ff6561df2033f74e883d874449d47275e2642507ef5599e6bd88d745f9"}},{"ruleId":"D1","level":"warning","message":{"text":"SliderPlugin.SliderComponent (cyclomatic 33): SliderPlugin.SliderComponent has cyclomatic complexity 33 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 10 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/SliderPlugin.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f41a716316e33c780bc090db0ae097bb9bd3a86c68cc8696bacd0a1175f195"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.execute (cyclomatic 32): commands.execute has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/pair/commands.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdb1601701262b1d4741d37291817b6b9a0082268ebfbb151abe8ddd3a8b535"}},{"ruleId":"D1","level":"warning","message":{"text":"MarimoErrorOutput.MarimoErrorOutput::renderMessages (cyclomatic 32): MarimoErrorOutput.MarimoErrorOutput::renderMessages has cyclomatic complexity 32 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/MarimoErrorOutput.tsx"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf381d85036fbd54049549b69e64984abc5c73f4a5730d460719f1b0093776c"}},{"ruleId":"D1","level":"warning","message":{"text":"filter-by-values-picker.FilterByValuesList (cyclomatic 32): filter-by-values-picker.FilterByValuesList has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 13 of the 32 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 160, handleToggleAll, a function literal at line 114, \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/data-table/filter-by-values-picker.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7c00bea193859d38651d9d870363d891d478d2e23bcc8e53a8e3e6be98c340"}},{"ruleId":"D1","level":"warning","message":{"text":"ScopedVisitor.generic_visit (cyclomatic 31): ScopedVisitor.generic_visit has cyclomatic complexity 31 (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":"marimo/_ast/visitor.py"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a9ad1ef62ff8d84b8078ca039876ecc98086acd5820def2fd6fb2cfed28d90"}},{"ruleId":"D1","level":"warning","message":{"text":"file_browser.__init__ (cyclomatic 31): file_browser.__init__ has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/file_browser.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dd0ac2de53c191935128b310ce6dbd8c50e382340d6ece822774d2573f5a0b"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncCodeModeContext._apply_ops (cyclomatic 30): AsyncCodeModeContext._apply_ops has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_code_mode/_context.py"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee25b7e956807226e16f98e0c887465584265c1e2032ea1de98f4cb0dc8c559"}},{"ruleId":"D1","level":"warning","message":{"text":"altair_chart._filter_dataframe (cyclomatic 30): altair_chart._filter_dataframe has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/altair_chart.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"2402824b2d931b11adfb521af8df4a83d1dd04fd5aeda931186a52235b1a0b29"}},{"ruleId":"D1","level":"warning","message":{"text":"cell_matching._approximate_assignment (cyclomatic 30): cell_matching._approximate_assignment has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/cell_matching.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e241cb338172b7acf4a4e7be5adcfede5570ba31dd2cc2a4366b929e423fd009"}},{"ruleId":"D1","level":"warning","message":{"text":"docs.google_docstring_to_markdown (cyclomatic 30): docs.google_docstring_to_markdown has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/docs.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74123c804313f26f688599d9feeab6ccfd82084e83e3e0fc143b8cba6edee7d"}},{"ruleId":"D1","level":"warning","message":{"text":"keyboard-shortcuts.KeyboardShortcuts (cyclomatic 30): keyboard-shortcuts.KeyboardShortcuts has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 2 of the 30 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 136, renderItem, renderCommandGroup, \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/editor/controls/keyboard-shortcuts.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b0daa4a84e917390f27318bd2a62000d66c086bbf9970530d0114d3a5153ab"}},{"ruleId":"D1","level":"warning","message":{"text":"feature.applyFormat (cyclomatic 30): feature.applyFormat has cyclomatic complexity 30 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/column-formatting/feature.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e731cc7106a290a1146fc12d5e38353c96eb54c43e3f22f70d45ffba66f1473"}},{"ruleId":"D1","level":"warning","message":{"text":"row-viewer.RowViewerPanel (cyclomatic 30): row-viewer.RowViewerPanel has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 7 of the 30 points are its own statements and the rest belongs to 6 function items inside it that branch (renderTable, handleKeyDown, setRow, \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/data-table/row-viewer-panel/row-viewer.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38bad8e6366499df5996aca3eba1ff88430993becc742f80db11fc8693e5ec9"}},{"ruleId":"D1","level":"warning","message":{"text":"storage-inspector.StorageNamespaceSection (cyclomatic 30): storage-inspector.StorageNamespaceSection has cyclomatic complexity 30 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 14 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/storage/storage-inspector.tsx"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"34acd240c9368cb501db037d5f099981b91b884a6e3288f53dc51818b352c75b"}},{"ruleId":"D1","level":"warning","message":{"text":"sql-parser.parseSQLStatement (cyclomatic 30): sql-parser.parseSQLStatement has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/smart-cells/src/parsers/sql-parser.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1414a9ada45fd4f0217ea0167b9c96c0a6a382bfb3a11323e98d24c5325217"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.html_wasm (cyclomatic 29): commands.html_wasm has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/export/commands.py"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c7a9600c04fe344cf5fcc9b9b24b02f8aff0cb35af0d9447647140b4ffdb01"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncCodeModeContext._print_summary (cyclomatic 29): AsyncCodeModeContext._print_summary has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_code_mode/_context.py"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d73bce3c642e085cbf9fc67a8891d04bafa1ff7990f9de09c4bc06c107c076f"}},{"ruleId":"D1","level":"warning","message":{"text":"Executions.observe (cyclomatic 29): Executions.observe has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_core/executions.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"837ad13535ce3cf80d9a9b501e2dea67f19686bcdccf75a95c67fd66e9ea7102"}},{"ruleId":"D1","level":"warning","message":{"text":"LazyLoader.restore_cache (cyclomatic 29): LazyLoader.restore_cache has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/loaders/lazy.py"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f616cdb584ed994eb26f7d570fc15072e7a27cc0d543b9bbeede3adf55e6eced"}},{"ruleId":"D1","level":"warning","message":{"text":"RunTranslator.feed (cyclomatic 29): RunTranslator.feed has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/translate.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d08e987c43ec3101cf890ee2b077f1116cb8b016d7801cc94a5bfdea861062"}},{"ruleId":"D1","level":"warning","message":{"text":"start.start (cyclomatic 29): start.start has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/start.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"730cb83c77ed72d718acfed1a55f5899320bbb41e3eee999ff47a3d3f305cefa"}},{"ruleId":"D1","level":"warning","message":{"text":"feedback-button.FeedbackModal (cyclomatic 29): feedback-button.FeedbackModal has cyclomatic complexity 29 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/components/feedback-button.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5353ae16614a36134963950cab06334afb92129ec1450849c71aaf03d8cdfbf5"}},{"ruleId":"D1","level":"warning","message":{"text":"columns.renderCellValue (cyclomatic 29): columns.renderCellValue has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/columns.tsx"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"1557da8e28413f88b6d4450a4d37faf1c91b741c506b006cd32a1e2defc9c5f9"}},{"ruleId":"D1","level":"warning","message":{"text":"PanelPlugin.PanelSlot (cyclomatic 29): PanelPlugin.PanelSlot has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 218, 152, 273, \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/plugins/impl/panel/PanelPlugin.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b060bd6fd27677f0bcd8492176b30418aa1118b1ab7d563d7d22cf3cea83519"}},{"ruleId":"D1","level":"warning","message":{"text":"scanner.scan_notebook (cyclomatic 28): scanner.scan_notebook 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":"marimo/_ast/scanner.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"70835ac6e57979ab04dfb16f34e6121e1a09a35b266923a6201f658789176820"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox.run_in_sandbox (cyclomatic 28): sandbox.run_in_sandbox 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":"marimo/_cli/sandbox.py"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"54250c8d81f0281b72614100c30c3bf0db549d32c6840a6a619c38a2371025e7"}},{"ruleId":"D1","level":"warning","message":{"text":"plotly._extract_box_points_fallback (cyclomatic 28): plotly._extract_box_points_fallback 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":3094}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6d7a74f029701632f76363dcca2bcb8e000ccd570caec43bb3b2a192cd6d1f"}},{"ruleId":"D1","level":"warning","message":{"text":"plotly._extract_violin_points_fallback (cyclomatic 28): plotly._extract_violin_points_fallback 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":3239}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f46b48a37188825481785fb6a0b73c49f9e15858bead59b3885ac581179222"}},{"ruleId":"D1","level":"warning","message":{"text":"geometry_export._describe_export_source (cyclomatic 28): geometry_export._describe_export_source 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":"marimo/_plugins/ui/_impl/tables/geometry_export.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafe52dd40ba41eab139131151010c5faf595d33da68d13e2d1cd07503cddebe"}},{"ruleId":"D1","level":"warning","message":{"text":"geometry_export.serialize_geojson (cyclomatic 28): geometry_export.serialize_geojson 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":"marimo/_plugins/ui/_impl/tables/geometry_export.py"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"411ddc2bd6d5f72f8d4d9bf9341813946258765080ffbe353eb70061e57d6c21"}},{"ruleId":"D1","level":"warning","message":{"text":"ai.list_provider_models (cyclomatic 28): ai.list_provider_models 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":"marimo/_server/api/endpoints/ai.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f40fa7416c285e862e01e57a246ff25d7fb9036b6c15f033028d3d6b5abad9c"}},{"ruleId":"D1","level":"warning","message":{"text":"IPCKernelManagerImpl.start_kernel (cyclomatic 28): IPCKernelManagerImpl.start_kernel has cyclomatic complexity 28 (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":"marimo/_session/managers/ipc.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d80077525616e44351ffe839cedde497e03e6e11238d6a1d7b16c00f3a62337"}},{"ruleId":"D1","level":"warning","message":{"text":"replica.createNotebookReplica (cyclomatic 28): replica.createNotebookReplica has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 12 function items inside it that branch (connect::reconnect, a function literal at line 215, a function literal at line 292, \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/core/notebook/replica/replica.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11613a3e452c5b4c32c0396e00c1d11ad0ff35a75bbc7ddbb52a6a482c569a8"}},{"ruleId":"D1","level":"warning","message":{"text":"package-alert.PackageAlert (cyclomatic 28): package-alert.PackageAlert has cyclomatic complexity 28 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 9 belong to 4 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/editor/package-alert.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4e7561f927659e6babd505d98762b977b2a4ecb1d6ba45c4d9754f3e2c0ba5"}},{"ruleId":"D1","level":"warning","message":{"text":"glide-utils.pasteCells (cyclomatic 28): glide-utils.pasteCells has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 2 of the 28 points are its own statements and the rest belongs to one function literal inside it that branches (line 137). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/data-editor/glide-utils.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8e1b68624c4d024df4b85a074576f68afa60d5cf03f8dce93eba426193684f"}},{"ruleId":"D1","level":"warning","message":{"text":"document._validate (cyclomatic 27): document._validate has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_messaging/notebook/document.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"94dd05cf3ec8eecdb0e8019b2892bfc626d343d56cfdfc47d343bd661f549d15"}},{"ruleId":"D1","level":"warning","message":{"text":"plotly._extract_scatter_points_numpy (cyclomatic 27): plotly._extract_scatter_points_numpy has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a6335325258847b325e796029080b41751054da04b11e61aca1f9f93d62920"}},{"ruleId":"D1","level":"warning","message":{"text":"Runner._run_result_from_exception (cyclomatic 27): Runner._run_result_from_exception has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runner/cell_runner.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f5e0efdba2547b8c62f981b1e14ad8295e909db50ed4944c7146a7d70c3fea"}},{"ruleId":"D1","level":"warning","message":{"text":"combobox.Combobox (cyclomatic 27): combobox.Combobox has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 7 of the 27 points are its own statements and the rest belongs to 6 function items inside it that branch (renderValueLabel, a function literal at line 129, a function literal at line 192, \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/ui/combobox.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2173a034d53dc9f43a01e3427e041199126c8c32f4a7d6cb68f222b7964d501c"}},{"ruleId":"D1","level":"warning","message":{"text":"data-table.DataTableInternal (cyclomatic 27): data-table.DataTableInternal has cyclomatic complexity 27 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 6 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/data-table/data-table.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e6e0806f7edb634b5adfee4716a98422e323fb3023bc10b9775ba6b12b3e09"}},{"ruleId":"D1","level":"warning","message":{"text":"startup-output.StartupOutput (cyclomatic 27): startup-output.StartupOutput has cyclomatic complexity 27 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 13 belong to 6 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/editor/alerts/startup-output.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ca39e8803899baabb975648647943ee808a9227a7738b45e5b88d55a38f795"}},{"ruleId":"D1","level":"warning","message":{"text":"cell-editor.CellEditorInternal (cyclomatic 27): cell-editor.CellEditorInternal has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 9 of the 27 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 139, 154, 177, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/cell/code/cell-editor.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32301b5410d262e189365fbcc9b07f5ce9dceca734c011cda09f466166e5eec"}},{"ruleId":"D1","level":"warning","message":{"text":"find-replace.FindReplace (cyclomatic 27): find-replace.FindReplace has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 11 of the 27 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 143, a function literal at line 51, a function literal at line 66, \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/find-replace/find-replace.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad1841642ea6947b9f0049a64be74c8fb4fc7fcd35ac5a60db77a74f26037fa"}},{"ruleId":"D1","level":"warning","message":{"text":"reorderable-list.ReorderableList (cyclomatic 27): reorderable-list.ReorderableList has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 7 of the 27 points are its own statements and the rest belongs to 6 function items inside it that branch (handleCrossListDrop, a function literal at line 200, handleToggleItem, \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/ui/reorderable-list.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a99cfb83b35c49724d670cb93987502c4a39812bffba63ab215823a98e9e21"}},{"ruleId":"D1","level":"warning","message":{"text":"hooks._extract_description (cyclomatic 26): hooks._extract_description has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/hooks.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4304067e25c1d1c30cc742f825c28449e90f52a93ae75032044af263b1357679"}},{"ruleId":"D1","level":"warning","message":{"text":"print_code.python_print_ibis (cyclomatic 26): print_code.python_print_ibis has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a972bea5bfc2c435ae9d9e82e9e201697ad3aa9bf7a3c86fc93e5856ce965d"}},{"ruleId":"D1","level":"warning","message":{"text":"utils._split_around_extras (cyclomatic 26): utils._split_around_extras has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/packages/utils.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4aff2f3355b6e8dcf420d4d0e882326af3e9a237d94635a5bf647d161e8460b"}},{"ruleId":"D1","level":"warning","message":{"text":"ModuleReloader._check (cyclomatic 26): ModuleReloader._check has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/reload/autoreload.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c2489c41ab4290ead119618d6ed999d0d2dd4f71698fca06c4f0401d581be2"}},{"ruleId":"D1","level":"warning","message":{"text":"sql.sql (cyclomatic 26): sql.sql has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_sql/sql.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7c0f618bb7b7fb5aa8303e6c3d51f217b20534c997999a093e96597e3b2275"}},{"ruleId":"D1","level":"warning","message":{"text":"datasources.DatasetTableItem (cyclomatic 26): datasources.DatasetTableItem has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 5 of the 26 points are its own statements and the rest belongs to 5 function items inside it that branch (handleAddTable::getCode, a function literal at line 829, renderColumns, \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/datasources/datasources.tsx"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c1dd79d28161360a710050d168dd3d3f4c2d2bcbae4e7ab7b0cda1b8f3901e"}},{"ruleId":"D1","level":"warning","message":{"text":"useCellActionButton.useCellActionButtons (cyclomatic 26): useCellActionButton.useCellActionButtons has cyclomatic complexity 26 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 10 belong to 7 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/editor/actions/useCellActionButton.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0905c5deb70df81a4a3a2a0d9bd0899016748e60be777c3876529aa5c086784"}},{"ruleId":"D1","level":"warning","message":{"text":"file-explorer.FileExplorer::handleTreeKeyDown (cyclomatic 26): file-explorer.FileExplorer::handleTreeKeyDown has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/file-tree/file-explorer.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad0b91ad0058392ec3f91eebf86a363e3f3b58010fa197cb78e63b7f6e3e060"}},{"ruleId":"D1","level":"warning","message":{"text":"lsp-status.LspStatus (cyclomatic 26): lsp-status.LspStatus has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 5 of the 26 points are its own statements and the rest belongs to 6 function items inside it that branch (getServerStatusDisplay, getStatusIcon, handleRestart, \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/editor/chrome/wrapper/footer-items/lsp-status.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b792f343c66658c8c763d86041a4a785c425528a2de7dcb4edb46b7ec82d7d"}},{"ruleId":"D1","level":"warning","message":{"text":"IslandsPyodideBridge.startApps (cyclomatic 26): IslandsPyodideBridge.startApps has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/islands/bridge.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"357d84ab5ad7065f93dc413bfc70f72f8b1cc9cfa4704e5ac312dbc39eadc133"}},{"ruleId":"D1","level":"warning","message":{"text":"table._get_column_summaries (cyclomatic 25): table._get_column_summaries has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/table.py"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3498ee2173499dafa658637189b600aab29cfb7911ba4d8ae408bd1fd960bd9"}},{"ruleId":"D1","level":"warning","message":{"text":"CellStatus.CellStatusComponent (cyclomatic 25): CellStatus.CellStatusComponent has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/cell/CellStatus.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b95a6f6867b46c227e9e84f02fab3c9879e42563194abc48bac1e3a9ef73b8a"}},{"ruleId":"D1","level":"warning","message":{"text":"make-selectable.makeSelectable (cyclomatic 25): make-selectable.makeSelectable has cyclomatic complexity 25 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 8 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/plugins/impl/vega/make-selectable.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba7fd3e793b8ad1afaf9b09058b980811a8b0292415ab34b21461138993a7cc"}},{"ruleId":"D1","level":"warning","message":{"text":"python-ast.getStringContent (cyclomatic 25): python-ast.getStringContent has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/smart-cells/src/utils/python-ast.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26ebed5417ccf399e14533aaaf8a1701766772bf3bea8c22399d552f5119883"}},{"ruleId":"D1","level":"warning","message":{"text":"ScopedVisitor.visit_Call (cyclomatic 24): ScopedVisitor.visit_Call has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/visitor.py"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d8aca258f0a05701314dfb5ee32d3a6d2bd5aac0378928bb6da83943bc27ac"}},{"ruleId":"D1","level":"warning","message":{"text":"Kernel.mutate_graph (cyclomatic 24): Kernel.mutate_graph 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":"marimo/_runtime/runtime.py"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"27229b7149212e7f9e34866aa8ac914f0bc372d6f100399f5658f81e573ccfcb"}},{"ruleId":"D1","level":"warning","message":{"text":"net._bind_sockets (cyclomatic 24): net._bind_sockets 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":"marimo/_utils/net.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1c0c2c99c07be107e2fa939316a01b2edb30040e1cf63e4df24c8e55ce22b7"}},{"ruleId":"D1","level":"warning","message":{"text":"columns.generateColumns.columns (cyclomatic 24): columns.generateColumns.columns has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 5 of the 24 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 209, 282, 283). 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/data-table/columns.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"863ae9b8c5af03c6f627c8b07625caa536b6931f70da5f2663ad93a230d96aad"}},{"ruleId":"D1","level":"warning","message":{"text":"cell-context-menu.CellActionsContextMenu (cyclomatic 24): cell-context-menu.CellActionsContextMenu has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 12 function literals inside it that branch (lines 239, 113, 83, \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/editor/cell/cell-context-menu.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf90ee4131ac285d233b1cccc4ae95aa5786652ba560cd14241da8309ab1a0df"}},{"ruleId":"D1","level":"warning","message":{"text":"terminal.TerminalComponent (cyclomatic 24): terminal.TerminalComponent has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 4 of the 24 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 323, 213, 225, \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/terminal/terminal.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca227d53ec35f527ddc11e9d3c9820a091a001ef2dd9888a5a12e8f01ba5def"}},{"ruleId":"D1","level":"warning","message":{"text":"parse.parsePayloadBackedApps (cyclomatic 24): parse.parsePayloadBackedApps has cyclomatic complexity 24 (threshold 15). 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, separate the cases: extract each independent branch into its own 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/core/islands/parse.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f656ab4feaf45939b30a7523527f881154262c9d13b6ce50127ffb72342eb797"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-notice.connectionNoticeAtom (cyclomatic 24): connection-notice.connectionNoticeAtom 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":"frontend/src/core/network/connection-notice.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8a44bc036bead840e5e1eb74d634af6a78ab05ce22c3c8f96ec5b41d6e3e7f"}},{"ruleId":"D1","level":"warning","message":{"text":"DisplayMathPreprocessor._convert_rst_math_blocks (cyclomatic 23): DisplayMathPreprocessor._convert_rst_math_blocks has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_output/md_extensions/display_math.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"a143cac9740f6823da66c6f4575e2a9f91b26b5d64e1ae0959c1d080d1ee07d1"}},{"ruleId":"D1","level":"warning","message":{"text":"matrix._validate_and_build_args (cyclomatic 23): matrix._validate_and_build_args has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/matrix.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"92539b37a572b76fca835a30fe2b3cb578b3c9f22e3e94b9c8fa13a818857b6a"}},{"ruleId":"D1","level":"warning","message":{"text":"plotly._extract_violin_points_numpy (cyclomatic 23): plotly._extract_violin_points_numpy has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"997677fc27c0daa688fbf19fa6b1a7775011420bfde0aaf1aa449ca866fbebc5"}},{"ruleId":"D1","level":"warning","message":{"text":"geometry_export._arrow_geometry_declaration (cyclomatic 23): geometry_export._arrow_geometry_declaration has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/tables/geometry_export.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"016e187824a3d0bd39c6389d8b8858f881fc71ac10a217ca68b7884953cbbf7a"}},{"ruleId":"D1","level":"warning","message":{"text":"_futures.wasm_as_completed (cyclomatic 23): _futures.wasm_as_completed has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/_wasm/_concurrency/_futures.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea91b7b690c81ba281c546465e313ceaf3f494a35aa2bdb8c3100f0b877b5540"}},{"ruleId":"D1","level":"warning","message":{"text":"PackagesCallbacks.install_missing_packages (cyclomatic 23): PackagesCallbacks.install_missing_packages has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/callbacks/packages.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4d97a27c059136e9fa7b19a45895a1f10b34e118e30d17824f3e072f2c2078"}},{"ruleId":"D1","level":"warning","message":{"text":"BlockHasher.extract_ref_state_and_normalize_scope (cyclomatic 23): BlockHasher.extract_ref_state_and_normalize_scope has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/hash.py"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"498e70d1144af6bd9e2191bc74b60945acb287cede28762f9c9f540a8ef06a84"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicDirectoryMiddleware.__call__ (cyclomatic 23): DynamicDirectoryMiddleware.__call__ has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/asgi.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd45841fc106ef7ea3e55dff52a97623bba148993bdc828bd01cebac7de9782"}},{"ruleId":"D1","level":"warning","message":{"text":"ScratchCellListener.on_notification_sent (cyclomatic 23): ScratchCellListener.on_notification_sent has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/scratchpad.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da73a032b0bb685abe3d00a613f5f7a1264255baca88dc9f11a59e160494278"}},{"ruleId":"D1","level":"warning","message":{"text":"model-discovery.ModelDiscovery (cyclomatic 23): model-discovery.ModelDiscovery 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 3 function items inside it that branch (load, a function literal at line 151, a function literal at line 176). 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/app-config/model-discovery.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebdc40d25b4d1d748b77970ef03686690529073c3dace5cac43daf81b0d5004"}},{"ruleId":"D1","level":"warning","message":{"text":"filter-pill-editor.ValueSlot (cyclomatic 23): filter-pill-editor.ValueSlot has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/filter-pill-editor.tsx"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4e2588d0eaf2212bd8cb92d7ecd4e48ef41baed03dfe0775d28f6e22f14374"}},{"ruleId":"D1","level":"warning","message":{"text":"logs.getCellLogsForMessage (cyclomatic 23): logs.getCellLogsForMessage has cyclomatic complexity 23 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/cells/logs.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c034df826b61bffbd291c1518c1865e72b48c447f3f68f14f3b0c34f519af2"}},{"ruleId":"D1","level":"warning","message":{"text":"filename-input.FilenameInput (cyclomatic 23): filename-input.FilenameInput has cyclomatic complexity 23 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 8 belong to 6 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/editor/header/filename-input.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f0df6e765547057f61019e11c1e67dbdf9fd44f7a841b44f07f6fc8c6abc1a"}},{"ruleId":"D1","level":"warning","message":{"text":"grid-layout.GridLayoutRenderer (cyclomatic 23): grid-layout.GridLayoutRenderer has cyclomatic complexity 23 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 8 belong to 7 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/editor/renderers/grid-layout/grid-layout.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"72db4a94bb7f8bc30d9ee9879241184db14b23060a9b4a122937b2dfeb008969"}},{"ruleId":"D1","level":"warning","message":{"text":"storage-file-viewer.StorageFileViewer (cyclomatic 23): storage-file-viewer.StorageFileViewer has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 10 of the 23 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 66, renderMetadata, a function literal at line 95, \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/storage/storage-file-viewer.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7596b88971465eb35683d635691587b79fccc03e3470a667fe415f4edaedf9f1"}},{"ruleId":"D1","level":"warning","message":{"text":"storage-inspector.StorageInspector (cyclomatic 23): storage-inspector.StorageInspector has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 5 of the 23 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 920, 868, 1051, \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/storage/storage-inspector.tsx"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"e881d905dbb6b42cc43f3c8c4b03b733813594a7d01bacd4f9184936068f99e6"}},{"ruleId":"D1","level":"warning","message":{"text":"registerReactComponent.registerReactComponent (cyclomatic 23): registerReactComponent.registerReactComponent has cyclomatic complexity 23 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/core/registerReactComponent.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"704c86837d70c77524a77332beff93ec01e286db56341f1d279d981dcc36b396"}},{"ruleId":"D1","level":"warning","message":{"text":"editor-state.applyEditorEdits (cyclomatic 23): editor-state.applyEditorEdits has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/data-editor/editor-state.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8ee5fb8a944fac2d0acc998ea61ec0b33b5993103c772a8523b96325dba8f1"}},{"ruleId":"D1","level":"warning","message":{"text":"MatplotlibRenderer.#handlePointerMove (cyclomatic 23): MatplotlibRenderer.#handlePointerMove has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/matplotlib/matplotlib-renderer.ts"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"918d570819e6eb87701031bc98160619d201c51551dd10bda3f63f1994fb59ed"}},{"ruleId":"D1","level":"warning","message":{"text":"compiler.compile_cell (cyclomatic 22): compiler.compile_cell 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":"marimo/_ast/compiler.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"90864ee0f5249cc7547596d408c5685e6cec7ec6a2cb80205122df58559b8460"}},{"ruleId":"D1","level":"warning","message":{"text":"SQLRef.matches_hierarchical_ref (cyclomatic 22): SQLRef.matches_hierarchical_ref 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":"marimo/_ast/sql_visitor.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7b19f3acdcf17eb494cad3790e5bb56cc5e8d1061b2d96b4478a4d2d5656d2"}},{"ruleId":"D1","level":"warning","message":{"text":"from_ir._convert_output_to_ipynb (cyclomatic 22): from_ir._convert_output_to_ipynb 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":"marimo/_convert/ipynb/from_ir.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1237987cdf3ca4c07992763d21b848923ddc9369ee18925c8328ee4abe6ec2"}},{"ruleId":"D1","level":"warning","message":{"text":"from_ir._notebook_to_markdown_export_document (cyclomatic 22): from_ir._notebook_to_markdown_export_document 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":"marimo/_convert/markdown/from_ir.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94642c92038427ac3e6ae2e712ad509e538f6d189a2689de622f162d0f33127"}},{"ruleId":"D1","level":"warning","message":{"text":"get_datasets._db_type_to_data_type (cyclomatic 22): get_datasets._db_type_to_data_type has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_data/get_datasets.py"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d513ac77bc3a6f5e47f259499aba6873c6e0cdf9ed400a479055c9e7349cc7"}},{"ruleId":"D1","level":"warning","message":{"text":"cache_dirs.delete_blob_dirs (cyclomatic 22): cache_dirs.delete_blob_dirs 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":"marimo/_save/cache_dirs.py"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa11a1a84f35291a69604afb4c020a91d3aeaebc5a9abab2084dd4f0e3eca949"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionManager.create_session (cyclomatic 22): SessionManager.create_session 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":"marimo/_server/session_manager.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7372576160aee5a8e36d8bdb2fc9dd11d102e02e34f407b394d4b064448232b"}},{"ruleId":"D1","level":"warning","message":{"text":"column-header.DataTableColumnHeader (cyclomatic 22): column-header.DataTableColumnHeader has cyclomatic complexity 22 (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/data-table/column-header.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"668b936aba399c3a158d6f748bc57cfe80921f1f5666c355c9fb86e61028b982"}},{"ruleId":"D1","level":"warning","message":{"text":"charts.TablePanel (cyclomatic 22): charts.TablePanel has cyclomatic complexity 22 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 10 belong to 6 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/data-table/charts/charts.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f73f40793b2d74de0bf95486be2dc7982e7ad2439708b5a1e5970e05880fb4"}},{"ruleId":"D1","level":"warning","message":{"text":"paste.extractMarimoApp (cyclomatic 22): paste.extractMarimoApp has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 113, bodyText, pushCell). 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/core/codemirror/misc/paste.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0222fa5903e950954cdea490a7eaecbca20e7e9a6b2ed5269246bb344c141e5b"}},{"ruleId":"D1","level":"warning","message":{"text":"python-ast.getPrefixLength (cyclomatic 22): python-ast.getPrefixLength has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/smart-cells/src/utils/python-ast.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82d7a93e1c21e151b1881ee152ed9bcfa0397617246184ec151b3aed8e5a38f"}},{"ruleId":"D1","level":"warning","message":{"text":"_convert.convert_to_anthropic_messages (cyclomatic 21): _convert.convert_to_anthropic_messages has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ai/_convert.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a976c90d1170f76b165852ae2a85a6c33cc7ec9e7aa525d443c9b22b1b3d5ff"}},{"ruleId":"D1","level":"warning","message":{"text":"to_ir.transform_exclamation_mark (cyclomatic 21): to_ir.transform_exclamation_mark has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_convert/ipynb/to_ir.py"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5953b57f9ccb495cf41c69a8de57180493b2b15e29bef50dc214cb01940a16"}},{"ruleId":"D1","level":"warning","message":{"text":"_EditableTable._apply_column_edit (cyclomatic 21): _EditableTable._apply_column_edit has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/data_editor.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"0959a98481043bc0c211be894dc71e076a520be3a6f769fb633286ec5571a62f"}},{"ruleId":"D1","level":"warning","message":{"text":"plotly._append_scatter_points_to_selection (cyclomatic 21): plotly._append_scatter_points_to_selection has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"565f9e071f03ca05595fc3c54a81a40e31bfd4b816a0fa00a89ba4a7b97a88f9"}},{"ruleId":"D1","level":"warning","message":{"text":"plotly._append_waterfall_bars_to_selection (cyclomatic 21): plotly._append_waterfall_bars_to_selection has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (plotly._append_funnel_points_to_selection) 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2069}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc58214ed70442344c781af9625349d4856c1c4c339f3628aeb58177a5614a5d"}},{"ruleId":"D1","level":"warning","message":{"text":"plotly._append_map_scatter_points_to_selection (cyclomatic 21): plotly._append_map_scatter_points_to_selection has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2309}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60cec75fa5bad0dac071cba962c9e662f20d14c5aed068a8446075fab347057"}},{"ruleId":"D1","level":"warning","message":{"text":"plotly._append_funnel_points_to_selection (cyclomatic 21): plotly._append_funnel_points_to_selection has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (plotly._append_waterfall_bars_to_selection) 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":3386}}}],"partialFingerprints":{"codehealthFindingId/v1":"a723c5670213a71853427add18ecb13a1ec5677af78a7249ff2cfea7cf52b7e6"}},{"ruleId":"D1","level":"warning","message":{"text":"NarwhalsTableManager._get_stats_internal (cyclomatic 21): NarwhalsTableManager._get_stats_internal has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/tables/narwhals_table.py"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9e729a31ceb901cd107b3a5036b1e1b4af8882ab41089323c0eac9de05dd65"}},{"ruleId":"D1","level":"warning","message":{"text":"Cache._convert_to_stub_if_needed (cyclomatic 21): Cache._convert_to_stub_if_needed has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/cache.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a47e6cd6115f6abcc06d3cb150de741bdd3804fbdfc17963b76ca04fe63c18"}},{"ruleId":"D1","level":"warning","message":{"text":"cache_dirs._delete_block_entries (cyclomatic 21): cache_dirs._delete_block_entries has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/cache_dirs.py"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd24f4d97e3521c87008223dbcd03abdf7f8da9965cd037253847fcc6ca261d"}},{"ruleId":"D1","level":"warning","message":{"text":"prune.plan_prune (cyclomatic 21): prune.plan_prune has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/prune.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"982f7793e0c9ccf3c72f61b85661c21591926d1c3a704a2e97692356e07c9023"}},{"ruleId":"D1","level":"warning","message":{"text":"_templates.notebook_page_template (cyclomatic 21): _templates.notebook_page_template has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_templates.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62927c6fc5188519f23eb8e8bc9f2626b94e61a0c4782598166d5db66fe6fe2"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-config.AddModelForm (cyclomatic 21): ai-config.AddModelForm has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to 2 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/app-config/ai-config.tsx"},"region":{"startLine":1675}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df4b9021930d95090e0580aa6635336731b71654554ae4e4773d8ca554c6fa9"}},{"ruleId":"D1","level":"warning","message":{"text":"renderers.DataTableBody (cyclomatic 21): renderers.DataTableBody has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 139, renderRow, renderRows, \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/data-table/renderers.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"09977c8f8d7be1e359dc8628566f397a2299e13bf5d59333f429b7f400d42702"}},{"ruleId":"D1","level":"warning","message":{"text":"use-file-search.useFileSearch (cyclomatic 21): use-file-search.useFileSearch has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 59, 50, 109, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/file-tree/use-file-search.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e5fa0b94bb4cb057cf23eb4fae4180b6ee9122c50ae2023bafd233838bc160"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-panel.RuntimeDetails (cyclomatic 21): runtime-panel.RuntimeDetails has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/panels/runtime-panel.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"672abeb7cc415c4fccce950feba03287ad3a88b9f704049d68fdd35df0f3fa43"}},{"ruleId":"D1","level":"warning","message":{"text":"storage-inspector.StorageEntryRow (cyclomatic 21): storage-inspector.StorageEntryRow has cyclomatic complexity 21 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/storage/storage-inspector.tsx"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0659cdd68531424385a51e7a9167cdccbf4776d9b29e2baf78d54ad52fb7dc1"}},{"ruleId":"D1","level":"warning","message":{"text":"select-list.SelectList (cyclomatic 21): select-list.SelectList has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to 8 function items inside it that branch (handleComboChange, pinnedSeparator, renderTriggerValue, \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/ui/select-core/select-list.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff603676239e51a828d4d0da0de6af8ca658634552016364b04b62e37e22f293"}},{"ruleId":"D1","level":"warning","message":{"text":"MplInteractivePlugin.MplInteractiveSlot (cyclomatic 21): MplInteractivePlugin.MplInteractiveSlot has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 232, 202, 293, \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/plugins/impl/mpl-interactive/MplInteractivePlugin.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23d7b51b4bfe89ba41b9cb0a0c04ebc0b7a23d13d38ac762ecb326de8d00916"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCodeHarness.detect (cyclomatic 20): OpenCodeHarness.detect has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/pair/harnesses/opencode.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5ae2b0caead6dac11fac7c7f536cbd6577948fb0f28a889448b36a9c6436bc"}},{"ruleId":"D1","level":"warning","message":{"text":"target.resolve_target (cyclomatic 20): target.resolve_target has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/pair/target.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bacc051a5cdf60c0353f44b7a86a51eeb66d052761ff2503482288dd7b75d8"}},{"ruleId":"D1","level":"warning","message":{"text":"_better_inspect._build_help (cyclomatic 20): _better_inspect._build_help has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_code_mode/_better_inspect.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b44bd5d8675756fcfa7d10bdad9182e31fe8766f71a37e8cee7b18d1de8276"}},{"ruleId":"D1","level":"warning","message":{"text":"EnvVarReader.read (cyclomatic 20): EnvVarReader.read has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_config/manager.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c82df150a4303143f7312b30a7f52ab717054f50a182122e961016f3440db3"}},{"ruleId":"D1","level":"warning","message":{"text":"plotly._extract_box_points_numpy (cyclomatic 20): plotly._extract_box_points_numpy has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2974}}}],"partialFingerprints":{"codehealthFindingId/v1":"80207bf4de728465ee96877d09c936439a59da4c0781399b34308fac670278fe"}},{"ruleId":"D1","level":"warning","message":{"text":"hooks_post_execution._broadcast_outputs (cyclomatic 20): hooks_post_execution._broadcast_outputs has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runner/hooks_post_execution.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d34937fc584918e2852c29d78b6d08368751e0d3c6a60355d51a7a7d2aa2b22"}},{"ruleId":"D1","level":"warning","message":{"text":"Kernel._delete_variables (cyclomatic 20): Kernel._delete_variables has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runtime.py"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"122f8418763bf11c9c8cf590cbedfdd67bec7591a4763d1e40cb5c6568db8b00"}},{"ruleId":"D1","level":"warning","message":{"text":"Kernel.set_ui_element_value (cyclomatic 20): Kernel.set_ui_element_value has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runtime.py"},"region":{"startLine":2392}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4e5efc45107104ccfe91356836754b98f3a7ad42edbd4e9c2f58e82a689c4e"}},{"ruleId":"D1","level":"warning","message":{"text":"cache_dirs.orphan_blob_dirs (cyclomatic 20): cache_dirs.orphan_blob_dirs has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/cache_dirs.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"606c864f723120d15fd8d418c65905deac7e6b9a9e45d1049a869cbf64737536"}},{"ruleId":"D1","level":"warning","message":{"text":"bindings.existing_sql_bindings (cyclomatic 20): bindings.existing_sql_bindings has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_sql/bindings.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee447c2ae2b74fc77b048c7ad63dda925bfba7787d28e5ef7520899566c8aa5"}},{"ruleId":"D1","level":"warning","message":{"text":"pair-with-agent-modal.PairWithAgentModal (cyclomatic 20): pair-with-agent-modal.PairWithAgentModal has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 belong to 4 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/editor/actions/pair-with-agent-modal.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc0046b05e8cfeafb5bbd509f96f51fbdafe6abd732fa2d88e391631007d723"}},{"ruleId":"D1","level":"warning","message":{"text":"useNotebookActions.useNotebookActions (cyclomatic 20): useNotebookActions.useNotebookActions has cyclomatic complexity 20 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 10 belong to 8 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/actions/useNotebookActions.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"caec4efb78f08bf29395a77ff7441ca16c1a7c5342114e2cabfebec07045baa6"}},{"ruleId":"D1","level":"warning","message":{"text":"normalize-markdown-math.convertRstMathBlocks (cyclomatic 20): normalize-markdown-math.convertRstMathBlocks has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/lsp/normalize-markdown-math.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba09e00d7c2ad0d07aa6cd331005e4e6927c25cdd1ff0aa79b3b443cdd8ca22"}},{"ruleId":"D1","level":"warning","message":{"text":"packages-panel.DependencyTreeNode (cyclomatic 20): packages-panel.DependencyTreeNode has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 belong to 3 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/editor/chrome/panels/packages-panel.tsx"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"affc27f14fd41cdb29972074c20d756263f28325a6d6c2ca0157c6ed79c66526"}},{"ruleId":"D1","level":"warning","message":{"text":"actions.deleteCellsAtom (cyclomatic 20): actions.deleteCellsAtom has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 498, 454, 467, \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/core/cells/actions.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f96fa670490d2d9b044b49826c8941c18e2d66cba845a7dae8ff790ee0eeb1"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsoleOutput.ConsoleOutputInternal (cyclomatic 20): ConsoleOutput.ConsoleOutputInternal has cyclomatic complexity 20 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 7 belong to 3 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/editor/output/console/ConsoleOutput.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc297b4bb9991cd328d09cec19136a06f7a2cc07b68af70158dd90e54b0201c"}},{"ruleId":"D1","level":"warning","message":{"text":"copilot-config.CopilotConfig (cyclomatic 20): copilot-config.CopilotConfig has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 4 function items inside it that branch (renderBody, trySignIn, tryFinishSignIn, \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/core/codemirror/copilot/copilot-config.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"07affc8cf57c4591790d173166208fd940931d5755d16a1d7bd54e2351320003"}},{"ruleId":"D1","level":"warning","message":{"text":"openapi.adjustNode (cyclomatic 20): openapi.adjustNode has cyclomatic complexity 20 (threshold 15). Of this number, 19 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":"packages/host-protocol/src/internal/openapi.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fa898377da0b0dccce6d357dfb3bcf74430247822521ed4bc0b290131bd29c"}},{"ruleId":"D1","level":"warning","message":{"text":"codegen.to_functiondef (cyclomatic 19): codegen.to_functiondef 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":"marimo/_ast/codegen.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c0987dc7cbaa73332041d30bb46e96556843f3065a9e0315c7dbd88e350f89"}},{"ruleId":"D1","level":"warning","message":{"text":"parse.extract_offsets_post_colon (cyclomatic 19): parse.extract_offsets_post_colon 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":"marimo/_ast/parse.py"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"e003256c2f4b7ed3d5bcd401aa80564325eb6249160105b8e36e5e6821e9a5de"}},{"ruleId":"D1","level":"warning","message":{"text":"scanner._find_body_start (cyclomatic 19): scanner._find_body_start 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":"marimo/_ast/scanner.py"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a234a0a61397b815a64fc231c49f08e8082387a127164f2e5e0f813a9e6ebe6"}},{"ruleId":"D1","level":"warning","message":{"text":"media.io_to_data_url (cyclomatic 19): media.io_to_data_url 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":"marimo/_plugins/core/media.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2004159c0833603c281d6715a079dc80593813c0beec30ae748e6d1f6ccbd036"}},{"ruleId":"D1","level":"warning","message":{"text":"image._normalize_image (cyclomatic 19): image._normalize_image 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":"marimo/_plugins/stateless/image.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ef6b82848673cc86b67a26a46754fc926c271a60c8e7155d035f7610e6dc2b"}},{"ruleId":"D1","level":"warning","message":{"text":"altair_chart.__init__ (cyclomatic 19): altair_chart.__init__ has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/altair_chart.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"f602fbb53f0a63d7b7bea74e48a33eb01c9c02467829f679d062b6797686679c"}},{"ruleId":"D1","level":"warning","message":{"text":"range_slider.__init__ (cyclomatic 19): range_slider.__init__ 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":"marimo/_plugins/ui/_impl/input.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c9f69d9dd4146695c6f9c3608f1d67edec838c74831171c5822714c78fcc85"}},{"ruleId":"D1","level":"warning","message":{"text":"geometry_export._prepare_geographic_export (cyclomatic 19): geometry_export._prepare_geographic_export has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/tables/geometry_export.py"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"f867f3d9af6e492e561356e674ba4d73478677c84cde3b6e815befa0177a7804"}},{"ruleId":"D1","level":"warning","message":{"text":"module_watcher.watch_modules (cyclomatic 19): module_watcher.watch_modules 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":"marimo/_runtime/reload/module_watcher.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53013d5b5e66b60bf944f72ae1aa3be400d0650da81ef4d9880ad87610cf944"}},{"ruleId":"D1","level":"warning","message":{"text":"Runner._dispatch_runnable (cyclomatic 19): Runner._dispatch_runnable 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":"marimo/_runtime/runner/cell_runner.py"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"9764c0b605bf8193ae2cf9938c006764fdda8c36f16acb360a69ee768fed34dd"}},{"ruleId":"D1","level":"warning","message":{"text":"translate._describe (cyclomatic 19): translate._describe 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":"marimo/_server/host/translate.py"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"703fb671f63966872044a39e2bababc43ac79318afb5616a411a18674078adb6"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-model-dropdown.AIModelDropdown (cyclomatic 19): ai-model-dropdown.AIModelDropdown has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ai/ai-model-dropdown.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7879e1444ccdd2098eaba1498a216ab257b7727b1578f427975ffa0db8c82123"}},{"ruleId":"D1","level":"warning","message":{"text":"column-summary.TableColumnSummary::renderStats (cyclomatic 19): column-summary.TableColumnSummary::renderStats 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":"frontend/src/components/data-table/column-summary/column-summary.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ab093ef8f17588154f79bfccdb953fcf4cc29ed076165dec241ccbefcb73ae"}},{"ruleId":"D1","level":"warning","message":{"text":"filter-pill-editor.toDraftValue (cyclomatic 19): filter-pill-editor.toDraftValue has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/filter-pill-editor.tsx"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f090963af528b59f0f0c3087467082371bcc184dad7cb5df8d4ccd0a85b092"}},{"ruleId":"D1","level":"warning","message":{"text":"charts.ChartPanel (cyclomatic 19): charts.ChartPanel has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 355, a function literal at line 399, renderChartDisplay). 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/data-table/charts/charts.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fdef59b5c586118fda9a1346f13179622c84179983ac26da457a484f2542bf"}},{"ruleId":"D1","level":"warning","message":{"text":"backend-status.BackendConnectionStatus (cyclomatic 19): backend-status.BackendConnectionStatus has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 40, getStatusIcon, getStatusInfo). 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/editor/chrome/wrapper/footer-items/backend-status.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5561f607306174aa92311c727208381475001496e6f9f55c8fcb72200f61883"}},{"ruleId":"D1","level":"warning","message":{"text":"SortableCellsProvider.SortableCellsProviderInternal (cyclomatic 19): SortableCellsProvider.SortableCellsProviderInternal has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 155, 92, 192, \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/sort/SortableCellsProvider.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b859dfb0a08221b1ff1fe8329f7f9480ae8484618369c66cd4b132490e96e76"}},{"ruleId":"D1","level":"warning","message":{"text":"freshness.freshnessOf (cyclomatic 19): freshness.freshnessOf has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 4 function items inside it that branch (inputsChanged, a function literal at line 93, sourceChanged, \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/core/executions/freshness.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ca901e7947ff40c0a10fd0ae253329260317f951eb7bd67a110bfaae7a7267"}},{"ruleId":"D1","level":"warning","message":{"text":"analyzer.findDeclarationSites (cyclomatic 19): analyzer.findDeclarationSites has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 3 function items inside it that branch (collectTargetNames, collectAssignmentTargets, visit). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/code-lens/analyzer.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4067a63b5aee84f4b75e88d16c5a8a5bae4cae7a8db9802aad79f52125bbf3f3"}},{"ruleId":"D1","level":"warning","message":{"text":"extension.copilotBundle (cyclomatic 19): extension.copilotBundle has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 56, 102, 157). 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/core/codemirror/copilot/extension.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0ad69ba467f0857729b64c52a08950684c4ad6969b6ef5a20d5cf661ddaf4e"}},{"ruleId":"D1","level":"warning","message":{"text":"data-source-connections.allTablesAtom (cyclomatic 19): data-source-connections.allTablesAtom has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to one function item inside it that branches (walkSchema). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/datasets/data-source-connections.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6823157feed8160b5fb0435815d3176f029cdb18a9269fba245b034242198d"}},{"ruleId":"D1","level":"warning","message":{"text":"registerReactComponent.PluginSlotInternal (cyclomatic 19): registerReactComponent.PluginSlotInternal has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 204, 193, 146, \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/plugins/core/registerReactComponent.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"805331562495e168e95f22d4731bd0508db650819cc777119f669f97a7fe815c"}},{"ruleId":"D1","level":"warning","message":{"text":"matplotlib-renderer.getResizeHandle (cyclomatic 19): matplotlib-renderer.getResizeHandle has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/matplotlib/matplotlib-renderer.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc94a301c6c5ab5394982bb85bdd0c5610a676aed0a87081dc325a14ea430bf"}},{"ruleId":"D1","level":"warning","message":{"text":"merge.mergeModels (cyclomatic 19): merge.mergeModels 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":"packages/llm-info/src/sources/merge.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9da1c23c01e332c6aef5f773676a0637827174a33fa7492a2b011ff11848de"}},{"ruleId":"D1","level":"warning","message":{"text":"sync-models.refreshMetadata (cyclomatic 19): sync-models.refreshMetadata 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":"packages/llm-info/src/sync-models.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ba190d7384de8b99024aa5b4b1e80a3419abc2707db7a2e2651978611488cd"}},{"ruleId":"D1","level":"warning","message":{"text":"GetCellDependencyGraph.handle (cyclomatic 18): GetCellDependencyGraph.handle 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":"marimo/_ai/_tools/tools/dependency_graph.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e033247ef6125d22247106a6f5f08ef9509392596f018d1d14c3e5a2513915"}},{"ruleId":"D1","level":"warning","message":{"text":"codegen.format_markdown (cyclomatic 18): codegen.format_markdown 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":"marimo/_ast/codegen.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"142f9d7a8f8202ac105582a7ff32307881b899a921a601c0a5df9c6c6e066f8e"}},{"ruleId":"D1","level":"warning","message":{"text":"ScopedVisitor.visit_Name (cyclomatic 18): ScopedVisitor.visit_Name 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":"marimo/_ast/visitor.py"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c28b016c147e44465a64c84294520944d4cf840b8278ef15166ff3e70416c2e"}},{"ruleId":"D1","level":"warning","message":{"text":"to_ir._strip_paragraph_tags (cyclomatic 18): to_ir._strip_paragraph_tags 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":"marimo/_convert/ipynb/to_ir.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8cd644ddce545412b788bfeec57cd1af524a1afda41698b8fd95bc0fcb5d74"}},{"ruleId":"D1","level":"warning","message":{"text":"preview_column._sanitize_data (cyclomatic 18): preview_column._sanitize_data 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":"marimo/_data/preview_column.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d73d445e8bee72dd0ff08587c19969a724bbf8ab71d237300e8416474695114"}},{"ruleId":"D1","level":"warning","message":{"text":"NotebookDocument._apply_change (cyclomatic 18): NotebookDocument._apply_change 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":"marimo/_messaging/notebook/document.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"361d9b8f704c867eed32ab42252c0047f5f8820e4475efa845370d9ae6e5bd11"}},{"ruleId":"D1","level":"warning","message":{"text":"reconcile.reconcile_transaction (cyclomatic 18): reconcile.reconcile_transaction 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":"marimo/_messaging/notebook/reconcile.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6678a2a1a9156ac9c1e8b3422c32f022ae4f6b027f6226fbf36b553f4accbe"}},{"ruleId":"D1","level":"warning","message":{"text":"inspect.__init__ (cyclomatic 18): inspect.__init__ 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":"marimo/_plugins/stateless/inspect.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"800847bd1b985abf58ba9ae4f5ef39ffc2902d3f4aaf714565ffb12f4fe3bc68"}},{"ruleId":"D1","level":"warning","message":{"text":"plotly._extract_waterfall_bars_fallback (cyclomatic 18): plotly._extract_waterfall_bars_fallback 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2244}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e2b2f88344f4626debab4c93f6f6d42abd0e2b45c41f9580ea4d2b4e03eee7"}},{"ruleId":"D1","level":"warning","message":{"text":"plotly._build_global_category_order (cyclomatic 18): plotly._build_global_category_order 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2918}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fabdc5b42674ac260ebdc296c3e76121dd0da227e80f0b1e3cc94b2dbeff55"}},{"ruleId":"D1","level":"warning","message":{"text":"plotly._extract_funnel_stages_numpy (cyclomatic 18): plotly._extract_funnel_stages_numpy 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":3493}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc99aae50e3006046b6dc4c1f02e39d275cbf57d3f7b5574beeea552bfe5d9ea"}},{"ruleId":"D1","level":"warning","message":{"text":"prompts.get_refactor_or_insert_notebook_cell_system_prompt (cyclomatic 18): prompts.get_refactor_or_insert_notebook_cell_system_prompt 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":"marimo/_server/ai/prompts.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"555dc2196a770b47bae9b607bc54a04736ebc0525946dfd20bf5cf601ee7467b"}},{"ruleId":"D1","level":"warning","message":{"text":"health.usage (cyclomatic 18): health.usage has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/api/endpoints/health.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9981174e6c8a596e607e097785d8b293f84cd1069553bcc2b4659584503a95"}},{"ruleId":"D1","level":"warning","message":{"text":"errors.handle_error (cyclomatic 18): errors.handle_error 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":"marimo/_server/errors.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94e8c48e6f3932a12643643a2fe71719a69eea23c8432822e4e28a48e0ea507"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionBackend._handle_notification (cyclomatic 18): SessionBackend._handle_notification 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":"marimo/_server/host/backend.py"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6453a80f13953d565e9b9071e7330ae66f6f2a87ac07dfec449b3d304d694b"}},{"ruleId":"D1","level":"warning","message":{"text":"IPCKernelManagerImpl.close_kernel (cyclomatic 18): IPCKernelManagerImpl.close_kernel 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":"marimo/_session/managers/ipc.py"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc31a2f99f11005c3422729634b511f3b961572dc962d54a0d9523059befdc83"}},{"ruleId":"D1","level":"warning","message":{"text":"serialize.deserialize_session (cyclomatic 18): serialize.deserialize_session 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":"marimo/_session/state/serialize.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ef38bd343a8c0621a8e4094cb4a1172b595ae42c6e57f7e0961b6cb17a51c6"}},{"ruleId":"D1","level":"warning","message":{"text":"AdbcConnectionCatalog.get_databases (cyclomatic 18): AdbcConnectionCatalog.get_databases 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":"marimo/_sql/engines/adbc.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"36afd05c692c92c2b5afcc7d327f00a9179452171ca8769cee4d2f65609f96e4"}},{"ruleId":"D1","level":"warning","message":{"text":"uv_tree._parse_tree (cyclomatic 18): uv_tree._parse_tree 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":"marimo/_utils/uv_tree.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"744a09b1097ee78657db30905a51098121f705026d78e65485b2594e2ae63a7d"}},{"ruleId":"D1","level":"warning","message":{"text":"shortcuts.areKeysPressed (cyclomatic 18): shortcuts.areKeysPressed 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":"frontend/src/core/hotkeys/shortcuts.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1113e6bbf625e4d9749f9860d35b43e7fc63eb413b856c7b71123fed11c4e2ce"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-display.renderUIMessage::renderPart (cyclomatic 18): chat-display.renderUIMessage::renderPart 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":"frontend/src/components/chat/chat-display.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec429ac0a99dd2b8e4e5db71af47b466d9698a712fadb6bc7ac638d3743ff4f8"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonOutput.JsonTree (cyclomatic 18): JsonOutput.JsonTree has cyclomatic complexity 18 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 9 belong to 4 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/editor/output/JsonOutput.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9d36a53b60c07bc434aa03e5686d72963c2e7cd1033010282c25b08d7f752f"}},{"ruleId":"D1","level":"warning","message":{"text":"column-visibility-dropdown.ColumnVisibilityDropdown (cyclomatic 18): column-visibility-dropdown.ColumnVisibilityDropdown has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 204, a function literal at line 184, applyHidden, \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/data-table/column-visibility-dropdown.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda8277f043fff26285e7d0b8fc6a4e8f732503d889d783049d769f65d131da5"}},{"ruleId":"D1","level":"warning","message":{"text":"secret-combobox.SecretCombobox (cyclomatic 18): secret-combobox.SecretCombobox has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/connections/secret-combobox.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"95160e69fe808b311f84b069ad425002c14939940f010c44567f1615dcd7783b"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-settings.RuntimeSettings (cyclomatic 18): runtime-settings.RuntimeSettings has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function item 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/editor/chrome/wrapper/footer-items/runtime-settings.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a1b747d82a43b66bd2c03e1aba21f3421a41a5370fcd0dcccbf76837f7119d"}},{"ruleId":"D1","level":"warning","message":{"text":"minimap.SlidesMinimap (cyclomatic 18): minimap.SlidesMinimap has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 7 function items inside it that branch (handleDragEnd, a function literal at line 363, a function literal at line 249, \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/slides/minimap.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"057130e16cec7b9fc8c978a7c9a680c50ccfd94c524e459a256181f5769074a3"}},{"ruleId":"D1","level":"warning","message":{"text":"EditNotebookTool.handler (cyclomatic 18): EditNotebookTool.handler 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":"frontend/src/core/ai/tools/edit-notebook-tool.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"819421dcb548b52534ef377d3beba45c50804a2bfb054507d25ae94e88a41747"}},{"ruleId":"D1","level":"warning","message":{"text":"vim.applyVimCommands (cyclomatic 18): vim.applyVimCommands has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (map, noremap, unmap, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/keymaps/vim.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"582b6f4610ea32a1fd51527f724c6bbbaaf9f388f43c19c6fb60364ef919bcc0"}},{"ruleId":"D1","level":"warning","message":{"text":"useNotebookSession.useNotebookSession (cyclomatic 18): useNotebookSession.useNotebookSession has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 474, 452, 392, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/session/useNotebookSession.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"702fe53fe0567bac88d58af2bcaad0f3db7151f90e99eca5918ca033c3f51178"}},{"ruleId":"D1","level":"warning","message":{"text":"loader.vegaLoadData (cyclomatic 18): loader.vegaLoadData has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 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/plugins/impl/vega/loader.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83e92aa0b5731daf37fd027384078037e738946efebc2335e2f79e57e7dd4aa"}},{"ruleId":"D1","level":"warning","message":{"text":"edit-distance.editDistanceGeneral (cyclomatic 18): edit-distance.editDistanceGeneral has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/utils/edit-distance.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"270d92950feb65165bbf9b704bf132187515178f4a18c38457de8cf90f48344a"}},{"ruleId":"D1","level":"warning","message":{"text":"discovery.discoverHosts (cyclomatic 18): discovery.discoverHosts 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":"packages/client/src/node/discovery.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d477da38786d3de7153c01ff6d79b1cd0b12a8b729eb20ac6c2fbd561a5af95d"}},{"ruleId":"D1","level":"warning","message":{"text":"Cell.__call__ (cyclomatic 17): Cell.__call__ 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":"marimo/_ast/cell.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3eabc32869df3f0f9f4111130e78f70b5591591b58739bd369a0fcac0b4ac3d"}},{"ruleId":"D1","level":"warning","message":{"text":"cli.run (cyclomatic 17): cli.run 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":"marimo/_cli/cli.py"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"24dbf628e10ea1bce4e40975934fb6c62c81022f8618821927353d244632ac02"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.pdf (cyclomatic 17): commands.pdf 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":"marimo/_cli/export/commands.py"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c96fca584aed401d68a2918f0464d1ab939ad8eb17c7b4ffc526e75850a105c"}},{"ruleId":"D1","level":"warning","message":{"text":"_context._plan_to_document_ops (cyclomatic 17): _context._plan_to_document_ops 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":"marimo/_code_mode/_context.py"},"region":{"startLine":1976}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fae85f79757b116852e2970cbef2e8c4862bd0087dfb07de96dcf987f70c34f"}},{"ruleId":"D1","level":"warning","message":{"text":"ReusableDefinitionOrderRule._stable_provider_order (cyclomatic 17): ReusableDefinitionOrderRule._stable_provider_order 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":"marimo/_lint/rules/runtime/reusable_definition_order.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f432f6d6d15df43a870a94e2ade14339eec94637a7a29a66658a89d8959820a6"}},{"ruleId":"D1","level":"warning","message":{"text":"variables.get_variable_preview (cyclomatic 17): variables.get_variable_preview 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":"marimo/_messaging/variables.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"321474a091e0c91d322ce43087b55a5795743f302b2539948f6b5b404cb85c9c"}},{"ruleId":"D1","level":"warning","message":{"text":"_EditableTable._apply_positional_edit (cyclomatic 17): _EditableTable._apply_positional_edit 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":"marimo/_plugins/ui/_impl/data_editor.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0ab01ca501fc7fbc0fee58c09972dbb42a6cecb3c1cefe290dcdcd9c1620bd"}},{"ruleId":"D1","level":"warning","message":{"text":"data_editor._convert_like (cyclomatic 17): data_editor._convert_like 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":"marimo/_plugins/ui/_impl/data_editor.py"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed307f21a9f484c71ab942fceb5bcb4841afb1a59ac68bceb7ef981bd0e8a2e"}},{"ruleId":"D1","level":"warning","message":{"text":"file_browser._list_directory (cyclomatic 17): file_browser._list_directory 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":"marimo/_plugins/ui/_impl/file_browser.py"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd84950f606e56181bbdb0c9d0fba46c2762d1269594d041a5b5ff71c1deed1"}},{"ruleId":"D1","level":"warning","message":{"text":"slider.__init__ (cyclomatic 17): slider.__init__ 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":"marimo/_plugins/ui/_impl/input.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"796a11b97ffefd526615c3190ba1e7a0fb71a0f34915bef8a822ecb068ac9c06"}},{"ruleId":"D1","level":"warning","message":{"text":"plotly._extract_heatmap_cells_fallback (cyclomatic 17): plotly._extract_heatmap_cells_fallback 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e138bdbdf73f828d44b025263e782d446d467e894f3a5de0449af9745f65f1"}},{"ruleId":"D1","level":"warning","message":{"text":"PackagesCallbacks.missing_packages_hook (cyclomatic 17): PackagesCallbacks.missing_packages_hook 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":"marimo/_runtime/callbacks/packages.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b89aa34afe24103363c33c85c5717b50a577c6b1268a21e71658809daa2aaf"}},{"ruleId":"D1","level":"warning","message":{"text":"_micropip_streaming.stream_transaction_install (cyclomatic 17): _micropip_streaming.stream_transaction_install has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/packages/_micropip_streaming.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"422821a2c62d444f285b50d75e9a9dfb9a3bf324cd1fc1010ae72c658ba187d3"}},{"ruleId":"D1","level":"warning","message":{"text":"primitives.is_data_primitive (cyclomatic 17): primitives.is_data_primitive 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":"marimo/_runtime/primitives.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"baae6f85f86a31954d355fc742517e449e1e8cd989a342c713bf7a3ed84f7669"}},{"ruleId":"D1","level":"warning","message":{"text":"Cache._restore_from_stub_if_needed (cyclomatic 17): Cache._restore_from_stub_if_needed 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":"marimo/_save/cache.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e10e73d78f840058087c28c12fcc9090478004c5fa7bdcc3adf91ee86ca40cb"}},{"ruleId":"D1","level":"warning","message":{"text":"encode.primitive_to_bytes (cyclomatic 17): encode.primitive_to_bytes 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":"marimo/_save/encode.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"018722c13c72b6dea2d2ead531204b847d2d447d18940eb5ea6ff3d384efdcf6"}},{"ruleId":"D1","level":"warning","message":{"text":"_cache_call._set_context (cyclomatic 17): _cache_call._set_context 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":"marimo/_save/save.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a40f2c2e9cf9a3fbbd66566acb39e682b8fc86000cffa3d9790323991e55e42"}},{"ruleId":"D1","level":"warning","message":{"text":"dependency_tree.parse_uv_tree (cyclomatic 17): dependency_tree.parse_uv_tree 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":"marimo/_server/api/dependency_tree.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f4211faad2cd639f145e71d5ad75629467794f4e67de5d697620d3e268a449"}},{"ruleId":"D1","level":"warning","message":{"text":"record.discover_hosts (cyclomatic 17): record.discover_hosts 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":"marimo/_server/host/record.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4a51453c4fb7d42afae3d28d796346b450fbfbc1298dedcff463c0991ef0bb"}},{"ruleId":"D1","level":"warning","message":{"text":"scratchpad.extract_result (cyclomatic 17): scratchpad.extract_result 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":"marimo/_server/scratchpad.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"4790d21494fd3e71b32671f638e5ef4f3b68f19358f1a8e9ca5c6dcaf37e3d2b"}},{"ruleId":"D1","level":"warning","message":{"text":"cell_matching._match_cell_ids_by_similarity (cyclomatic 17): cell_matching._match_cell_ids_by_similarity 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":"marimo/_utils/cell_matching.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9e691268b30b93cd0a5ea9338f039e08f9aa8b47de2cc6a6688c00e6d25e48"}},{"ruleId":"D1","level":"warning","message":{"text":"page_actions.createDropdown (cyclomatic 17): page_actions.createDropdown has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 6 function items inside it that branch (a function literal at line 302, a function literal at line 327, a function literal at line 251, \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":"docs/_static/js/page_actions.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd05fc32a1f8c8aeae2d30b144860f3b38b261dc6c8957118ba73bf3871f7f3"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-config.CustomProvidersConfig (cyclomatic 17): ai-config.CustomProvidersConfig has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 644, 651, 745, \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/app-config/ai-config.tsx"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"698b622a93d9efc30ce7b321bd3c15875cc1942f78c37356d632000030c84249"}},{"ruleId":"D1","level":"warning","message":{"text":"MarimoTracebackOutput.MarimoTracebackOutput (cyclomatic 17): MarimoTracebackOutput.MarimoTracebackOutput has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/MarimoTracebackOutput.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c2f8342824d14411fe3051f07c5ad61afd5df3f29238f95557a938182ec300"}},{"ruleId":"D1","level":"warning","message":{"text":"TableBottomBar.TableBottomBar (cyclomatic 17): TableBottomBar.TableBottomBar has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 4 function items inside it that branch (renderTotal, handleSelectAllRows, a function literal at line 72, \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/data-table/TableBottomBar.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"598683c351431203d71401144d326c6384a15839feb18a6bf44c52dd3f087c19"}},{"ruleId":"D1","level":"warning","message":{"text":"use-cell-range-selection.useCellRangeSelection.handleCellsKeyDown (cyclomatic 17): use-cell-range-selection.useCellRangeSelection.handleCellsKeyDown has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/range-focus/use-cell-range-selection.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ba1e640d40c45c5d0fe7578f108ee0bde05c92d948c95966b22606bb449b74"}},{"ruleId":"D1","level":"warning","message":{"text":"state.getExportFormatStatus (cyclomatic 17): state.getExportFormatStatus 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":"frontend/src/components/editor/actions/export-dialog/state.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"b272e6f241bc08355420fc38fb02ef661653760677c7ad1adf3026358140fbcf"}},{"ruleId":"D1","level":"warning","message":{"text":"renderers.renderTableInfo (cyclomatic 17): renderers.renderTableInfo has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/language/languages/sql/renderers.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2e81399b1ed1e2f8f60c7b57fd379186b3865b0827116f33fc5ded55e597a4"}},{"ruleId":"D1","level":"warning","message":{"text":"NotebookLanguageServerClient.textDocumentRename (cyclomatic 17): NotebookLanguageServerClient.textDocumentRename has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own 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/core/codemirror/lsp/notebook-lsp.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1af2e8d092dab0714a89022fcec5f5081a1c4caa2ff5eee0bcc3d1a9237e1ce"}},{"ruleId":"D1","level":"warning","message":{"text":"sync.createDocumentSync.drain (cyclomatic 17): sync.createDocumentSync.drain 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":"frontend/src/core/notebook/document/sync.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5c180378fc4a44c45d1a231bf0e6535c5439d7315346231965cc2607958897"}},{"ruleId":"D1","level":"warning","message":{"text":"useTheme.getHostTheme (cyclomatic 17): useTheme.getHostTheme 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":"frontend/src/theme/useTheme.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"518f01492877da37423f1d49df209310bcd34253f6545c19121924536bcb7462"}},{"ruleId":"D1","level":"warning","message":{"text":"swiper-component.SlidesComponent (cyclomatic 17): swiper-component.SlidesComponent has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 43, 105, 112, \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/slides/swiper-component.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f2e60f6e550c8d5e3130e67a98fe0d359888be0ff8de96e8cc6238583cb150"}},{"ruleId":"D1","level":"warning","message":{"text":"calendar.CalendarCell (cyclomatic 17): calendar.CalendarCell has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 111). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ui/calendar.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdaae8245db8bed59093d1540d8f13b9924ee7558ad5bb0b602b30e75bb29a3"}},{"ruleId":"D1","level":"warning","message":{"text":"hooks.useEnrichCellOutputs.\u003Creturned closure\u003E (cyclomatic 17): hooks.useEnrichCellOutputs.\u003Creturned closure\u003E 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":"frontend/src/core/export/hooks.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16857a0fd4ec8cb8acd664d4d699c41e8115ee7d70b3bbce514ed7b54aea41d"}},{"ruleId":"D1","level":"warning","message":{"text":"glide-utils.isValidCellValue (cyclomatic 17): glide-utils.isValidCellValue has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/data-editor/glide-utils.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"92de17d596b77956baac9bfc8484234fd4499cae5423511ccade455c395fc6e9"}},{"ruleId":"D1","level":"warning","message":{"text":"DataFramePlugin.DataFrameComponent (cyclomatic 17): DataFramePlugin.DataFrameComponent has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/data-frames/DataFramePlugin.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5ef95d5f0974246c2fe343d3250f76f7c1c5bde552ddf71405acef37ae483e"}},{"ruleId":"D1","level":"warning","message":{"text":"urls.appendQueryParams (cyclomatic 17): urls.appendQueryParams 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":"frontend/src/utils/urls.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e069429b52c73f4582add7cd89adf9dde6297568c9442789eeff1b3cc93b4417"}},{"ruleId":"D1","level":"warning","message":{"text":"generate-protocol.operationsModule (cyclomatic 17): generate-protocol.operationsModule has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/scripts/generate-protocol.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ffe436a8f519a5f506d23a62a8a4c458f20c139e2262795fac4491d1c80b89"}},{"ruleId":"D1","level":"warning","message":{"text":"cli.edit (cyclomatic 16): cli.edit 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":"marimo/_cli/cli.py"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a844ef050ed18e5280a0325f3791c55c4277b0d2fcf1647abfe38d3a507d8e1"}},{"ruleId":"D1","level":"warning","message":{"text":"client.list_sessions (cyclomatic 16): client.list_sessions 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":"marimo/_cli/pair/client.py"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2cce01e75c0c2b1650d63c472e70609a5e22defb4dc028ed4e1a826d00be8a"}},{"ruleId":"D1","level":"warning","message":{"text":"parse_args.parse_args (cyclomatic 16): parse_args.parse_args 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":"marimo/_cli/parse_args.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10ad94580cd00cc9365f42aaf742061d66d7d0c53e79463fad273a88e854e39"}},{"ruleId":"D1","level":"warning","message":{"text":"Document.apply (cyclomatic 16): Document.apply 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":"marimo/_core/document.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cca2f1f3bbcee704ccc3900f5d6e18770a10c1e17784ec74c195009c0c5352"}},{"ruleId":"D1","level":"warning","message":{"text":"plotly._extract_heatmap_cells_numpy (cyclomatic 16): plotly._extract_heatmap_cells_numpy 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9511fa189408b2e57d8b1dd19aacd87dd98e2810dbd806e284907f17d8e82c1"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultTableManager.select_cells (cyclomatic 16): DefaultTableManager.select_cells 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":"marimo/_plugins/ui/_impl/tables/default_table.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d867f95e525f86bbb737b3c7774d622cb2169088847dc2c856defca7a70e3ac9"}},{"ruleId":"D1","level":"warning","message":{"text":"complete.complete (cyclomatic 16): complete.complete 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":"marimo/_runtime/complete.py"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a94221524140e319046511f9aba29ba4d1ad60ad9986ddf15f5b4249dd829e"}},{"ruleId":"D1","level":"warning","message":{"text":"edges.resolve_cell_references (cyclomatic 16): edges.resolve_cell_references 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":"marimo/_runtime/dataflow/edges.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0ae30d856a05f4382cfdfae59faa22e68570e1f00289d05d0c480dd68e9817"}},{"ruleId":"D1","level":"warning","message":{"text":"Kernel._maybe_register_cell (cyclomatic 16): Kernel._maybe_register_cell 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":"marimo/_runtime/runtime.py"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"21211f9d2c384aa36d895d8553d7c94c3a4cdb8d56ce93e0ddeb28fc3ddd0317"}},{"ruleId":"D1","level":"warning","message":{"text":"Kernel.prepare_execution_requests (cyclomatic 16): Kernel.prepare_execution_requests 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":"marimo/_runtime/runtime.py"},"region":{"startLine":2034}}}],"partialFingerprints":{"codehealthFindingId/v1":"31874237356d898b257ffcd954f13e42aa52a32e1fb3799073cd071637a77467"}},{"ruleId":"D1","level":"warning","message":{"text":"lazy.to_item (cyclomatic 16): lazy.to_item 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":"marimo/_save/loaders/lazy.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca4aa6d5ccf13a4f688d4ed69db6fe00ab1bf5fcc0a4194b7a36fede9bf257e"}},{"ruleId":"D1","level":"warning","message":{"text":"_cache_context.trace (cyclomatic 16): _cache_context.trace 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":"marimo/_save/save.py"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"51958027861c7d59b4c8ff07791804dfd6ee033e1f4367f72ebf9468b2d1446a"}},{"ruleId":"D1","level":"warning","message":{"text":"serialize.serialize_session_view (cyclomatic 16): serialize.serialize_session_view 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":"marimo/_session/state/serialize.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3604f2242568d21cc237ec6f7974d9d7e503055f4513de4d434855e1e3e55b67"}},{"ruleId":"D1","level":"warning","message":{"text":"inline_script_metadata._pyproject_toml_to_requirements_txt (cyclomatic 16): inline_script_metadata._pyproject_toml_to_requirements_txt 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":"marimo/_utils/inline_script_metadata.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d84e0623fc11c36f81c182879ad05a409e417f1045349d0c03cd0957b33a35c"}},{"ruleId":"D1","level":"warning","message":{"text":"blocks.ToolBodyBlock (cyclomatic 16): blocks.ToolBodyBlock has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/chat/acp/blocks.tsx"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c90fea7bf02c2114bf3aba69e0d78f619337ff11fb23f2fa5d283b1eadd15a"}},{"ruleId":"D1","level":"warning","message":{"text":"pending-ai-cells.PendingAICells (cyclomatic 16): pending-ai-cells.PendingAICells has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to 3 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/editor/chrome/wrapper/pending-ai-cells.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f06306c08bc06f9afd6dd39bbf2ccdf9a0ad9354d7cb6ab4e1f5370ba77eb86"}},{"ruleId":"D1","level":"warning","message":{"text":"column-preview.DatasetColumnPreview (cyclomatic 16): column-preview.DatasetColumnPreview has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/datasources/column-preview.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf9421fbcb3973afd1f8b3284ae7d0f26cdf0d71e81983a670ffb719342fb30"}},{"ruleId":"D1","level":"warning","message":{"text":"TerminalBuffer.handleEscape (cyclomatic 16): TerminalBuffer.handleEscape has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/ansi-reduce.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1964a43dd455efbdc92b41c5beeb34e81e12e9b1c4f8d0138bc48fbc4ee6db3b"}},{"ruleId":"D1","level":"warning","message":{"text":"minimap.SlideThumbnailCard (cyclomatic 16): minimap.SlideThumbnailCard has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/slides/minimap.tsx"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"2557e1d8c78d5679e8d2a710f4d201716bb7146140fac48ebcdbe712785cea52"}},{"ruleId":"D1","level":"warning","message":{"text":"analyzer.analyzeCacheSite (cyclomatic 16): analyzer.analyzeCacheSite 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":"frontend/src/core/codemirror/code-lens/analyzer.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6bfd52ad2c6b9d1087c438ef9f240b4bd02306610cf53493b069c4c3ce4623"}},{"ruleId":"D1","level":"warning","message":{"text":"error-entries.describeError (cyclomatic 16): error-entries.describeError 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":"frontend/src/core/errors/error-entries.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad892e9b8c3970c4b6b7e3ceeb3489728b3ad98ea8e4b703ce77a65865bf74d"}},{"ruleId":"D1","level":"warning","message":{"text":"useConnectionNotice.useConnectionNotice (cyclomatic 16): useConnectionNotice.useConnectionNotice has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 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/core/network/useConnectionNotice.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9415ba0e11d5fb0d6c00c0f7ae532b7a63635cd1b6771ab9469ce05914897904"}},{"ruleId":"D1","level":"warning","message":{"text":"useResizeHandle.useResizeHandle (cyclomatic 16): useResizeHandle.useResizeHandle has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 40, 22, 87, \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/hooks/useResizeHandle.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5d1c16c8dd9ca12a627241eaca39ec9b64095bd48bf57a4fe184f2773008d4"}},{"ruleId":"D1","level":"warning","message":{"text":"ProgressPlugin.ProgressComponent (cyclomatic 16): ProgressPlugin.ProgressComponent has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 2 function items inside it that branch (renderMeta, renderProgress). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/layout/ProgressPlugin.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c8dd9984a4596a92900912f9e51513938909ffd8442f81e24768198898b793"}},{"ruleId":"D1","level":"warning","message":{"text":"StatPlugin.StatComponent (cyclomatic 16): StatPlugin.StatComponent has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/layout/StatPlugin.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"75426c09d7abfb875261c813ee39130f606dba0b091f63f7fe36da2dc9f740d0"}},{"ruleId":"D1","level":"warning","message":{"text":"traceback.getTracebackInfo (cyclomatic 16): traceback.getTracebackInfo 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":"frontend/src/utils/traceback.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"759aa7b00843e1e98db4fcbc8de243abd7191475b0f60013aadcfc8e10e49ac2"}},{"ruleId":"D1","level":"warning","message":{"text":"request.request (cyclomatic 16): request.request has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/request.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3479fad296ccdf39fd846e16547fb9b7d28833538ed8d2228aef8f4ba88bcd"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerSentEventStream.constructor (cyclomatic 16): ServerSentEventStream.constructor has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/transport/sse.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"90548c94ce57978c7b3087e7052b3953c592a81c858b71461e8e7160309b12bd"}},{"ruleId":"D1","level":"warning","message":{"text":"sse.sse.\u003Creturned closure\u003E (cyclomatic 16): sse.sse.\u003Creturned closure\u003E has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/transport/sse.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c5e90aa0678f3b3f00332eb68eaf11cad2578daa575705afbed7942b185f7c"}},{"ruleId":"D1","level":"warning","message":{"text":"models-dev.parseModelsDev (cyclomatic 16): models-dev.parseModelsDev has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/llm-info/src/sources/models-dev.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5b03619cc0de980cdf6bb5c1efdf5406486732dc538831bf14daa1602fee64"}},{"ruleId":"D2","level":"warning","message":{"text":"analyzer.findReactiveVariables::collectDeclarations (cognitive 130): analyzer.findReactiveVariables::collectDeclarations has cognitive complexity 130 (threshold 15). Drivers by points: if/else 32 (88 pts), loops 14 (34 pts), boolean chains 7, match/switch 1 (nesting depth added 76). To reduce it, split the body into named stages: move each independent step or branch into 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/core/codemirror/reactive-references/analyzer.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7c5428b9524d082d72562e8cbd0f80865f58f3cf0d6c1d7d1a0acbeeb8c4e7"}},{"ruleId":"D2","level":"warning","message":{"text":"sql_visitor.find_sql_defs (cognitive 118): sql_visitor.find_sql_defs has cognitive complexity 118 (threshold 15). Drivers by points: if/else 28 (101 pts), boolean chains 11, loops 2 (6 pts) (nesting depth added 77). 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":"marimo/_ast/sql_visitor.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a258dd02a2c48765893bbb85b7840e7e0998310e82f6ab9a67e627f0d8aa86"}},{"ruleId":"D2","level":"warning","message":{"text":"export-actions.ExportActions (cognitive 108): export-actions.ExportActions has cognitive complexity 108 (threshold 15). Drivers by points: boolean chains 44, ternaries 30 (34 pts), if/else 23 (25 pts), error handling 3, match/switch 2 (nesting depth added 6). Most of this is not in the body itself: 15 of the 108 points are its own statements and the rest belongs to 18 function items inside it that branch (a function literal at line 756, resolveDownloadUrl, a function literal at line 647, \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/data-table/export-actions.tsx"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8a9e9b1616b1bf7fdf8bf0840a101f059430201fc76808b76a92d0e074a12d"}},{"ruleId":"D2","level":"warning","message":{"text":"msgspec_encoder.enc_hook (cognitive 105): msgspec_encoder.enc_hook has cognitive complexity 105 (threshold 15). Drivers by points: if/else 55 (91 pts), error handling 5 (10 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_messaging/msgspec_encoder.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"195335e5e81d4afe28d2cb91730da03684d88826bdf198fd164989ee05919f40"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._append_violin_points_to_selection (cognitive 104): plotly._append_violin_points_to_selection has cognitive complexity 104 (threshold 15). Drivers by points: if/else 32 (83 pts), loops 5 (12 pts), boolean chains 9 (nesting depth added 58). 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2378}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51b3ebc637e6fe821d044bbaded4372e09cdf14a85ea089bc784800c390bc35"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._append_box_points_to_selection (cognitive 101): plotly._append_box_points_to_selection has cognitive complexity 101 (threshold 15). Drivers by points: if/else 31 (80 pts), loops 5 (12 pts), boolean chains 9 (nesting depth added 56). 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2729}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c60f5f27ac5bded1d03adf6d1b93ca6b49ec27bee54dc9c5a205ff37a388f39"}},{"ruleId":"D2","level":"warning","message":{"text":"forwarder.run_forwarder (cognitive 92): forwarder.run_forwarder has cognitive complexity 92 (threshold 15). Drivers by points: if/else 21 (77 pts), loops 3 (5 pts), ternaries 1 (4 pts), boolean chains 3, error handling 1 (3 pts) (nesting depth added 63). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/pair/forwarder.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c3d4608657b52fd5e81fc61cd3713494bc3b880d808ec99d97777422ca67ef"}},{"ruleId":"D2","level":"warning","message":{"text":"to_ir.transform_exclamation_mark (cognitive 80): to_ir.transform_exclamation_mark has cognitive complexity 80 (threshold 15). Drivers by points: if/else 16 (56 pts), loops 5 (20 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 56). 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":"marimo/_convert/ipynb/to_ir.py"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a7a327c97618350e9ce1aa43a89b868b7634745a5757bff68e124d55b7c873"}},{"ruleId":"D2","level":"warning","message":{"text":"NarwhalsTransformHandler._evaluate_condition (cognitive 77): NarwhalsTransformHandler._evaluate_condition has cognitive complexity 77 (threshold 15). Drivers by points: ternaries 21 (46 pts), if/else 12 (20 pts), boolean chains 8, error handling 1 (2 pts), match/switch 1 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/dataframes/transforms/handlers.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"29698099aca3d71321b460749d0706b38f2467780ea38d16697c98ac48c33b75"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._extract_violin_points_fallback (cognitive 77): plotly._extract_violin_points_fallback has cognitive complexity 77 (threshold 15). Drivers by points: if/else 18 (51 pts), error handling 3 (13 pts), loops 3 (6 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":3239}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a010ad9a42b47883311c6c6e7a3aa9e6964ca83c62404be23c664ac707a180"}},{"ruleId":"D2","level":"warning","message":{"text":"ScopedVisitor.visit_Call (cognitive 70): ScopedVisitor.visit_Call has cognitive complexity 70 (threshold 15). Drivers by points: loops 7 (27 pts), if/else 7 (22 pts), error handling 5 (18 pts), boolean chains 3 (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/visitor.py"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c66c16a91e39bbe9ddd47d28000fe3f7bb6d2a5ab203cd01f3ac354bd8fd705"}},{"ruleId":"D2","level":"warning","message":{"text":"app-chrome.AppChrome (cognitive 70): app-chrome.AppChrome has cognitive complexity 70 (threshold 15). Drivers by points: if/else 24 (31 pts), boolean chains 27, ternaries 9 (12 pts) (nesting depth added 10). Of this number, 19 points are the body\u0027s own statements and 51 belong to 16 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/components/editor/chrome/wrapper/app-chrome.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68137256e8b903a1953d3da401d9b63657135a57350a1e3fc5b09ca848b6688"}},{"ruleId":"D2","level":"warning","message":{"text":"_BoundaryDetector.feed (cognitive 68): _BoundaryDetector.feed has cognitive complexity 68 (threshold 15). Drivers by points: if/else 31 (49 pts), boolean chains 19 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/scanner.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"21efc9a982bba39116308130acf31f624525d0b6a7042a042e4e6a55b764ec40"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionView.add_notification (cognitive 68): SessionView.add_notification has cognitive complexity 68 (threshold 15). Drivers by points: if/else 20 (47 pts), loops 7 (14 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_session/state/session_view.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c331b213eee5e0387a53b842867b2e1ddea31d6a895f1e1ef7d3a5a92f1e9cd"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._extract_scatter_points_from_lasso (cognitive 67): plotly._extract_scatter_points_from_lasso has cognitive complexity 67 (threshold 15). Drivers by points: if/else 15 (42 pts), boolean chains 8, error handling 2 (8 pts), loops 3 (5 pts), ternaries 4 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"16383b2ce902e050da315f81604b05648646cefac7f51c2c34e7e5a588ab3ae4"}},{"ruleId":"D2","level":"warning","message":{"text":"table.__init__ (cognitive 67): table.__init__ has cognitive complexity 67 (threshold 15). Drivers by points: if/else 28 (41 pts), boolean chains 12, loops 2 (6 pts), ternaries 4 (6 pts), error handling 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/table.py"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b634dbcc0c06425b2f205499461403e7d9d2c9636502f2c1d45726b463bd35"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._extract_scatter_points_fallback (cognitive 66): plotly._extract_scatter_points_fallback has cognitive complexity 66 (threshold 15). Drivers by points: if/else 12 (33 pts), boolean chains 11, error handling 2 (9 pts), ternaries 6 (8 pts), loops 3 (5 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"21474f70cfd0dbcfe0befc9bdd8757f244b558a3b70e9bfc0e8796ca450d130e"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._extract_box_points_fallback (cognitive 65): plotly._extract_box_points_fallback has cognitive complexity 65 (threshold 15). Drivers by points: if/else 18 (49 pts), boolean chains 6, ternaries 1 (4 pts), error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":3094}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a924b611366a15f9c29bf2d53e99894cb224ecb2b5b7b50161338287c8fcab"}},{"ruleId":"D2","level":"warning","message":{"text":"altair_chart._filter_dataframe (cognitive 64): altair_chart._filter_dataframe has cognitive complexity 64 (threshold 15). Drivers by points: if/else 17 (41 pts), error handling 3 (9 pts), boolean chains 6, ternaries 1 (5 pts), loops 2 (3 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/altair_chart.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fab958c330b9a6d60a239885ad32621dad41ae9d13892fcc8ef549f649e1fc"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._extract_violin_points_numpy (cognitive 63): plotly._extract_violin_points_numpy has cognitive complexity 63 (threshold 15). Drivers by points: if/else 16 (33 pts), ternaries 3 (12 pts), error handling 2 (8 pts), loops 3 (7 pts), boolean chains 3 (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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"418e36f918ba72cbf1cbf3cb0d51ae4ff05ad4032897565e74559b24c21bfbe9"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-panel.ChatPanelBody (cognitive 63): chat-panel.ChatPanelBody has cognitive complexity 63 (threshold 15). Drivers by points: if/else 28 (29 pts), ternaries 15 (18 pts), boolean chains 16 (nesting depth added 4). Most of this is not in the body itself: 10 of the 63 points are its own statements and the rest belongs to 23 function literals inside it that branch (lines 909, 530, 796, \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/chat/chat-panel.tsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6348a749219a41bdf98a7d23d0afd7228543aad95b7bdf4e660db2c16cec697"}},{"ruleId":"D2","level":"warning","message":{"text":"navigation.useCellNavigationProps (cognitive 63): navigation.useCellNavigationProps has cognitive complexity 63 (threshold 15). Drivers by points: if/else 34 (49 pts), boolean chains 6, ternaries 2 (5 pts), loops 3 (nesting depth added 18). None of this is in the body itself: all 63 points belong to 22 function items inside it that branch (a function literal at line 248, a function literal at line 281, a function literal at line 300, \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/editor/navigation/navigation.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d1bed7a6e007c237727b1b87cbe9f037ec8c413dbf617708f70c4c6ccc2d8c"}},{"ruleId":"D2","level":"warning","message":{"text":"filter-pill-editor.buildFilterValue (cognitive 62): filter-pill-editor.buildFilterValue has cognitive complexity 62 (threshold 15). Drivers by points: if/else 22 (44 pts), boolean chains 13, ternaries 2 (5 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/filter-pill-editor.tsx"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"7958c2d36c328ee8da7660d1de2cbd4d1e33a61698cbdf7b77c1cbd19fa305f2"}},{"ruleId":"D2","level":"warning","message":{"text":"FileBrowserPlugin.FileBrowser (cognitive 60): FileBrowserPlugin.FileBrowser has cognitive complexity 60 (threshold 15). Drivers by points: ternaries 15 (20 pts), boolean chains 19, if/else 15 (19 pts), loops 1, match/switch 1 (nesting depth added 9). Of this number, 16 points are the body\u0027s own statements and 44 belong to 12 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/plugins/impl/FileBrowserPlugin.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"6659d8af19de7a31b6a901f1b2fd330fa1502f44db66c9c836062256b1f007f3"}},{"ruleId":"D2","level":"warning","message":{"text":"module_watcher.watch_modules (cognitive 59): module_watcher.watch_modules has cognitive complexity 59 (threshold 15). Drivers by points: if/else 8 (34 pts), loops 8 (23 pts), boolean chains 2 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/reload/module_watcher.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d14947d96e1e7ca95a17b0e0be1fbe5953a4ef9136bcf65f844f2a2564462a"}},{"ruleId":"D2","level":"warning","message":{"text":"cell_matching._approximate_assignment (cognitive 59): cell_matching._approximate_assignment has cognitive complexity 59 (threshold 15). Drivers by points: if/else 9 (27 pts), loops 14 (27 pts), boolean chains 5 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/cell_matching.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddbae8459bef4f70a9f964ce6fdd98fe974277ecc6e93ca6e910014bba9953d"}},{"ruleId":"D2","level":"warning","message":{"text":"document._validate (cognitive 58): document._validate has cognitive complexity 58 (threshold 15). Drivers by points: if/else 17 (48 pts), ternaries 2 (6 pts), boolean chains 3, loops 1 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_messaging/notebook/document.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"392864dae13e6616abb579c599a3ac95933998aa11afa03b5285625127f6db96"}},{"ruleId":"D2","level":"warning","message":{"text":"form.renderZodSchema (cognitive 58): form.renderZodSchema has cognitive complexity 58 (threshold 15). Drivers by points: if/else 24 (32 pts), ternaries 9 (19 pts), boolean chains 6, loops 1 (nesting depth added 18). Of this number, 40 points are the body\u0027s own statements and 18 belong to 6 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/forms/form.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"410ac6bed0e54915f2845ba1d84cf6d33872d748d94043ae0829c4163269ef83"}},{"ruleId":"D2","level":"warning","message":{"text":"DataTablePlugin.DataTableComponent (cognitive 58): DataTablePlugin.DataTableComponent has cognitive complexity 58 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 23, loops 2 (6 pts), ternaries 4 (nesting depth added 15). Most of this is not in the body itself: 13 of the 58 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 981, 1068, 944, \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/plugins/impl/DataTablePlugin.tsx"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e0874d888c52f4b491b81035f3d2cdb44c83b0bf44dbe2a5781f76c5ff1841"}},{"ruleId":"D2","level":"warning","message":{"text":"MatrixPlugin.MatrixComponent (cognitive 58): MatrixPlugin.MatrixComponent has cognitive complexity 58 (threshold 15). Drivers by points: if/else 24 (27 pts), boolean chains 21, ternaries 8 (9 pts), match/switch 1 (nesting depth added 4). Most of this is not in the body itself: 6 of the 58 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 433, a function literal at line 332, a function literal at line 220, \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/plugins/impl/MatrixPlugin.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d054761b738effbb2de0b7c472f6a097bb00dedfb24ead04a0196c8f9524c1"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-story.RuntimeStory (cognitive 58): runtime-story.RuntimeStory has cognitive complexity 58 (threshold 15). Drivers by points: ternaries 26 (48 pts), boolean chains 6, if/else 4 (nesting depth added 22). Most of this is not in the body itself: 10 of the 58 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 226, 291, 381, \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/stories/runtime-story.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc88320a2287446b090f072dad634b6d4b0430b327ff088e984dcf45ef384271"}},{"ruleId":"D2","level":"warning","message":{"text":"scanner.scan_notebook (cognitive 56): scanner.scan_notebook has cognitive complexity 56 (threshold 15). Drivers by points: if/else 16 (34 pts), loops 9 (18 pts), boolean chains 4 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/scanner.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"25de8c3947c8d6d3901580a2d24dd7bebb47160c157aacd3810c7c8b4bf34a7b"}},{"ruleId":"D2","level":"warning","message":{"text":"user-config-form.UserConfigForm (cognitive 56): user-config-form.UserConfigForm has cognitive complexity 56 (threshold 15). Drivers by points: boolean chains 33, if/else 10 (15 pts), ternaries 4 (7 pts), match/switch 1 (nesting depth added 8). Most of this is not in the body itself: 3 of the 56 points are its own statements and the rest belongs to 30 function items inside it that branch (setAiModels, renderBody, onSubmitNotDebounced, \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/app-config/user-config-form.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4b1f244c89091739ea6cec89c8d179a94de3bef2ff14d0ad7c42846468e39e"}},{"ruleId":"D2","level":"warning","message":{"text":"sql-parser.parseSQLStatement (cognitive 56): sql-parser.parseSQLStatement has cognitive complexity 56 (threshold 15). Drivers by points: if/else 19 (35 pts), loops 4 (11 pts), match/switch 1 (6 pts), boolean chains 3, error handling 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/smart-cells/src/parsers/sql-parser.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e839ffe5ef0b51c14192484e7828eceb1bdc5587c322f5aea2f6171377c62c"}},{"ruleId":"D2","level":"warning","message":{"text":"glide-data-editor.GlideDataEditorInner (cognitive 55): glide-data-editor.GlideDataEditorInner has cognitive complexity 55 (threshold 15). Drivers by points: if/else 20 (23 pts), ternaries 9 (16 pts), boolean chains 14, loops 1, match/switch 1 (nesting depth added 10). Most of this is not in the body itself: 2 of the 55 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 126, a function literal at line 156, a function literal at line 216, \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/plugins/impl/data-editor/glide-data-editor.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"33624421505d1d8485c971371506a4e30fdf00d6234078bc333782b8721e4fe7"}},{"ruleId":"D2","level":"warning","message":{"text":"ScopedVisitor.generic_visit (cognitive 54): ScopedVisitor.generic_visit has cognitive complexity 54 (threshold 15). Drivers by points: loops 13 (30 pts), if/else 11 (21 pts), boolean chains 3 (nesting depth added 27). 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":"marimo/_ast/visitor.py"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"3adcaa91934f794dbeacfa2767be379616be8badbe231b3f4e800454a2a89eae"}},{"ruleId":"D2","level":"warning","message":{"text":"table._get_column_summaries (cognitive 54): table._get_column_summaries has cognitive complexity 54 (threshold 15). Drivers by points: if/else 12 (29 pts), error handling 4 (14 pts), boolean chains 6, ternaries 1 (4 pts), loops 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/table.py"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02287c50fbf11afec74f347075ad44858cec77e97a5ac595b4d7f79995d63d7"}},{"ruleId":"D2","level":"warning","message":{"text":"hooks._extract_description (cognitive 53): hooks._extract_description has cognitive complexity 53 (threshold 15). Drivers by points: if/else 21 (49 pts), boolean chains 3, loops 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/hooks.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d857153f05a7582478d72eb932df18662374f27fbbb381410cec4610d5ea96f"}},{"ruleId":"D2","level":"warning","message":{"text":"DisplayMathPreprocessor._convert_rst_math_blocks (cognitive 52): DisplayMathPreprocessor._convert_rst_math_blocks has cognitive complexity 52 (threshold 15). Drivers by points: if/else 15 (36 pts), loops 5 (12 pts), boolean chains 4 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_output/md_extensions/display_math.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"821d7dbd49e3b7934de0a4f0169a8343b9df2dad2ed1d0c7dc8b308a737c5898"}},{"ruleId":"D2","level":"warning","message":{"text":"PythonTypeToOpenAPI.convert (cognitive 52): PythonTypeToOpenAPI.convert has cognitive complexity 52 (threshold 15). Drivers by points: if/else 22 (39 pts), ternaries 2 (7 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/dataclass_to_openapi.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1610e21227001bc4471d8ed2f2e779d29bf8a45ec9eb6e92b03035b424bb49"}},{"ruleId":"D2","level":"warning","message":{"text":"geometry_export._describe_export_source (cognitive 50): geometry_export._describe_export_source has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (25 pts), ternaries 7 (15 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/tables/geometry_export.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7a7c637f9037bf776b36f27e0d32589ceb51dbaf94cdb7469f8d9aac1fa273"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._extract_box_points_numpy (cognitive 49): plotly._extract_box_points_numpy has cognitive complexity 49 (threshold 15). Drivers by points: if/else 15 (28 pts), ternaries 4 (15 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2974}}}],"partialFingerprints":{"codehealthFindingId/v1":"f365b658238cb301144714eabf6560032587afeb48def84e0cc0844dc1d76a83"}},{"ruleId":"D2","level":"warning","message":{"text":"_DataclassParser._build_value (cognitive 49): _DataclassParser._build_value has cognitive complexity 49 (threshold 15). Drivers by points: if/else 21 (26 pts), boolean chains 14, error handling 3 (7 pts), loops 1 (2 pts) (nesting depth added 10). 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":"marimo/_utils/parse_dataclass.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d7b5df21ae3b07fe6612d9a32d5c7aa7e1ea047992dcb9b30ba0987c77c95a"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncCodeModeContext._print_summary (cognitive 48): AsyncCodeModeContext._print_summary has cognitive complexity 48 (threshold 15). Drivers by points: if/else 16 (30 pts), ternaries 3 (10 pts), loops 4 (5 pts), boolean chains 3 (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":"marimo/_code_mode/_context.py"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"b604396360892022c9776c3d54fa15d0d06057cc83b7c93bf23fe3b6306eb362"}},{"ruleId":"D2","level":"warning","message":{"text":"AdbcConnectionCatalog.get_databases (cognitive 48): AdbcConnectionCatalog.get_databases has cognitive complexity 48 (threshold 15). Drivers by points: if/else 10 (30 pts), loops 3 (9 pts), ternaries 2 (6 pts), boolean chains 3 (nesting depth added 30). 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":"marimo/_sql/engines/adbc.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda5f623159e971db91004ff84d712e46318194bc15bfcb69a4e8bdf6c3a9621"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._extract_scatter_points_numpy (cognitive 47): plotly._extract_scatter_points_numpy has cognitive complexity 47 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 10 (18 pts), boolean chains 7, loops 2 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7b17393305a278672ea341ff17b11ad9100061d342d6e4a0e681d5f97050ac"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._append_waterfall_bars_to_selection (cognitive 47): plotly._append_waterfall_bars_to_selection has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (38 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (plotly._append_funnel_points_to_selection) 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2069}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c52b4adffb606aa5b6bf08b98c9dc1d748934936470cc67fa7c01641a9bb01"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._append_funnel_points_to_selection (cognitive 47): plotly._append_funnel_points_to_selection has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (38 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (plotly._append_waterfall_bars_to_selection) 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":3386}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11f03612aea802bee645d2ad999fb31297ad5dccb5a00342a55a8dc857e00c3"}},{"ruleId":"D2","level":"warning","message":{"text":"cache_dirs.delete_blob_dirs (cognitive 47): cache_dirs.delete_blob_dirs has cognitive complexity 47 (threshold 15). Drivers by points: if/else 13 (35 pts), error handling 2 (5 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/cache_dirs.py"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e7d6de1d74b9c05564a6deddb51b963f05b277e0f3acc5f82cae6e82bfbee4"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-ui.Chatbot (cognitive 47): chat-ui.Chatbot has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 17, ternaries 9, error handling 2 (nesting depth added 4). Of this number, 20 points are the body\u0027s own statements and 27 belong to 12 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/plugins/impl/chat/chat-ui.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15c38e792c706b4eb8a42c0688c2e3ae238acf0ba4108051b609b7e05dc785a"}},{"ruleId":"D2","level":"warning","message":{"text":"Runner._run_result_from_exception (cognitive 46): Runner._run_result_from_exception has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (32 pts), boolean chains 6, error handling 1 (3 pts), ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runner/cell_runner.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93f76117682214e32b3e71116278076c95d231fa41e5b9d9f7f2da18536c83f"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.collectMatchingDeclarations (cognitive 46): commands.collectMatchingDeclarations has cognitive complexity 46 (threshold 15). Drivers by points: if/else 13 (32 pts), loops 5 (10 pts), boolean chains 2, match/switch 1, ternaries 1 (nesting depth added 24). Of this number, 44 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/go-to-definition/commands.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f21f03944d1ee44b9ddca565e983651ae0bace1a98355651f66ce6656cbcf0"}},{"ruleId":"D2","level":"warning","message":{"text":"print_code.python_print_pandas (cognitive 45): print_code.python_print_pandas has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (33 pts), ternaries 3 (6 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"848e23d74f0a2d145a6575df7ec444f6442ca8bdc41733ccaa1b3b6498bac2b9"}},{"ruleId":"D2","level":"warning","message":{"text":"normalize-markdown-math.convertRstMathBlocks (cognitive 45): normalize-markdown-math.convertRstMathBlocks has cognitive complexity 45 (threshold 15). Drivers by points: if/else 13 (32 pts), loops 4 (10 pts), boolean chains 3 (nesting depth added 25). Of this number, 43 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/lsp/normalize-markdown-math.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fa54f0ffcc66d16013df94942bea44b00157986042003866300ca8536bf560"}},{"ruleId":"D2","level":"warning","message":{"text":"Executions.observe (cognitive 44): Executions.observe has cognitive complexity 44 (threshold 15). Drivers by points: if/else 13 (34 pts), boolean chains 6, loops 1 (3 pts), match/switch 1 (nesting depth added 23). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_core/executions.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34bb644e36d7edc751e2ed6d2af7b9d5f3f0d538261abd5d6d2c9556459b689"}},{"ruleId":"D2","level":"warning","message":{"text":"ModuleReloader._check (cognitive 44): ModuleReloader._check has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (33 pts), boolean chains 7, error handling 1 (2 pts), loops 2 (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":"marimo/_runtime/reload/autoreload.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b6e31ba7a4187cec6428be6414d3a6ce2759328036aa37f7a65e0dfb6318a7"}},{"ruleId":"D2","level":"warning","message":{"text":"reveal-component.RevealSlidesComponent (cognitive 44): reveal-component.RevealSlidesComponent has cognitive complexity 44 (threshold 15). Drivers by points: if/else 21 (22 pts), boolean chains 15, ternaries 6 (7 pts) (nesting depth added 2). Of this number, 16 points are the body\u0027s own statements and 28 belong to 12 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/slides/reveal-component.tsx"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3136e0fb3b0cc82c184ada91c997f03ec98a2d69f92eefb7a2ca9e3d71cdf8"}},{"ruleId":"D2","level":"warning","message":{"text":"parse.parsePayloadBackedApps (cognitive 44): parse.parsePayloadBackedApps has cognitive complexity 44 (threshold 15). Drivers by points: if/else 11 (27 pts), loops 6 (10 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 22). Of this number, 43 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/islands/parse.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f283df19f40804c04b2e5639055ec2989cfe26f1e366e027bdab64139cb0a40"}},{"ruleId":"D2","level":"warning","message":{"text":"_better_inspect._build_help (cognitive 43): _better_inspect._build_help has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (24 pts), ternaries 2 (8 pts), error handling 1 (4 pts), loops 3 (4 pts), boolean chains 3 (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":"marimo/_code_mode/_better_inspect.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"adecfa772ca387ccfd24226f50b789b7e7d3e6e10b1fad09bb98f7257e82ae47"}},{"ruleId":"D2","level":"warning","message":{"text":"config.parse_config (cognitive 43): config.parse_config has cognitive complexity 43 (threshold 15). Drivers by points: if/else 9 (26 pts), loops 3 (8 pts), error handling 2 (7 pts), boolean chains 2 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_config/config.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cafbb023d8a1ab578338d54315b5f0905d56f68f225d4dffab8614756c91a7"}},{"ruleId":"D2","level":"warning","message":{"text":"print_code.python_print_polars (cognitive 43): print_code.python_print_polars has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (22 pts), ternaries 5 (10 pts), loops 3 (7 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f73d51c7bf9009413a5450397169b6df88facf2a4c1cb3d93014e16c33942a"}},{"ruleId":"D2","level":"warning","message":{"text":"file_browser.__init__ (cognitive 43): file_browser.__init__ has cognitive complexity 43 (threshold 15). Drivers by points: if/else 20 (27 pts), ternaries 4 (6 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/file_browser.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54b82845cb97dc0d544dc6a8c3367f12b91f817146d2e3881ec8d2bb6761d68"}},{"ruleId":"D2","level":"warning","message":{"text":"edges.resolve_cell_references (cognitive 43): edges.resolve_cell_references has cognitive complexity 43 (threshold 15). Drivers by points: if/else 9 (30 pts), loops 3 (6 pts), ternaries 1 (5 pts), boolean chains 2 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/dataflow/edges.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0abe7cefb2140212d71c3e4a97f94f5a63db8ad0d3d67bcd94007ea692ffce"}},{"ruleId":"D2","level":"warning","message":{"text":"Kernel.set_ui_element_value (cognitive 43): Kernel.set_ui_element_value has cognitive complexity 43 (threshold 15). Drivers by points: if/else 6 (15 pts), error handling 6 (13 pts), loops 6 (13 pts), boolean chains 2 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runtime.py"},"region":{"startLine":2392}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddd0e06c331b625bf2a38f5122a91ca4316f29896c615e04e5643f659cb468d"}},{"ruleId":"D2","level":"warning","message":{"text":"serialize.deserialize_session (cognitive 43): serialize.deserialize_session has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (25 pts), ternaries 3 (11 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_session/state/serialize.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"4762a9a326a1e959edd3707b4fed02c9b410fef6f305fbe344e11f56c2c05066"}},{"ruleId":"D2","level":"warning","message":{"text":"net._bind_sockets (cognitive 43): net._bind_sockets has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (30 pts), error handling 3 (7 pts), boolean chains 5, loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/net.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9b3ba33228657c6b1f53c53fba96dfd0437d81cad3f02e2934f5ccf72502d5"}},{"ruleId":"D2","level":"warning","message":{"text":"sync-models.refreshMetadata (cognitive 43): sync-models.refreshMetadata has cognitive complexity 43 (threshold 15). Drivers by points: if/else 10 (31 pts), loops 3 (6 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/llm-info/src/sync-models.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a92b83fab4a2fd1ff5e5569e0d322e106530cde1ce0b5e5b7a84e5c22711fd"}},{"ruleId":"D2","level":"warning","message":{"text":"scanner._find_body_start (cognitive 42): scanner._find_body_start has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (29 pts), loops 4 (9 pts), boolean chains 4 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/scanner.py"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5833ef5cf14696df4cf5454498b2585f89c5bf197f9a6a4b46fd92dd607bbe"}},{"ruleId":"D2","level":"warning","message":{"text":"from_ir._notebook_to_markdown_export_document (cognitive 42): from_ir._notebook_to_markdown_export_document has cognitive complexity 42 (threshold 15). Drivers by points: if/else 14 (32 pts), boolean chains 5, error handling 2 (4 pts), loops 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_convert/markdown/from_ir.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7ca6e5ffd8f78cbe486e58d075e0f12b12df5086150cb2af02cffa62179a71"}},{"ruleId":"D2","level":"warning","message":{"text":"_EditableTable._apply_column_edit (cognitive 42): _EditableTable._apply_column_edit has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (23 pts), ternaries 4 (10 pts), loops 3 (8 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/data_editor.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"8547c77d08876896cc2edeac9750f71f170799f717d214ac9e968baa9f8c685b"}},{"ruleId":"D2","level":"warning","message":{"text":"_futures.wasm_as_completed (cognitive 42): _futures.wasm_as_completed has cognitive complexity 42 (threshold 15). Drivers by points: if/else 14 (28 pts), loops 5 (11 pts), boolean chains 2, ternaries 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/_wasm/_concurrency/_futures.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aea9751999b162dce81375ca02207cab9ab7c7b20aa28d22a6a638e1b57f5d3"}},{"ruleId":"D2","level":"warning","message":{"text":"BlockHasher.serialize_and_dequeue_content_refs (cognitive 42): BlockHasher.serialize_and_dequeue_content_refs has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (24 pts), boolean chains 8, ternaries 3 (7 pts), loops 2 (3 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/hash.py"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1c5b8abe53b32290cf825db112a8d43297072e586a0f280dd8c11541470ed3"}},{"ruleId":"D2","level":"warning","message":{"text":"RunTranslator.feed (cognitive 42): RunTranslator.feed has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (28 pts), boolean chains 8, ternaries 2 (6 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/translate.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0855b89ab4e033201e86ad9323766356ac1c769f6f290aa507f2e83a85ea68"}},{"ruleId":"D2","level":"warning","message":{"text":"_convert.convert_to_anthropic_messages (cognitive 41): _convert.convert_to_anthropic_messages has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (33 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ai/_convert.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"24503296c312a23b7dc2b086863c19722633fa213d988caf01e2de0c7016058f"}},{"ruleId":"D2","level":"warning","message":{"text":"matrix._validate_and_build_args (cognitive 41): matrix._validate_and_build_args has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (27 pts), loops 4 (8 pts), boolean chains 6 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/matrix.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb347141fd0e79faac70c8ef9a17054b9ab88593b6b74ec17c2a7d5f2134d72"}},{"ruleId":"D2","level":"warning","message":{"text":"ScratchCellListener.on_notification_sent (cognitive 40): ScratchCellListener.on_notification_sent has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (30 pts), boolean chains 5, loops 1 (3 pts), ternaries 1 (2 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":"marimo/_server/scratchpad.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de112dad94bd15bec90426bbfc5783490fe8f64f51306eeba47d186a34f899d"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-notice.connectionNoticeAtom (cognitive 40): connection-notice.connectionNoticeAtom has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 15 (34 pts), boolean chains 3, if/else 3 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/network/connection-notice.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"653bc8530e08008352156d777f30af4b852bd0521d15159358ff43fd920928ce"}},{"ruleId":"D2","level":"warning","message":{"text":"glide-utils.pasteCells (cognitive 40): glide-utils.pasteCells has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (26 pts), error handling 1 (4 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (3 pts), ternaries 1 (nesting depth added 22). Most of this is not in the body itself: 1 of the 40 points is its own statement and the rest belongs to one function literal inside it that branches (line 137). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/data-editor/glide-utils.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"de97f6c7322b6b51c42040da49922ef886efd4bf3d3bbb485988f247e40ca20a"}},{"ruleId":"D2","level":"warning","message":{"text":"generate-protocol.operationsModule (cognitive 40): generate-protocol.operationsModule has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (27 pts), loops 4 (9 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/scripts/generate-protocol.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e871c26815fae69af555121eed8aebf408d34ce56c021f844a8b0ba7b0866e18"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.html_wasm (cognitive 39): commands.html_wasm has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 7, ternaries 3 (7 pts), error handling 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/export/commands.py"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d92fd5df18a87a2ffbe58968f7817968b097a87276f0a72502602184f166442"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncCodeModeContext._apply_ops (cognitive 39): AsyncCodeModeContext._apply_ops has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 7, loops 6 (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":"marimo/_code_mode/_context.py"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab308b82147567fc71f6d86d507b9831a2598afa3029decb242513b11f1d0697"}},{"ruleId":"D2","level":"warning","message":{"text":"image._normalize_image (cognitive 39): image._normalize_image has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (29 pts), ternaries 2 (6 pts), boolean chains 4 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/stateless/image.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"530bb85a5f6c89a7754ae8f1d3a7f1e2f4cbeedd8b5bdb74b8f999417ac1d21a"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._append_map_scatter_points_to_selection (cognitive 39): plotly._append_map_scatter_points_to_selection has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (23 pts), ternaries 2 (8 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2309}}}],"partialFingerprints":{"codehealthFindingId/v1":"9404f68951cf39754d4c9d21180efcc09400bcb6b6b57aa47e97730883962b84"}},{"ruleId":"D2","level":"warning","message":{"text":"utils._split_around_extras (cognitive 39): utils._split_around_extras has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 11, loops 2 (4 pts), ternaries 1 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/packages/utils.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7b671c105b2bf8b40c46ad9a45ce2a42b1ec9c7a3d00fc6ac270e71ea445bf"}},{"ruleId":"D2","level":"warning","message":{"text":"Kernel._delete_variables (cognitive 39): Kernel._delete_variables has cognitive complexity 39 (threshold 15). Drivers by points: if/else 8 (20 pts), error handling 3 (11 pts), boolean chains 5, ternaries 1 (2 pts), loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runtime.py"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47d765de09d719fa90c90d7308b6d8b02be8446ed4b53b3ca59a76cf53bc8c3"}},{"ruleId":"D2","level":"warning","message":{"text":"BlockHasher.extract_ref_state_and_normalize_scope (cognitive 39): BlockHasher.extract_ref_state_and_normalize_scope has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 4 (10 pts), boolean chains 7 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/hash.py"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"83daff924a18dfdb1e2e500a85744f1139e85251e857b74f1fabb9e808c2cda0"}},{"ruleId":"D2","level":"warning","message":{"text":"docs.google_docstring_to_markdown (cognitive 39): docs.google_docstring_to_markdown has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (29 pts), loops 5 (9 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/docs.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce872fc2069396230666f870f44a1d7ba8947229efcdf5e281725a3e6978711"}},{"ruleId":"D2","level":"warning","message":{"text":"notebook-cell.EditableCellComponent (cognitive 39): notebook-cell.EditableCellComponent has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 32, if/else 5, ternaries 2. Of this number, 30 points are the body\u0027s own statements and 9 belong to 7 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/editor/notebook-cell.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"d934275d7120ffcb0661df515f653300054672a362e48306645f83146c1bc50f"}},{"ruleId":"D2","level":"warning","message":{"text":"Runner._dispatch_runnable (cognitive 38): Runner._dispatch_runnable has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 6 (12 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runner/cell_runner.py"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa75ccb1d26e2307139911e5501b40a61403ef51df9852b389818764a0d5dd5"}},{"ruleId":"D2","level":"warning","message":{"text":"sql.sql (cognitive 38): sql.sql has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (24 pts), ternaries 2 (6 pts), boolean chains 4, error handling 2, loops 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_sql/sql.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"184608f88d2317535cd46c67a365c5617e49625a9d8e7345881db9b97ac6da3c"}},{"ruleId":"D2","level":"warning","message":{"text":"keyboard-shortcuts.KeyboardShortcuts (cognitive 38): keyboard-shortcuts.KeyboardShortcuts has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (23 pts), ternaries 6 (10 pts), boolean chains 5 (nesting depth added 13). Most of this is not in the body itself: 1 of the 38 points is its own statement and the rest belongs to 6 function items inside it that branch (a function literal at line 136, renderItem, renderCommandGroup, \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/editor/controls/keyboard-shortcuts.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"badeed3ddcdbc4255b455ea33237aa33d95503a399b97693a1d6a458b920e944"}},{"ruleId":"D2","level":"warning","message":{"text":"LazyLoader.restore_cache (cognitive 37): LazyLoader.restore_cache has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 7, loops 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":"marimo/_save/loaders/lazy.py"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"826d1810665cc2b104be1b6ed47fe393b23deaa0696e879e9fef23bdf12710c0"}},{"ruleId":"D2","level":"warning","message":{"text":"IPCKernelManagerImpl.start_kernel (cognitive 37): IPCKernelManagerImpl.start_kernel has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (18 pts), error handling 8 (13 pts), boolean chains 3, ternaries 3 (nesting depth added 10). 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":"marimo/_session/managers/ipc.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2abaf3ac3ea13540c7241f812c9185594f9a48c8401078f72f4245a7308a468"}},{"ruleId":"D2","level":"warning","message":{"text":"IPCKernelManagerImpl.close_kernel (cognitive 37): IPCKernelManagerImpl.close_kernel has cognitive complexity 37 (threshold 15). Drivers by points: if/else 8 (17 pts), error handling 5 (16 pts), boolean chains 4 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_session/managers/ipc.py"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"992d5e7d30456bfcd1b64c54f119a3df17bdf4a3df1482e5dbebf03ec082acff"}},{"ruleId":"D2","level":"warning","message":{"text":"cell_matching._hungarian_algorithm (cognitive 37): cell_matching._hungarian_algorithm has cognitive complexity 37 (threshold 15). Drivers by points: if/else 8 (25 pts), loops 6 (12 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/cell_matching.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf39cf68426c18f4e1d42aaaee095af73a81ba6ed8a7355a3177cd44de09f7d"}},{"ruleId":"D2","level":"warning","message":{"text":"columns.renderCellValue (cognitive 37): columns.renderCellValue has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (18 pts), ternaries 5 (10 pts), boolean chains 7, error handling 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/columns.tsx"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc7456aef7f75feb861c04a02a57ede6656402aac96e05d001fb535872ea2f7"}},{"ruleId":"D2","level":"warning","message":{"text":"IslandsPyodideBridge.startApps (cognitive 37): IslandsPyodideBridge.startApps has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 8, ternaries 4 (5 pts), error handling 1 (2 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/islands/bridge.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac749a456fe4576ee0e3aa390f8ef631f721c8b7996a76431cbfb371a5e0d45e"}},{"ruleId":"D2","level":"warning","message":{"text":"compiler.compile_cell (cognitive 36): compiler.compile_cell has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 3 (9 pts), boolean chains 6, error handling 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/compiler.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"265bcd1b75f8e2ad2f2e71171dd5071094855079de7b2910d38d4a6d0647b0a4"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._extract_heatmap_cells_fallback (cognitive 36): plotly._extract_heatmap_cells_fallback has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (23 pts), boolean chains 7, loops 3 (6 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae430cee8006d3410fb777bc294cb7aab80913501c033d665061eb16cdbd88ca"}},{"ruleId":"D2","level":"warning","message":{"text":"geometry_export.serialize_geojson (cognitive 36): geometry_export.serialize_geojson has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (15 pts), ternaries 6 (11 pts), boolean chains 7, error handling 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/tables/geometry_export.py"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"f716b9092c461f9d8132f88a6ca24ff473115696fac3051732a24505ac24a8a0"}},{"ruleId":"D2","level":"warning","message":{"text":"editor-state.applyEditorEdits (cognitive 36): editor-state.applyEditorEdits has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 2 (4 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/data-editor/editor-state.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c08c515e4f14183f39711131bdf9953dc0e15d556fe310420b569098d8f24f"}},{"ruleId":"D2","level":"warning","message":{"text":"DataTablePlugin.LoadingDataTableComponent (cognitive 36): DataTablePlugin.LoadingDataTableComponent has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 13, if/else 13, ternaries 7 (10 pts) (nesting depth added 3). Most of this is not in the body itself: 15 of the 36 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 587, 532, 680, \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/plugins/impl/DataTablePlugin.tsx"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b891f9e64795227c4ee9f8857eecb0f61d35605aa019437c3d090be94aec44"}},{"ruleId":"D2","level":"warning","message":{"text":"MatplotlibRenderer.#handlePointerMove (cognitive 36): MatplotlibRenderer.#handlePointerMove has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/matplotlib/matplotlib-renderer.ts"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"99821a96ad96164b79495e57ee761605d55a3572db9416d7106260f3a8f6dabf"}},{"ruleId":"D2","level":"warning","message":{"text":"sql_visitor.find_sql_refs (cognitive 35): sql_visitor.find_sql_refs has cognitive complexity 35 (threshold 15). Drivers by points: if/else 6 (23 pts), loops 3 (8 pts), error handling 2 (3 pts), boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/sql_visitor.py"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8a852d29569a111ce6c0ec0a65ac7ba0bda93bf4ee8930dae7601c1ee669a5"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.execute (cognitive 35): commands.execute has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 7, ternaries 6 (7 pts), error handling 3 (4 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/pair/commands.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a1699096c93b76c4f552b0007cbd33d0abc710e7768ca9ffc13921918486ac"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox.run_in_sandbox (cognitive 35): sandbox.run_in_sandbox has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 11, error handling 3 (5 pts), ternaries 3 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/sandbox.py"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"958daf2265ffa8e89a7d8a5fc1ad704279e99cba88b4d2429121085a70c9e9de"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._append_scatter_points_to_selection (cognitive 35): plotly._append_scatter_points_to_selection has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 5, 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"516f46a2622616165d5c8a52d576853dedd7c3b47b98d456f3f54a69584a4d45"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._extract_bars_numpy (cognitive 35): plotly._extract_bars_numpy has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 4 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1737}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63ca1aa446bd9720263aa3c20254beb5a590d74a3e5c5e744b21d86cf804149"}},{"ruleId":"D2","level":"warning","message":{"text":"cache_dirs.orphan_blob_dirs (cognitive 35): cache_dirs.orphan_blob_dirs has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (18 pts), ternaries 3 (6 pts), error handling 2 (5 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/cache_dirs.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"55be6c519305b9a3781a84d05886f2e190ec817a33e6e30f4fa01a6c182b44a1"}},{"ruleId":"D2","level":"warning","message":{"text":"serialize.serialize_session_view (cognitive 35): serialize.serialize_session_view has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 4 (10 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_session/state/serialize.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cf5138012cf44a0c6b0fbe499063866422e6d50ad025d1533abcf6df230dab"}},{"ruleId":"D2","level":"warning","message":{"text":"uv_tree._parse_tree (cognitive 35): uv_tree._parse_tree has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 4 (8 pts), boolean chains 5, ternaries 1 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/uv_tree.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4c1231747a93ebcfdb6a8778fac2525c1e7bb32a553881fb54d1f903fc7943"}},{"ruleId":"D2","level":"warning","message":{"text":"filter-by-values-picker.FilterByValuesList (cognitive 35): filter-by-values-picker.FilterByValuesList has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 8, ternaries 6 (7 pts), loops 3 (5 pts), error handling 1 (nesting depth added 5). Most of this is not in the body itself: 12 of the 35 points are its own statements and the rest belongs to 8 function items inside it that branch (handleToggleAll, a function literal at line 160, a function literal at line 114, \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/data-table/filter-by-values-picker.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b331a80630e92d658dffd070771ad4d1d6f414f05145ecb47070f2efbc65e1"}},{"ruleId":"D2","level":"warning","message":{"text":"merge.mergeModels (cognitive 35): merge.mergeModels has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 5 (7 pts), boolean chains 2, ternaries 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/llm-info/src/sources/merge.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58eccc3fc81ac819ba12d5588a7a195c88145b53eb77441f1e82eeb191b85d8"}},{"ruleId":"D2","level":"warning","message":{"text":"python-ast.getStringContent (cognitive 35): python-ast.getStringContent has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 11 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/smart-cells/src/utils/python-ast.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd29342afebfd850c15dc38d6e025894c69a247b66f2e47683c96eb95a5f1fe"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._extract_heatmap_cells_numpy (cognitive 34): plotly._extract_heatmap_cells_numpy has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 5 (12 pts), loops 3 (6 pts), boolean chains 2 (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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcbdecadb6b07e7b48b269ef9e2ad6d2678f88ab156eb326bcb914192f60c8c"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._extract_funnel_stages_numpy (cognitive 34): plotly._extract_funnel_stages_numpy has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 3 (6 pts), boolean chains 5, error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":3493}}}],"partialFingerprints":{"codehealthFindingId/v1":"486eead8a062474f4d724ce6a6d5dd159c41270d88e36fcd93e222e7483b2ecb"}},{"ruleId":"D2","level":"warning","message":{"text":"dependency_tree.parse_uv_tree (cognitive 34): dependency_tree.parse_uv_tree has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 4 (8 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/api/dependency_tree.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a8fdb337c638266c153261e38d05ce7b1a41c28ec03659a139691f2320a242"}},{"ruleId":"D2","level":"warning","message":{"text":"ai.list_provider_models (cognitive 34): ai.list_provider_models has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 6 (11 pts), boolean chains 6, error handling 5, 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":"marimo/_server/api/endpoints/ai.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"15db5a8080df914b92b6e5e18157534b6b593f38f9b55aaaa6972b8806db6846"}},{"ruleId":"D2","level":"warning","message":{"text":"make-selectable.makeSelectable (cognitive 34): make-selectable.makeSelectable has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 7, ternaries 2 (4 pts) (nesting depth added 10). Of this number, 19 points are the body\u0027s own statements and 15 belong to 4 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/plugins/impl/vega/make-selectable.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"916ca29c8a4feddd0d8f01f73369d713373139c09c6922eb9a68c32be4d3358c"}},{"ruleId":"D2","level":"warning","message":{"text":"Kernel.mutate_graph (cognitive 33): Kernel.mutate_graph has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (21 pts), loops 7 (8 pts), boolean chains 3, 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":"marimo/_runtime/runtime.py"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33e6fc696a3ba4fdf0f881d69da04d9e11255c73d0b6b0f50b3c9f85804f69a"}},{"ruleId":"D2","level":"warning","message":{"text":"cell_matching._match_cell_ids_by_similarity (cognitive 33): cell_matching._match_cell_ids_by_similarity has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 6 (12 pts), boolean chains 2, ternaries 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/cell_matching.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"f760fbe4038330c549966010f9b1acaab4e8a3201be81f4b4e1d9f7fb3ea0498"}},{"ruleId":"D2","level":"warning","message":{"text":"NotebookLanguageServerClient.patchProcessNotification::processNotification (cognitive 33): NotebookLanguageServerClient.patchProcessNotification::processNotification has cognitive complexity 33 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 4 (10 pts), ternaries 1 (5 pts), boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/lsp/notebook-lsp.ts"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a006132d877d6e59ef8824fc05c2b726e4be4fcd059ba00544f6c0ba0ac816"}},{"ruleId":"D2","level":"warning","message":{"text":"file-viewer.FileViewer (cognitive 33): file-viewer.FileViewer has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 12, ternaries 8 (11 pts), if/else 10 (nesting depth added 3). Of this number, 23 points are the body\u0027s own statements and 10 belong to 5 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/components/editor/file-tree/file-viewer.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a981874eb232ff6e94c28641a090a4f34cff193ae6ab5ef1e96e084b0502bf3e"}},{"ruleId":"D2","level":"warning","message":{"text":"PanelPlugin.PanelSlot (cognitive 33): PanelPlugin.PanelSlot has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (23 pts), boolean chains 9, loops 1 (nesting depth added 4). None of this is in the body itself: all 33 points belong to 8 function literals inside it that branch (lines 218, 281, 152, \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/plugins/impl/panel/PanelPlugin.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0808bcfd29333d34f24eff6f09ec6348b48b89e40ff5a14a12c31b96b40040"}},{"ruleId":"D2","level":"warning","message":{"text":"EnvVarReader.read (cognitive 32): EnvVarReader.read has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 6, error handling 2 (5 pts), loops 3 (5 pts), ternaries 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_config/manager.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"f292bc11db5b8b424aeb3321a18c60e92214ab5e78d73057104416c25c5e6bd5"}},{"ruleId":"D2","level":"warning","message":{"text":"cache_dirs._delete_block_entries (cognitive 32): cache_dirs._delete_block_entries has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 5, ternaries 2 (5 pts), loops 3 (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":"marimo/_save/cache_dirs.py"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2545331ab18ef794bbf9b16724d8ac2009d5af0ec64b21d8e804cc4e5c90c6"}},{"ruleId":"D2","level":"warning","message":{"text":"start.start (cognitive 32): start.start has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 8, ternaries 5 (6 pts), error handling 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/start.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fbc903a56c08498e1b071139392be8e7bdc055e798c1c9788616666ac04968"}},{"ruleId":"D2","level":"warning","message":{"text":"MarimoErrorOutput.MarimoErrorOutput::renderMessages (cognitive 32): MarimoErrorOutput.MarimoErrorOutput::renderMessages has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 17, if/else 13, ternaries 1 (2 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/MarimoErrorOutput.tsx"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"0755e0faa8deb4546831bf0c7e4c83ff2ea54716114675d70567f56a03df4cde"}},{"ruleId":"D2","level":"warning","message":{"text":"combobox.Combobox (cognitive 32): combobox.Combobox has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 7, ternaries 1 (nesting depth added 9). Most of this is not in the body itself: 5 of the 32 points are its own statements and the rest belongs to 6 function items inside it that branch (renderValueLabel, a function literal at line 129, a function literal at line 192, \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/ui/combobox.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a327504055ee3ea530734b5f6aafa47c266b92592b515cb321027351f7cb8256"}},{"ruleId":"D2","level":"warning","message":{"text":"GetCellDependencyGraph.handle (cognitive 31): GetCellDependencyGraph.handle has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 5 (7 pts), ternaries 1 (3 pts), error handling 2, boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ai/_tools/tools/dependency_graph.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"898328b3c90e7a8f4f03e0c47bfa0986003da6bdc55fde0ac7fdb948db745c60"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLRef.matches_hierarchical_ref (cognitive 31): SQLRef.matches_hierarchical_ref has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 6 (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":"marimo/_ast/sql_visitor.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90f484d66d95fa5cc14bc8b68e35ccea43a4127757711a18be2862c726e4d44"}},{"ruleId":"D2","level":"warning","message":{"text":"parse_args.parse_args (cognitive 31): parse_args.parse_args has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (20 pts), error handling 2 (7 pts), boolean chains 2, loops 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/parse_args.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c9f65e7340c6d2f54e5d1f7169d8bc732219800c7f7efc30e122ea5a7f082d"}},{"ruleId":"D2","level":"warning","message":{"text":"reconcile.reconcile_transaction (cognitive 31): reconcile.reconcile_transaction has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (27 pts), boolean chains 3, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_messaging/notebook/reconcile.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb5334130a189ea6dbffa30d62f36e2ca8cde48f686b21a079be7e5320eed76"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._extract_waterfall_bars_fallback (cognitive 31): plotly._extract_waterfall_bars_fallback has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 5, ternaries 2 (4 pts), loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2244}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb3c07f3cbc17dcb636e2532290164ba989fb1ed88bc6f7591b6c458f234863"}},{"ruleId":"D2","level":"warning","message":{"text":"Kernel._maybe_register_cell (cognitive 31): Kernel._maybe_register_cell has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (21 pts), ternaries 2 (6 pts), boolean chains 4 (nesting depth added 15). 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":"marimo/_runtime/runtime.py"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca31bdcc8920bf802de48ed7aeee3cde0cdcb66553cbd1c35149778d1fbc4912"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicDirectoryMiddleware.__call__ (cognitive 31): DynamicDirectoryMiddleware.__call__ has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (20 pts), error handling 4 (7 pts), boolean chains 3, ternaries 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"marimo/_server/asgi.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"f207840e70818acd1e76aeadde466d67adf5f8e502df0791fc64981c3e7aa262"}},{"ruleId":"D2","level":"warning","message":{"text":"row-viewer.RowViewerPanel (cognitive 31): row-viewer.RowViewerPanel has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 9, ternaries 3 (4 pts), loops 1, match/switch 1 (nesting depth added 3). Most of this is not in the body itself: 6 of the 31 points are its own statements and the rest belongs to 6 function items inside it that branch (renderTable, setRow, handleKeyDown, \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/data-table/row-viewer-panel/row-viewer.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71be9f10ee8a8837e98843fb4e1b515af5f566dd0f6b86c6cae4a119f8f4c12"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-completion-editor.AiCompletionEditor (cognitive 31): ai-completion-editor.AiCompletionEditor has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 18, if/else 9 (10 pts), ternaries 3 (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 15 belong to 9 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/editor/ai/ai-completion-editor.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c53a887c08e902a36c8d6628b50af272249e993591aef5edb7b382908ce4a5e"}},{"ruleId":"D2","level":"warning","message":{"text":"replica.createNotebookReplica (cognitive 31): replica.createNotebookReplica has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (21 pts), ternaries 5, boolean chains 3, error handling 2 (nesting depth added 3). None of this is in the body itself: all 31 points belong to 12 function items inside it that branch (connect::reconnect, a function literal at line 292, connect::apply, \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/core/notebook/replica/replica.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bbb46827b14ce6142c6ca1580c66d70b514cd2a2b22a46d57f90066058541c"}},{"ruleId":"D2","level":"warning","message":{"text":"logs.getCellLogsForMessage (cognitive 31): logs.getCellLogsForMessage has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (9 pts), ternaries 2 (8 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 12). Of this number, 28 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/cells/logs.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"645ba1b043d75e66a6a47ec2494a8127b2deb105510989d21e3a160547267e9e"}},{"ruleId":"D2","level":"warning","message":{"text":"file-explorer.FileExplorer::handleTreeKeyDown (cognitive 31): file-explorer.FileExplorer::handleTreeKeyDown has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 11, 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":"frontend/src/components/editor/file-tree/file-explorer.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4deba0ee53bd31ca77b62631a747c55faff4b91684058f8a57ab5efb6c323c"}},{"ruleId":"D2","level":"warning","message":{"text":"SliderPlugin.SliderComponent (cognitive 31): SliderPlugin.SliderComponent has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 16, ternaries 7 (8 pts), if/else 5 (7 pts) (nesting depth added 3). Of this number, 20 points are the body\u0027s own statements and 11 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/SliderPlugin.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"df19d6f61a55d66873c6f8ddd6ada58f4418f89a13443d8f78ee2a6ba958ba3b"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._build_global_category_order (cognitive 30): plotly._build_global_category_order has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 2 (6 pts), ternaries 3 (6 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2918}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae87ce5e1402d264258b3a16fb34ef74450538b5a4ce186d6367e5603dd2d68"}},{"ruleId":"D2","level":"warning","message":{"text":"PackagesCallbacks.install_missing_packages (cognitive 30): PackagesCallbacks.install_missing_packages has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (15 pts), ternaries 2 (6 pts), loops 5, boolean chains 3, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/callbacks/packages.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64dfee275733b5dbe5d853cadd086fa0e9da592a64d813d3628187c255dd530"}},{"ruleId":"D2","level":"warning","message":{"text":"prune.plan_prune (cognitive 30): prune.plan_prune has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 4, error handling 2 (3 pts), ternaries 2 (3 pts), loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/prune.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1168fd82de1b0c026811d896b525f3dcb235eacf424ab82de2e1c1ef454228d7"}},{"ruleId":"D2","level":"warning","message":{"text":"notebook-context.withNotebookContext (cognitive 30): notebook-context.withNotebookContext has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 4 (10 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/chat/notebook-context.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfcd7a5dbf5f310c30879701801eaa1da9b8efca14923b9b1036d266c9411ae"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.edit (cognitive 29): cli.edit has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (19 pts), error handling 2 (7 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/cli.py"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"723aa38143c0226532a8972a665b1e09433dc92c8ed3d3b6fc45e51e060d1347"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownDedentRule.check (cognitive 29): MarkdownDedentRule.check has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_lint/rules/formatting/markdown_dedent.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72fb0c06b4921080fa69de615aaccf46a21ffd4d0611de50c0689f425edb63e"}},{"ruleId":"D2","level":"warning","message":{"text":"nav_menu._build_and_validate_menu (cognitive 29): nav_menu._build_and_validate_menu has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (18 pts), ternaries 1 (5 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/stateless/nav_menu.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ce6f1987176f159150511c6421a57192e64e597ede9433ad5806359f8c3e96"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._extract_bars_fallback (cognitive 29): plotly._extract_bars_fallback has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1849}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa17831af360bede550740975f30bd9262ca5ca4fff8c9b615cfec4ffee5873e"}},{"ruleId":"D2","level":"warning","message":{"text":"_cache_context.trace (cognitive 29): _cache_context.trace has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (25 pts), boolean chains 3, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/save.py"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb875b33d1cde95a13910b3064c4b8eff6a1504f16a145d1c56ee09d2bfbe04"}},{"ruleId":"D2","level":"warning","message":{"text":"errors.handle_error (cognitive 29): errors.handle_error has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (20 pts), ternaries 2 (6 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/errors.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d2f552bb039949744d76838e2e4e7908fad0803d224b12bbf97d9badf4eafc"}},{"ruleId":"D2","level":"warning","message":{"text":"CompositeLspServer.restart (cognitive 29): CompositeLspServer.restart has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 16). 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":"marimo/_server/lsp.py"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"942c5aeb62800ab71f1c2ae05c0584c93af00ef364784a542ef0584944c8832d"}},{"ruleId":"D2","level":"warning","message":{"text":"data-table.DataTableInternal (cognitive 29): data-table.DataTableInternal has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 11 (12 pts), boolean chains 10, if/else 6 (7 pts) (nesting depth added 2). Of this number, 21 points are the body\u0027s own statements and 8 belong to 5 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/components/data-table/data-table.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d1fd7d1150b1ff4c6a231920b3bdf0bbcc72196f3e314d6ac5dd35454f15a9"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.insertImage (cognitive 29): commands.insertImage has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (20 pts), ternaries 2 (6 pts), error handling 2, boolean chains 1 (nesting depth added 14). Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/core/codemirror/markdown/commands.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7c9d96a8091ee91eb50e389c2413a1861a8ff0975025a4fa7179f453e2522b"}},{"ruleId":"D2","level":"warning","message":{"text":"compose-slides.buildSlideIndices (cognitive 29): compose-slides.buildSlideIndices has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 5 (9 pts) (nesting depth added 14). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to one function literal inside it that branches (line 168). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/slides/compose-slides.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2267ca8fcce01dc22954475cc7a3704c6aaa0ccef56917e48262cce4c509174"}},{"ruleId":"D2","level":"warning","message":{"text":"registerReactComponent.registerReactComponent (cognitive 29): registerReactComponent.registerReactComponent has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (21 pts), error handling 2 (4 pts), boolean chains 2, loops 2 (nesting depth added 8). Of this number, 22 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/core/registerReactComponent.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ae1fc9aa9e83975214d080c2bca5abbd4078be4e7f88edab54ed710fc6d239"}},{"ruleId":"D2","level":"warning","message":{"text":"_nbformat_png_fallbacks.inject_png_fallbacks_into_notebook (cognitive 28): _nbformat_png_fallbacks.inject_png_fallbacks_into_notebook has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 3 (5 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_export/_nbformat_png_fallbacks.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b17fe5d7826d4492e2384afcd28b5e1fc8bee8a8e3a8272a92093f4bac7c57e"}},{"ruleId":"D2","level":"warning","message":{"text":"console_output_worker.buffered_writer (cognitive 28): console_output_worker.buffered_writer has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 3 (6 pts), boolean chains 3 (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":"marimo/_messaging/console_output_worker.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e90b163c6eb36e4e4af33e89c061cfbe6b8b67c935eba6bc286058011075d7c"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect.__init__ (cognitive 28): inspect.__init__ has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 4 (10 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/stateless/inspect.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9186fa3c0cad439956e343650df8ada22dad976b88f52ad866159af04fc3185c"}},{"ruleId":"D2","level":"warning","message":{"text":"print_code.python_print_ibis (cognitive 28): print_code.python_print_ibis has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3 (7 pts), ternaries 3 (6 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9195ea11cd0e97e44a650d20476db7cbf23890cf4314f8e7e0425a5d3d1973"}},{"ruleId":"D2","level":"warning","message":{"text":"file_browser._list_directory (cognitive 28): file_browser._list_directory has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 4, error handling 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/file_browser.py"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"407f89e58ae0bffc4177459e01e169a0ebdccb1cb73253d83e8273e630f9bcc9"}},{"ruleId":"D2","level":"warning","message":{"text":"SerializedWasmExecutor.shutdown (cognitive 28): SerializedWasmExecutor.shutdown has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 2 (8 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/_wasm/_concurrency/_futures.py"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bad87c392f4e89e0cf33371f4ddf361b79be5792083c27a1f4a70a6f5034d83"}},{"ruleId":"D2","level":"warning","message":{"text":"filter-pill-editor.ValueSlot (cognitive 28): filter-pill-editor.ValueSlot has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 6 (12 pts), boolean chains 8, if/else 7 (8 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":"frontend/src/components/data-table/filter-pill-editor.tsx"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e521e66c48eff6d4cc5cb4ab1d2c3130c0c73a90fd0ef81732d54321efbf9ee"}},{"ruleId":"D2","level":"warning","message":{"text":"find-replace.FindReplace (cognitive 28): find-replace.FindReplace has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 7, ternaries 5 (nesting depth added 2). Most of this is not in the body itself: 8 of the 28 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 143, a function literal at line 51, a function literal at line 66, \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/find-replace/find-replace.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f44b38d57fe1ecd6ad8b9d162669050836fad768983b99bee4ee86e9646a520"}},{"ruleId":"D2","level":"warning","message":{"text":"reorderable-list.ReorderableList (cognitive 28): reorderable-list.ReorderableList has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 7, boolean chains 5, loops 1 (nesting depth added 4). Most of this is not in the body itself: 6 of the 28 points are its own statements and the rest belongs to 6 function items inside it that branch (handleCrossListDrop, a function literal at line 200, handleToggleItem, \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/ui/reorderable-list.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04feac8afe0699ece66cb1813628d5abdb97e71792ccfd466b923796ee76ac5"}},{"ruleId":"D2","level":"warning","message":{"text":"paste.extractMarimoApp (cognitive 28): paste.extractMarimoApp has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 4, ternaries 2, loops 1 (nesting depth added 7). Most of this is not in the body itself: 2 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 113, bodyText, pushCell). 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/core/codemirror/misc/paste.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4379b05299706d4a83d6354ef801a0516083c562e2a394ed859030c338dff62"}},{"ruleId":"D2","level":"warning","message":{"text":"GetDatabaseTables._get_tables (cognitive 27): GetDatabaseTables._get_tables has cognitive complexity 27 (threshold 15). Drivers by points: loops 5 (15 pts), if/else 4 (11 pts), boolean chains 1 (nesting depth added 17). 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":"marimo/_ai/_tools/tools/datasource.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c13b61e3b2840ae3966bcc5ae9aa401f660b6c0786a7e4bc2a3f1f42822895"}},{"ruleId":"D2","level":"warning","message":{"text":"codegen.to_functiondef (cognitive 27): codegen.to_functiondef has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (20 pts), ternaries 3 (4 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/codegen.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe76accfa3f524e317bbc1ac58ae8b2406753756a6f4a949a01d86cd1d42ad6"}},{"ruleId":"D2","level":"warning","message":{"text":"Extractor.to_cell_def (cognitive 27): Extractor.to_cell_def has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/parse.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3012b31f9fcc8de0a86cbaf66e06e593d2c8db4bf0a023e8ba9ecb83f5c979"}},{"ruleId":"D2","level":"warning","message":{"text":"schema._enrich_branded_types (cognitive 27): schema._enrich_branded_types has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 6 (8 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/development/schema.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d209c58230b711c3a66af317bd7e79f8b8b6ae919c52ad0196156ebc9209a1f"}},{"ruleId":"D2","level":"warning","message":{"text":"DisplayMathPreprocessor._split_by_inline_code (cognitive 27): DisplayMathPreprocessor._split_by_inline_code has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_output/md_extensions/display_math.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9dee2486aec0c166ed61d4300e66787f01b50ec4c7e40792be8ca67fefaa90f"}},{"ruleId":"D2","level":"warning","message":{"text":"range_slider.__init__ (cognitive 27): range_slider.__init__ has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7, ternaries 3 (6 pts), error handling 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/input.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"f675883a959b579925bc9aadc84c53ab40ff4b7157aca306590bd191240e26bf"}},{"ruleId":"D2","level":"warning","message":{"text":"PackagesCallbacks.missing_packages_hook (cognitive 27): PackagesCallbacks.missing_packages_hook has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (25 pts), loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/callbacks/packages.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b4b3cca522657d4b28d3b8da6fc96e8cf39916c15772b2114990a964c2495b"}},{"ruleId":"D2","level":"warning","message":{"text":"health.usage (cognitive 27): health.usage has cognitive complexity 27 (threshold 15). Drivers by points: error handling 4 (10 pts), if/else 7 (10 pts), loops 2 (5 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":"marimo/_server/api/endpoints/health.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"02661c664da7d0a19f21b5c2f6665e50b363171500619dcefafa7fbbc5167e20"}},{"ruleId":"D2","level":"warning","message":{"text":"bindings.existing_sql_bindings (cognitive 27): bindings.existing_sql_bindings has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 5, ternaries 2 (4 pts), error handling 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_sql/bindings.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1c7138c759a65a138805b39df7b941b82086997f16e30c615bbdbf8504ee4f"}},{"ruleId":"D2","level":"warning","message":{"text":"DBAPIEngine.get_cursor_metadata (cognitive 27): DBAPIEngine.get_cursor_metadata has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 6 (18 pts), if/else 6, loops 1 (2 pts), error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_sql/engines/dbapi.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c016998bcc80c462e13618c47267d8fe81a06e419a724764b09fc8b6864da58"}},{"ruleId":"D2","level":"warning","message":{"text":"feedback-button.FeedbackModal (cognitive 27): feedback-button.FeedbackModal has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 13, if/else 5 (7 pts), ternaries 5 (7 pts) (nesting depth added 4). Of this number, 21 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/components/feedback-button.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3953891cd4b14cc997dc606d6d6ab8533aff8dd57bd7ba67ba5035e00b5d998"}},{"ruleId":"D2","level":"warning","message":{"text":"format.formatValue (cognitive 27): format.formatValue has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 4 (11 pts), match/switch 4 (8 pts), if/else 7, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/filters/format.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7d6211d84376ea1c5c549b0c4b05ca27f47abe01093f270ef637e84b232ba1"}},{"ruleId":"D2","level":"warning","message":{"text":"useCellActionButton.useCellActionButtons (cognitive 27): useCellActionButton.useCellActionButtons has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 7, ternaries 7 (nesting depth added 3). Most of this is not in the body itself: 13 of the 27 points are its own statements and the rest belongs to 7 function items inside it that branch (toggleHideCode, a function literal at line 224, a function literal at line 172, \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/editor/actions/useCellActionButton.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"019f0f11371a9a9a0d455ea640d300b4c9db4a0108f2eee03eb8e2093d89c48e"}},{"ruleId":"D2","level":"warning","message":{"text":"cell-context-menu.CellActionsContextMenu (cognitive 27): cell-context-menu.CellActionsContextMenu has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 6, ternaries 3 (5 pts), error handling 1 (nesting depth added 3). None of this is in the body itself: all 27 points belong to 12 function literals inside it that branch (lines 239, 113, 83, \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/editor/cell/cell-context-menu.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d774387b64b01ed801be9b362ad4cf92ea018f505b92494c2abb1cb173318d2"}},{"ruleId":"D2","level":"warning","message":{"text":"use-file-search.useFileSearch (cognitive 27): use-file-search.useFileSearch has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 7, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 8). Most of this is not in the body itself: 3 of the 27 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 59, 50, 109, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/file-tree/use-file-search.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e308c50312de5000663d22a8d9810896092aa01e2b6afad1ec5cc6f8087c6479"}},{"ruleId":"D2","level":"warning","message":{"text":"grid-layout.GridLayoutRenderer (cognitive 27): grid-layout.GridLayoutRenderer has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 7, ternaries 4 (5 pts) (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 12 belong to 7 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/renderers/grid-layout/grid-layout.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecae553cc30dc574dd71ce7ee12ce6b1e01c2ab53768066612dc8fd09effd5e"}},{"ruleId":"D2","level":"warning","message":{"text":"storage-inspector.StorageInspector (cognitive 27): storage-inspector.StorageInspector has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 5, ternaries 2 (4 pts), loops 2, error handling 1 (nesting depth added 5). Most of this is not in the body itself: 4 of the 27 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 920, 868, 1051, \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/storage/storage-inspector.tsx"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff2fcc8ba0bcaa627d5d1081f9c4bd07c27cbfa03f9ec4afc8eaf3bd61689e8"}},{"ruleId":"D2","level":"warning","message":{"text":"traceback.getTracebackInfo (cognitive 27): traceback.getTracebackInfo has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (21 pts), boolean chains 6 (nesting depth added 14). 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/utils/traceback.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2348ae963558a8bd0a1e4ecfdec468795b43101ff459dbd29e5976191f918efc"}},{"ruleId":"D2","level":"warning","message":{"text":"target.resolve_target (cognitive 26): target.resolve_target has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 5 (8 pts), boolean chains 7 (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":"marimo/_cli/pair/target.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87066010e12c49024743486f35000c2d44aeb7a522d9608ef2a5e5291505b83"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentPreserver._apply_comments_to_source (cognitive 26): CommentPreserver._apply_comments_to_source has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3 (4 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_convert/common/comment_preserver.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f14b1762802bbc76c3e01dfd4cab935cba8044bc3f9ffe0184f4a3cb3fa14d"}},{"ruleId":"D2","level":"warning","message":{"text":"from_ir._convert_output_to_ipynb (cognitive 26): from_ir._convert_output_to_ipynb has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_convert/ipynb/from_ir.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6f1c24eb6490b8e98080d1dda79af8f18eb35c7b30bffe4ea5a486a110d67d"}},{"ruleId":"D2","level":"warning","message":{"text":"to_ir._strip_paragraph_tags (cognitive 26): to_ir._strip_paragraph_tags has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 7, 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":"marimo/_convert/ipynb/to_ir.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb310f391cf6cd90e7f4953a16a2578838a4c07fea682f90a45a1d454166ca00"}},{"ruleId":"D2","level":"warning","message":{"text":"local_wheels._metadata_wheel_dependencies_from_project (cognitive 26): local_wheels._metadata_wheel_dependencies_from_project has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_export/local_wheels.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7877f7340e44f6d3a8a97141b4f7d1bdb1b95186ebee6d0bf937788da1a4a86"}},{"ruleId":"D2","level":"warning","message":{"text":"DisplayMathPreprocessor._pad_math_segments (cognitive 26): DisplayMathPreprocessor._pad_math_segments has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (7 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_output/md_extensions/display_math.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"44daca3b07484d53001e449bab4ab4d5785f2d0c3b0d80046d27912f8ed1ff1d"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPClient._monitor_server_health (cognitive 26): MCPClient._monitor_server_health has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (19 pts), error handling 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/ai/mcp/client.py"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce55af4f04b27b0240116472cd8b22caf362c22891e80c69d5cd08394a84ed2e"}},{"ruleId":"D2","level":"warning","message":{"text":"prompts.get_refactor_or_insert_notebook_cell_system_prompt (cognitive 26): prompts.get_refactor_or_insert_notebook_cell_system_prompt has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/ai/prompts.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf7f26edfcc07e212a567605949f6c54c817f2655f683f9fbe397f2375c4bd4"}},{"ruleId":"D2","level":"warning","message":{"text":"translate._describe (cognitive 26): translate._describe has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (19 pts), ternaries 3 (7 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/translate.py"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"1867f2742b1248dbdfb4ad84bfb62a0fb8f3489b8c416f3840641f5ebd607647"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionManager.create_session (cognitive 26): SessionManager.create_session has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 5, ternaries 1 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/session_manager.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f20b9c17a4d1233e323885d338724b7c65244830de44eeb0c99ba2904f87e03"}},{"ruleId":"D2","level":"warning","message":{"text":"files.async_expand_file_patterns (cognitive 26): files.async_expand_file_patterns has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/files.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef95afca8641e24575117897142cc21c85ff999fb319724506cf3a306b758db9"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeElementsBuilder.createElements (cognitive 26): TreeElementsBuilder.createElements has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 4 (7 pts), boolean chains 3, ternaries 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/dependency-graph/elements.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"b513e4318737784cb0a376a08c85a34ad5fcef28edc2d1e032e0480f628424e5"}},{"ruleId":"D2","level":"warning","message":{"text":"CellStatus.CellStatusComponent (cognitive 26): CellStatus.CellStatusComponent has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 6, ternaries 3 (5 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/cell/CellStatus.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c51486a0eae9ba24e7b9f0e3588164dd07638e882bb74231513830f6b071a9"}},{"ruleId":"D2","level":"warning","message":{"text":"cell-editor.CellEditorInternal (cognitive 26): cell-editor.CellEditorInternal has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 5, loops 1, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 6 of the 26 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 139, 277, 437, \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/editor/cell/code/cell-editor.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a176036e8ee60f2ea901e7675073ea246799e1fc1a82246eecf97e97f3b1d9"}},{"ruleId":"D2","level":"warning","message":{"text":"draft.toChanges (cognitive 26): draft.toChanges has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 3, ternaries 1 (3 pts), 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":"frontend/src/core/notebook/document/draft.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"029258e99ea99f18526640a380fb4e5e10674ea271c99d9d6ff119d89ddfea3a"}},{"ruleId":"D2","level":"warning","message":{"text":"EditNotebookTool.handler (cognitive 26): EditNotebookTool.handler has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (23 pts), match/switch 2 (3 pts) (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/ai/tools/edit-notebook-tool.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a489f749d94b5e5ff0ba484b8ce102c7b6e9081f6e646e923457a21c61c1e9d"}},{"ruleId":"D2","level":"warning","message":{"text":"hooks.useEnrichCellOutputs.\u003Creturned closure\u003E (cognitive 26): hooks.useEnrichCellOutputs.\u003Creturned closure\u003E has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 3, loops 3, error handling 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/export/hooks.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a042d7e76acb0a4b59a1f2855e5bc1b2ef0bf57354364ad0499a0bfbe5ffbec6"}},{"ruleId":"D2","level":"warning","message":{"text":"dedent._get_protected_lines (cognitive 25): dedent._get_protected_lines has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 3 (8 pts), boolean chains 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/dedent.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"badc766726d480618845a194c1d7c15dd82d8b1d63af13461210d3d902b5f6fd"}},{"ruleId":"D2","level":"warning","message":{"text":"Document.apply (cognitive 25): Document.apply has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (19 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_core/document.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"540394a04509ada710415cad89babb3e44b6e4f076a99c23631d217ffc9e33ee"}},{"ruleId":"D2","level":"warning","message":{"text":"get_datasets._get_databases_from_duckdb_internal (cognitive 25): get_datasets._get_databases_from_duckdb_internal has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (20 pts), ternaries 1 (2 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_data/get_datasets.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e328ce48ef5e471432b4f738164a3e0555c056ea38e8db2ea4daa75b8203f03"}},{"ruleId":"D2","level":"warning","message":{"text":"DisplayMathPreprocessor._normalize_display_math_spacing (cognitive 25): DisplayMathPreprocessor._normalize_display_math_spacing has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 4, 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":"marimo/_output/md_extensions/display_math.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f6823633a757985ff53b64096c3b3b6a701e6982e780c9f96910ee9f2e3432"}},{"ruleId":"D2","level":"warning","message":{"text":"_EditableTable._apply_positional_edit (cognitive 25): _EditableTable._apply_positional_edit has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (16 pts), loops 2 (6 pts), boolean chains 2, ternaries 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"marimo/_plugins/ui/_impl/data_editor.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d976966bde71ceee8ff1b78bbea5899bdaaad6fe76ec123344efae720dbd8ac"}},{"ruleId":"D2","level":"warning","message":{"text":"slider.__init__ (cognitive 25): slider.__init__ has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 3 (6 pts), boolean chains 5, error handling 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/input.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"833ed61734b50c249939da4dfb82641712243a5b3c3ad61f04105c26e4a4762d"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._extract_histogram_points_fallback (cognitive 25): plotly._extract_histogram_points_fallback has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"627efac6f6ef29de848c58a449880671325aa411eacca9956d1976611800e2d4"}},{"ruleId":"D2","level":"warning","message":{"text":"table._download (cognitive 25): table._download has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 5, error handling 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/table.py"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb4699360a0653e849cee3acd41758e81027228bd4730d55a4b9cb62191b65c"}},{"ruleId":"D2","level":"warning","message":{"text":"geometry_export._arrow_geometry_declaration (cognitive 25): geometry_export._arrow_geometry_declaration has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 7, error handling 2 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/tables/geometry_export.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9dfb8b4aae760840e196fd25d344b3e5590f50aa2ff92bf27b6d0218eab9cd"}},{"ruleId":"D2","level":"warning","message":{"text":"edges.get_referring_cells (cognitive 25): edges.get_referring_cells has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/dataflow/edges.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0396f3951821a2c41b3d45b6eaf28326144419b05e084c15b13ceb858dc075ef"}},{"ruleId":"D2","level":"warning","message":{"text":"_micropip_streaming.stream_transaction_install (cognitive 25): _micropip_streaming.stream_transaction_install has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 6 (8 pts), error handling 3 (6 pts), ternaries 2, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/packages/_micropip_streaming.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6f4ba93cdffe6e8d872f1f7266004a1f049724c81ef33c69b6a31dbe9af60a"}},{"ruleId":"D2","level":"warning","message":{"text":"assets.index (cognitive 25): assets.index has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 2 (7 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/api/endpoints/assets.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bc3d18a7c4400fa87ed6ad6f9d03ea5a54135847ecec4df85d394c58821fb8"}},{"ruleId":"D2","level":"warning","message":{"text":"AdbcConnectionCatalog.get_tables_in_schema (cognitive 25): AdbcConnectionCatalog.get_tables_in_schema has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 3 (6 pts), boolean chains 5 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_sql/engines/adbc.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8af8afee918be5c0afaa299ebb83da95aba641bc1f33890c2e55232eaa984a"}},{"ruleId":"D2","level":"warning","message":{"text":"_templates.notebook_page_template (cognitive 25): _templates.notebook_page_template has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 8, ternaries 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_templates.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b191677839a69909f905df717b418dde0cd8eb5222b67e9056c0b8603f31db"}},{"ruleId":"D2","level":"warning","message":{"text":"inline_script_metadata._pyproject_toml_to_requirements_txt (cognitive 25): inline_script_metadata._pyproject_toml_to_requirements_txt has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/inline_script_metadata.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba48a5fd408945872c4ff47013312698c55591516f1700c435f2ca59afc3aa1"}},{"ruleId":"D2","level":"warning","message":{"text":"startup-output.StartupOutput (cognitive 25): startup-output.StartupOutput has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 9, if/else 8 (9 pts), ternaries 6 (7 pts) (nesting depth added 2). Of this number, 13 points are the body\u0027s own statements and 12 belong to 6 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/alerts/startup-output.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09db12b24a1c2d59283ff65520fd2d6f7a10ed2693964ea956f79d60bdc5c26"}},{"ruleId":"D2","level":"warning","message":{"text":"extension.copilotBundle (cognitive 25): extension.copilotBundle has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 3 (nesting depth added 9). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 56, 102, 157). 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/core/codemirror/copilot/extension.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb918139a441c90bc1d9f668e18f459dc0ce8d606e887dc72f15480e60c6f28f"}},{"ruleId":"D2","level":"warning","message":{"text":"Extractor.extract_from_code (cognitive 24): Extractor.extract_from_code has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/parse.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8bca8c6cfc4cbefe7d630e3bd7617cb8915187a6fe0187384e58e21a436200"}},{"ruleId":"D2","level":"warning","message":{"text":"parse.extract_offsets_post_colon (cognitive 24): parse.extract_offsets_post_colon has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5, loops 3, ternaries 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/parse.py"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9165cbb4189e2561e07bf74e03ddaeb52f33d02257772f50879db754b7b1a9"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtractWithBlock.generic_visit (cognitive 24): ExtractWithBlock.generic_visit has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 1 (4 pts), loops 2 (4 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/transformers.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab64b8c7b10cda38338d25a50a604c7ebbd3a210ed69f7f2d57f6eb97e7ff72"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncCodeModeContext._dry_run_compile (cognitive 24): AsyncCodeModeContext._dry_run_compile has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_code_mode/_context.py"},"region":{"startLine":1623}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c26024e2e566ef2407ed204aff4fb6be390e9f3a929df39d24919dee41f843"}},{"ruleId":"D2","level":"warning","message":{"text":"_plan._build_plan (cognitive 24): _plan._build_plan has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_code_mode/_plan.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f6732b18b1bf9d3ef238043d23e544686ada38b1b62083df7cce9f37192ef4"}},{"ruleId":"D2","level":"warning","message":{"text":"media.io_to_data_url (cognitive 24): media.io_to_data_url has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 5, error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/core/media.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"130b4fc3b774dffa51592b1c62b5cebf5551a06ddb4761711655b969014cea3f"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._extract_histogram_points_numpy (cognitive 24): plotly._extract_histogram_points_numpy has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 3 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e76b9791101075daed5602b7304d67a57cde0946c986aaaea9a71f8ce26c01"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._extract_funnel_stages_fallback (cognitive 24): plotly._extract_funnel_stages_fallback has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":3571}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e221ad2520116fd4bd3c270ad12794811a0b40503be55b765633714a11802b"}},{"ruleId":"D2","level":"warning","message":{"text":"kernel_lifecycle.listen_messages (cognitive 24): kernel_lifecycle.listen_messages has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 3 (9 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/kernel_lifecycle.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a9e37825decd82dfb82be10c5980d98ef99e5f279aa3da6d447e6992c11f7b"}},{"ruleId":"D2","level":"warning","message":{"text":"config._get_key (cognitive 24): config._get_key has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/ai/config.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf7f90b2e8eafee8d2ded5d9dfa74e9cdabf4e07deee553a38391644d7e687a"}},{"ruleId":"D2","level":"warning","message":{"text":"terminal._read_from_pty (cognitive 24): terminal._read_from_pty has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (17 pts), error handling 3 (6 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/api/endpoints/terminal.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5b71b5f5c0a6520c002d6e9ebe6e5d697085dd94da621058dc00dfab2f1238"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionBackend._handle_notification (cognitive 24): SessionBackend._handle_notification has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/backend.py"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"0946d918cec5fa3ba7eea26d217d18cc860fc0a12528b227bc64c224d860ac5e"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-model-dropdown.AIModelDropdown (cognitive 24): ai-model-dropdown.AIModelDropdown has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 10 (17 pts), boolean chains 4, if/else 3 (nesting depth added 7). Of this number, 20 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ai/ai-model-dropdown.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10230821143470890fda675e7c1d954c1302466bc07d3c8cc5a2633e18ecafe"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-notice.ConnectionNotice (cognitive 24): connection-notice.ConnectionNotice has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 15, ternaries 5 (6 pts), if/else 3 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/alerts/connection-notice.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3992e6704f67b12eac6b706501028e3669b3edb65e269913f9716dde41815a3"}},{"ruleId":"D2","level":"warning","message":{"text":"clipboard.useCellClipboard.pasteAtCell (cognitive 24): clipboard.useCellClipboard.pasteAtCell has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 3 (8 pts), error handling 2 (4 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":"frontend/src/components/editor/navigation/clipboard.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce24939004e3b301deec6b81b93e0014c99016530db0abc195d93f49cc66ad12"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLCompletionStore.getConnectionSchema (cognitive 24): SQLCompletionStore.getConnectionSchema has cognitive complexity 24 (threshold 15). Drivers by points: loops 7 (16 pts), if/else 4 (7 pts), boolean chains 1 (nesting depth added 12). 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, 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":"frontend/src/core/codemirror/language/languages/sql/completion-store.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c9526b59d89c9b8791e6cfe1d74d5c00964ba6df22e5299b10f2adee595b25"}},{"ruleId":"D2","level":"warning","message":{"text":"cells.createTracebackInfoAtom (cognitive 24): cells.createTracebackInfoAtom has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 4, loops 1 (3 pts), ternaries 1 (nesting depth added 10). None of this is in the body itself: all 24 points belong to one function literal inside it that branches (line 606). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/cells/cells.ts"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ca6dfceb2eba102dedbfa3b63e77d8a67f9d9950755fae920936a249e50f49"}},{"ruleId":"D2","level":"warning","message":{"text":"file-explorer.Node (cognitive 24): file-explorer.Node has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 14, ternaries 5 (6 pts), if/else 4 (nesting depth added 1). Of this number, 19 points are the body\u0027s own statements and 5 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/file-tree/file-explorer.tsx"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad17668bc4c054eb7a07fa76098e9bc4133606f7bf9a7aa3c67d9b3fa654f9db"}},{"ruleId":"D2","level":"warning","message":{"text":"package-alert.PackageAlert (cognitive 24): package-alert.PackageAlert has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 14, ternaries 4 (6 pts), if/else 4 (nesting depth added 2). Of this number, 16 points are the body\u0027s own statements and 8 belong to 4 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/editor/package-alert.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07e3a75780478f1cf7c154f6064bb867590bee8333d2c1b53b5c2fe98825e77"}},{"ruleId":"D2","level":"warning","message":{"text":"storage-inspector.StorageNamespaceSection (cognitive 24): storage-inspector.StorageNamespaceSection has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 14, if/else 8, ternaries 2. Of this number, 12 points are the body\u0027s own statements and 12 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/storage/storage-inspector.tsx"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"6524e5f678b0380e3d5819bfb3fde74892acadc17d050ce00ca848dd9fc813e2"}},{"ruleId":"D2","level":"warning","message":{"text":"analyzer.analyzeCacheSite (cognitive 24): analyzer.analyzeCacheSite has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/code-lens/analyzer.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2ca52205d2ffddb87c961b898df7cbcd8134355054712862a1a6f28f2c86ee"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeMirrorVimSync.broadcastModeChange (cognitive 24): CodeMirrorVimSync.broadcastModeChange has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (20 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/keymaps/vim.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74654425bdd4cac4982e8cb051c5038b0efe43359f0e5c44098d81629a597f6"}},{"ruleId":"D2","level":"warning","message":{"text":"App.embed (cognitive 23): App.embed has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/app.py"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83fec9e0e989250faad90498a1bbc7e32713af8e553eeb379cee15f7cee3e26"}},{"ruleId":"D2","level":"warning","message":{"text":"Cell.__call__ (cognitive 23): Cell.__call__ has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5, ternaries 3 (5 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":"marimo/_ast/cell.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb648b6c733cc45aebc925024ffdd7752ee976fd868cde84471a4a131b4d1b1"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.run (cognitive 23): cli.run has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 5, loops 2, ternaries 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/cli.py"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b8bd7206fb54aacca145f1a6986e5dbdd4a509cf30656ac4f7513dcc8588fd"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeHarness.detect (cognitive 23): OpenCodeHarness.detect has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 6, error handling 2 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/pair/harnesses/opencode.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc9991400eb0d0e54988ecbd03891480e8491739ebc309186f532ca6c5e087a"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.resolve_token_password (cognitive 23): utils.resolve_token_password has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 4 (8 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/utils.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c2f7baafe461eee93fc50399fe42516a288a85c9b50abb4472f2e8192dd320"}},{"ruleId":"D2","level":"warning","message":{"text":"ReusableDefinitionOrderRule._stable_provider_order (cognitive 23): ReusableDefinitionOrderRule._stable_provider_order has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 4 (6 pts), boolean chains 5 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_lint/rules/runtime/reusable_definition_order.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c6eb201abf683763ea822b261223c18378a31f895127be35fe30688a0cf0a6"}},{"ruleId":"D2","level":"warning","message":{"text":"altair_chart._coerce_value (cognitive 23): altair_chart._coerce_value has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 1 (3 pts), boolean chains 2, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/altair_chart.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e7a9f3e7705cfd3fd1bbc2af40afc645892d2197f1be883ece570332dd0009"}},{"ruleId":"D2","level":"warning","message":{"text":"_futures._wait_for_wasm_futures (cognitive 23): _futures._wait_for_wasm_futures has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 3 (5 pts), ternaries 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":"marimo/_runtime/_wasm/_concurrency/_futures.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e12d1913879a3aadd1c0b967fb94043aac963d42c7d89f7355ed5175b884878"}},{"ruleId":"D2","level":"warning","message":{"text":"DirectedGraph.get_transitive_references (cognitive 23): DirectedGraph.get_transitive_references has cognitive complexity 23 (threshold 15). Drivers by points: if/else 3 (12 pts), loops 4 (10 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/dataflow/graph.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca61f0105a55482dae74eb3cf18f9855f893f65756b8bd31577fbd2ba255a69"}},{"ruleId":"D2","level":"warning","message":{"text":"Runner.resolve_state_updates (cognitive 23): Runner.resolve_state_updates has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runner/cell_runner.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59f112133aa65d0aaea0db456345c97873b60d32109ca7c593863d07d724b89"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIClientMixin.get_openai_client (cognitive 23): OpenAIClientMixin.get_openai_client has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 3, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/ai/providers.py"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"b197ec064a82cb0a11365a534b053d7354e1453b97c029b5c7615e1879c628aa"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionBridge.adopt (cognitive 23): SessionBridge.adopt has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 2 (4 pts), ternaries 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/bridge.py"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c738ca0c05abebc1021ef9fc4e9001ee9cba2e139b5ad86af47371378fbc82d"}},{"ruleId":"D2","level":"warning","message":{"text":"snippets.read_snippets (cognitive 23): snippets.read_snippets has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_snippets/snippets.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc5be3ef9ab983a5b2af21caeede39ad502bec5be669a4500fe77db5f70c9da"}},{"ruleId":"D2","level":"warning","message":{"text":"datasources.DatasetTableItem (cognitive 23): datasources.DatasetTableItem has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 6, ternaries 3 (4 pts), match/switch 1 (nesting depth added 2). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 5 function items inside it that branch (handleAddTable::getCode, a function literal at line 829, renderColumns, \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/datasources/datasources.tsx"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfff04142753f60b4d566661d16cb5859acb7a51dba34304df5dcdc125a505e"}},{"ruleId":"D2","level":"warning","message":{"text":"NotebookLanguageServerClient.textDocumentRename (cognitive 23): NotebookLanguageServerClient.textDocumentRename has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 2, loops 1 (nesting depth added 7). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/lsp/notebook-lsp.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"2468e39cf499eead4f0d1ebc7126daf89a50a252dbbe1f5ea6b9a07b95f6df51"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox-controller.SandboxController (cognitive 23): sandbox-controller.SandboxController has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 8 (17 pts), boolean chains 6 (nesting depth added 9). 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/editor/chrome/panels/sandbox-controller.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa8d9ba69d1f97211c1e79624b170a92c4c00e7b0f887185b72e82d88ddb3a6"}},{"ruleId":"D2","level":"warning","message":{"text":"backend-status.BackendConnectionStatus (cognitive 23): backend-status.BackendConnectionStatus has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 7 (10 pts), boolean chains 2, error handling 1 (nesting depth added 5). Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 40, getStatusIcon, getStatusInfo). 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/editor/chrome/wrapper/footer-items/backend-status.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d1cf236262b115262e3eec9b9a841b0c448532cd8819292a15f57651c98d02"}},{"ruleId":"D2","level":"warning","message":{"text":"storage-file-viewer.StorageFileViewer (cognitive 23): storage-file-viewer.StorageFileViewer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12, boolean chains 6, ternaries 2 (4 pts), error handling 1 (nesting depth added 2). Most of this is not in the body itself: 10 of the 23 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 66, renderMetadata, a function literal at line 95, \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/storage/storage-file-viewer.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e885c2f3d6949fb8065f3ab30478ea5ff6a56bee4155dc50c388fd5e960d4af"}},{"ruleId":"D2","level":"warning","message":{"text":"vim.applyVimCommands (cognitive 23): vim.applyVimCommands has cognitive complexity 23 (threshold 15). Drivers by points: if/else 19 (20 pts), boolean chains 2, loops 1 (nesting depth added 1). Most of this is not in the body itself: 7 of the 23 points are its own statements and the rest belongs to 4 function items inside it that branch (map, noremap, unmap, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/keymaps/vim.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"d472cfe906b8ddda8273eb61ff12a240ca404bf806be3fc9bfecf6e61ad15367"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerSentEventStream.constructor (cognitive 23): ServerSentEventStream.constructor has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 4 (7 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 8). Of this number, 17 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/transport/sse.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f30bec37d5e902cb24fa618c23fc7506138fdb8255aacd97c25f263af21c5e9"}},{"ruleId":"D2","level":"warning","message":{"text":"discovery.discoverHosts (cognitive 23): discovery.discoverHosts has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 4, error handling 2 (3 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/node/discovery.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"251cabc1e53094ef581b6da58ff0205b73f77d6455efa4ebbef83b327fed5587"}},{"ruleId":"D2","level":"warning","message":{"text":"_convert.convert_to_openai_messages (cognitive 22): _convert.convert_to_openai_messages has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 1 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ai/_convert.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5a3a05248b71641ffb7b24947d40e59a248cbb7a4b2f6333a01fd4943f866c"}},{"ruleId":"D2","level":"warning","message":{"text":"cli._collect_marimo_files (cognitive 22): cli._collect_marimo_files has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (4 pts), error handling 1 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/cli.py"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3b7741106717fb9419a935900e8b3e50db372071f11e6d4aa82154981dc4ae"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.pdf (cognitive 22): commands.pdf has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4, error handling 2 (3 pts), ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/export/commands.py"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"b881aca576ee158946c25ecf535006beb0ef3949a8031c63bca762cd13dd1847"}},{"ruleId":"D2","level":"warning","message":{"text":"_context._plan_to_document_ops (cognitive 22): _context._plan_to_document_ops has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 5, loops 4 (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":"marimo/_code_mode/_context.py"},"region":{"startLine":1976}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a067a542683dd84349c17d85d095688c0e11bc121d15b7219ac8fd5a10edb8b"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._build_box_sample_point (cognitive 22): plotly._build_box_sample_point has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 2 (5 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (plotly._build_violin_sample_point) 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":3187}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55575d39e78a84b89b09eef60fe123a8f012eb229d879aeaca7384e060288ba"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._build_violin_sample_point (cognitive 22): plotly._build_violin_sample_point has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 2 (5 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (plotly._build_box_sample_point) 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":3333}}}],"partialFingerprints":{"codehealthFindingId/v1":"474b557cb757b89589c812dee6ac011d6931f05f6185657ea8b969e17eaa8b0e"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultTableManager.calculate_top_k_rows (cognitive 22): DefaultTableManager.calculate_top_k_rows has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (8 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/tables/default_table.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca909a91df3a76c2c453da40225147856d46f954105a82c05414fc458379600"}},{"ruleId":"D2","level":"warning","message":{"text":"cell_runner._find_aliased_import (cognitive 22): cell_runner._find_aliased_import has cognitive complexity 22 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (7 pts), boolean chains 4, 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":"marimo/_runtime/runner/cell_runner.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a745b58a8d3f5f6a46de9fc9333129071cd97a3a75326c8f78f98371e39c646b"}},{"ruleId":"D2","level":"warning","message":{"text":"hooks_post_execution._broadcast_outputs (cognitive 22): hooks_post_execution._broadcast_outputs has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 6 (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":"marimo/_runtime/runner/hooks_post_execution.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0c7ac8e1ef68ab04d9e04d7812932e1e0d6da99e1557e46ebceaba451ec673"}},{"ruleId":"D2","level":"warning","message":{"text":"Kernel.set_user_config (cognitive 22): Kernel.set_user_config has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 4 (8 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runtime.py"},"region":{"startLine":2353}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5baf451993526e0f1fb4ad4ea5112a85b98a31e78ee3c394a4ad77a9860339"}},{"ruleId":"D2","level":"warning","message":{"text":"record.discover_hosts (cognitive 22): record.discover_hosts has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 6, error handling 2 (3 pts), loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/record.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"087e59ce07878155aad8172dcf4541df7875b9c0b264fd077e5ea95335243723"}},{"ruleId":"D2","level":"warning","message":{"text":"inline_script_metadata.pin_pep723_dependencies_for_wasm (cognitive 22): inline_script_metadata.pin_pep723_dependencies_for_wasm has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (3 pts), error handling 2, boolean chains 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/inline_script_metadata.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"81852d0614012504895153d6c6073ce463841d63731aca04b0e2c385dbed44ce"}},{"ruleId":"D2","level":"warning","message":{"text":"model-discovery.ModelDiscovery (cognitive 22): model-discovery.ModelDiscovery has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6, error handling 2 (3 pts), ternaries 2 (nesting depth added 3). Most of this is not in the body itself: 6 of the 22 points are its own statements and the rest belongs to 3 function items inside it that branch (load, a function literal at line 151, a function literal at line 176). 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/app-config/model-discovery.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84b128b4f3c9c2dc0e52bec38eb6fde336e3efbdbedd9c7652ac152d2ec5b67"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.createDocumentSync.drain (cognitive 22): sync.createDocumentSync.drain has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 4, ternaries 1 (2 pts), error handling 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/notebook/document/sync.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7419b05ebf91707b73845f9400861efb2f0ea383c306cfc27a0dc90443ae8213"}},{"ruleId":"D2","level":"warning","message":{"text":"lsp-status.LspStatus (cognitive 22): lsp-status.LspStatus has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 7, match/switch 3, boolean chains 2, error handling 2 (nesting depth added 3). Most of this is not in the body itself: 4 of the 22 points are its own statements and the rest belongs to 6 function items inside it that branch (handleRestart, a function literal at line 29, getStatusIcon, \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/editor/chrome/wrapper/footer-items/lsp-status.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5245b117a668d774754e84aba37e9d6ea3c774559a89f86f4efde141690b64f4"}},{"ruleId":"D2","level":"warning","message":{"text":"actions.deleteCellsAtom (cognitive 22): actions.deleteCellsAtom has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 6 (7 pts), loops 4, boolean chains 2 (nesting depth added 4). Most of this is not in the body itself: 7 of the 22 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 498, 454, 467, \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/core/cells/actions.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb60bcfaff0fd502608b3c77d6e500b638c221b02fcbd887363f567445b5aad7"}},{"ruleId":"D2","level":"warning","message":{"text":"AnsiReducer.processText (cognitive 22): AnsiReducer.processText has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 1, 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":"frontend/src/components/editor/output/ansi-reduce.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c66c9f7466ab3f2b875ac7a46c295cf540c266716140678ddfce859f250ec4"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_llms_txt.extract_description (cognitive 21): generate_llms_txt.extract_description has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/scripts/generate_llms_txt.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8359aa32fdeb5afafd5a68366f6bd435611d19490d9b97b0897ff4959b64fed7"}},{"ruleId":"D2","level":"warning","message":{"text":"codegen.format_markdown (cognitive 21): codegen.format_markdown has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, ternaries 1 (3 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/codegen.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b5467f8d0835d6abc3396bfde76920ffe0279726fb273855138ca16841eb9b"}},{"ruleId":"D2","level":"warning","message":{"text":"type_inference.infer_annotations (cognitive 21): type_inference.infer_annotations has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3 (5 pts), ternaries 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":"marimo/_ast/type_inference.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3818852ac6a5571cf68ceceab6c06dcd56d4604dfd03a4cd8db4a62fe5e6c95f"}},{"ruleId":"D2","level":"warning","message":{"text":"client.execute (cognitive 21): client.execute has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 2 (6 pts), boolean chains 3, error handling 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/pair/client.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37ef710fe1eda5058a012e1bbac1b29e8a3ed144730e94076836e826d74e984"}},{"ruleId":"D2","level":"warning","message":{"text":"_better_inspect.better_help (cognitive 21): _better_inspect.better_help has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, error handling 1 (3 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":"marimo/_code_mode/_better_inspect.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2546cb0d82d7137bad0b6d9511812d38a8c9433a82cd313d267116f347f9f7"}},{"ruleId":"D2","level":"warning","message":{"text":"schema_utils._prepare_mcp_config (cognitive 21): schema_utils._prepare_mcp_config has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_config/schema_utils.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cb897785fe80f1254d122256f2c1d6c6b602ea8c80faf67c780145d352fdda"}},{"ruleId":"D2","level":"warning","message":{"text":"RunLog.observe (cognitive 21): RunLog.observe has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 1 (3 pts), boolean chains 1, match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_core/run_log.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a363f7bb3816135436d8f81230830dfe6923a3973d2fc251c81b8de1d588eab1"}},{"ruleId":"D2","level":"warning","message":{"text":"get_datasets._db_type_to_data_type (cognitive 21): get_datasets._db_type_to_data_type has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13, boolean chains 8. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_data/get_datasets.py"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d28ce65675dad37e334649fa6f48e40ab5950f029227866af335b9ab25a16b"}},{"ruleId":"D2","level":"warning","message":{"text":"FullFormatter.format (cognitive 21): FullFormatter.format has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_lint/formatters/full.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5364f3df3a04143379f8487c1568fedaa09414d867c71a984a88aa04b99963"}},{"ruleId":"D2","level":"warning","message":{"text":"Linter.fix (cognitive 21): Linter.fix has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_lint/linter.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c0d2ef4435d07e6f8e1c2877c1871f5fb0968619477e064cf9341be95d9a56"}},{"ruleId":"D2","level":"warning","message":{"text":"PrivateImportAliasRule.check (cognitive 21): PrivateImportAliasRule.check has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (7 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_lint/rules/runtime/private_import_alias.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89e4f93e8ffdd5eb343516e3838ac7772ae332308a9446096c37a7b38a08acc"}},{"ruleId":"D2","level":"warning","message":{"text":"incompatible_packages._resolve_dep_tree (cognitive 21): incompatible_packages._resolve_dep_tree has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_lint/rules/wasm/incompatible_packages.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1692c1ba892bb2dcc4e1bd3bf45015f7362c6756d8e194606b525c6afa822cb"}},{"ruleId":"D2","level":"warning","message":{"text":"NotebookDocument._apply_change (cognitive 21): NotebookDocument._apply_change has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_messaging/notebook/document.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67c12ba417aa88bd48e5525a4039df6c6358e6e5c5f385e7df86190d63837ee"}},{"ruleId":"D2","level":"warning","message":{"text":"accordion.__init__ (cognitive 21): accordion.__init__ has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 3 (6 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/stateless/accordion.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4345b754ef9576d82265fde53c7c2aa33acd9f86492f2568d583aa4b91068141"}},{"ruleId":"D2","level":"warning","message":{"text":"chat._handle_streaming_response (cognitive 21): chat._handle_streaming_response has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (4 pts), error handling 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":"marimo/_plugins/ui/_impl/chat/chat.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f72fc2b65705f757c85d4f896814739c67fb86db5b81a81bde954cb5135b74"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._extract_waterfall_bars_numpy (cognitive 21): plotly._extract_waterfall_bars_numpy has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 2 (4 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1a1d4d5d35efdf191142d062251f86671b928325684bbbee6ead29eade72ff"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultTableManager.select_cells (cognitive 21): DefaultTableManager.select_cells has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (6 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/tables/default_table.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8702ef6604010bf1c4e7d18e7700cf94204bbfb91cc6c8cdd76c733c2ca5cd1"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultTableManager.sort_values (cognitive 21): DefaultTableManager.sort_values has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 2 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/tables/default_table.py"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0827943e77d097f03286eb4454c914afdefd51dad8338fff64b233eee379d2"}},{"ruleId":"D2","level":"warning","message":{"text":"kernel_runner._defs_equal (cognitive 21): kernel_runner._defs_equal has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/app/kernel_runner.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cebfacaab877bb3556556acbfa2f8710c5470abf60a54f7a4201db76f852221"}},{"ruleId":"D2","level":"warning","message":{"text":"autoreload.update_class (cognitive 21): autoreload.update_class has cognitive complexity 21 (threshold 15). Drivers by points: error handling 5 (12 pts), if/else 3 (6 pts), loops 2, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/reload/autoreload.py"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e5a5b4d2660912d106870cf679a205b3f5f876832e9475e3c5317af18752e9"}},{"ruleId":"D2","level":"warning","message":{"text":"auth.validate_auth (cognitive 21): auth.validate_auth has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/api/auth.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"41562f28b5fe38de128000ad5869f1bb4110f0d945837fdabcb64d70a4d92686"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyMiddleware.__call__ (cognitive 21): ProxyMiddleware.__call__ has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/api/middleware.py"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37dabce85a2678e4ff991e6aa53fb9b210de77b494a01756dd87f26cb8a1808"}},{"ruleId":"D2","level":"warning","message":{"text":"document.apply_to_document (cognitive 21): document.apply_to_document has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/document.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52c4329b6ca2d9c4cb31701e1c2ee24a2af51524910b2f3a8cde7d3ed04623b"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-config.AddModelForm (cognitive 21): ai-config.AddModelForm has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 14, ternaries 5 (6 pts), if/else 1 (nesting depth added 1). Of this number, 19 points are the body\u0027s own statements and 2 belong to 2 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/app-config/ai-config.tsx"},"region":{"startLine":1675}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af4f0dcaa59253122e6c2e959a22c728a1723a59815c206544a5f332d6e9dcd"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.detectSentinel (cognitive 21): utils.detectSentinel has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/utils.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfaf4387d3053c9fb67f826cf4c09d58b64fc69c5cd2cede2742160a9771fca"}},{"ruleId":"D2","level":"warning","message":{"text":"columns.generateColumns.columns (cognitive 21): columns.generateColumns.columns has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 14, ternaries 4, if/else 3. Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 209, 282, 283). 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/data-table/columns.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"28848dd5df5727bc058b378de4917b757405dbd0751c778d58cd314c628d8b22"}},{"ruleId":"D2","level":"warning","message":{"text":"terminal.TerminalComponent (cognitive 21): terminal.TerminalComponent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 8, error handling 1, loops 1, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 10 function literals inside it that branch (lines 323, 213, 225, \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/terminal/terminal.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f36f7c34cc717bfa64b8af199384be534b4dd001410b53a40c7df879a84cbd"}},{"ruleId":"D2","level":"warning","message":{"text":"select-list.SelectList (cognitive 21): select-list.SelectList has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (9 pts), if/else 7 (8 pts), boolean chains 4 (nesting depth added 2). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 8 function items inside it that branch (handleComboChange, renderTriggerValue, pinnedSeparator, \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/ui/select-core/select-list.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2d9324e3a979a0cd0afee4dd72b5c7ca19ba12d1461e2d897132c2ce2e3e5a"}},{"ruleId":"D2","level":"warning","message":{"text":"freshness.freshnessOf (cognitive 21): freshness.freshnessOf has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 5, ternaries 3, loops 1 (nesting depth added 6). None of this is in the body itself: all 21 points belong to 4 function items inside it that branch (inputsChanged, sourceChanged, ofRecord, \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/core/executions/freshness.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d60435d16ccf6757e4da600817ff82e2a5aff355c45e7e1f05857d7f3b61eca"}},{"ruleId":"D2","level":"warning","message":{"text":"request.request (cognitive 21): request.request has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 2 (3 pts), ternaries 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/request.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7dd326faa2741a07b93ddc6570e947e0f2eef46291038c6903709a329b60c7"}},{"ruleId":"D2","level":"warning","message":{"text":"python-ast.getPrefixLength (cognitive 21): python-ast.getPrefixLength has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11, boolean chains 10. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/smart-cells/src/utils/python-ast.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23aa90f331d0d96046ff87d9a25c1efd94d5e7e4ecea44cb2a120228780425e"}},{"ruleId":"D2","level":"warning","message":{"text":"Extractor.to_cell (cognitive 20): Extractor.to_cell has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (18 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":"marimo/_ast/parse.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a314412ee206742ca9bc11949d7bee169495f9b5cec093d7412985e9c449db5"}},{"ruleId":"D2","level":"warning","message":{"text":"type_inference._dependency_order (cognitive 20): type_inference._dependency_order has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 6 (9 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":"marimo/_ast/type_inference.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eec7dbf7b33b014ca77f40c37d147b61276b796bfa96d81621c5627500b5122"}},{"ruleId":"D2","level":"warning","message":{"text":"client.list_sessions (cognitive 20): client.list_sessions has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, error handling 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/pair/client.py"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"572cfb6c6cfd5b4c7abf519f677934b3bed9a0d0314ec0e2120dcb8e8eeda6bc"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.list_notebooks (cognitive 20): commands.list_notebooks has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (4 pts), error handling 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/pair/commands.py"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"4909abf41f73654bf19cce45290763fb67a674766ec1dfebff7b06a6648e7556"}},{"ruleId":"D2","level":"warning","message":{"text":"deprecations._deprecated_fields (cognitive 20): deprecations._deprecated_fields has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (7 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":"marimo/_config/deprecations.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d019faa1391866f21733a326d25b8e12047a21a97dedcfa454a3afb35dbbe69"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeCallVisitor.visit_Call (cognitive 20): UnsafeCallVisitor.visit_Call has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_lint/rules/wasm/_unsafe_call_analysis.py"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5dec858f9316625280f81dcfb212b9c1f63ae109116d7bf0663100bf017bb7a"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeCallVisitor._aliases_for_value (cognitive 20): UnsafeCallVisitor._aliases_for_value has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (19 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":"marimo/_lint/rules/wasm/_unsafe_call_analysis.py"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a441b08077c7af7f624fde13f76b90c5d4bfe39cf60e5d37acf05073b1ca52d"}},{"ruleId":"D2","level":"warning","message":{"text":"structures._key_formatter (cognitive 20): structures._key_formatter has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 2 (4 pts), ternaries 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_output/formatters/structures.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7956e7b0a98e6f0acf70077d51271725e73da44a602402360707aeb7650ac844"}},{"ruleId":"D2","level":"warning","message":{"text":"altair_chart.__init__ (cognitive 20): altair_chart.__init__ has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 6, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/altair_chart.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7e5a789e0cb5266553c9c0fccad2b10145bb182f5b31923937fa2bf0858e2e"}},{"ruleId":"D2","level":"warning","message":{"text":"data_editor._convert_like (cognitive 20): data_editor._convert_like has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/data_editor.py"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0213c8d7475f4588b6157027b45ee2bb8eeb485e44c7257271156894493eda5"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._append_bar_items_to_selection (cognitive 20): plotly._append_bar_items_to_selection has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1658}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d001beaeefc043a1fb2005da4254f973cf41af60202ca9e8048f743d5e2c467"}},{"ruleId":"D2","level":"warning","message":{"text":"geometry_export._prepare_geographic_export (cognitive 20): geometry_export._prepare_geographic_export has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8, ternaries 4 (6 pts), boolean chains 4, error handling 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/tables/geometry_export.py"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40af91cf87c3407f7aac4db49bdb5ad2545c5a4314627d5b151aa18e089bcc1"}},{"ruleId":"D2","level":"warning","message":{"text":"Thread.run (cognitive 20): Thread.run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/threads.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a647d6c21d4873e0cdbe1e7ac07d91af8c2ff59a48d3e31e6afb152305bd11"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolManager._get_tool (cognitive 20): ToolManager._get_tool has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/ai/tools/tool_manager.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0198bab688663464f68430b8a43ae9b7a059f5426914688234d51558397ca84"}},{"ruleId":"D2","level":"warning","message":{"text":"assets.og_thumbnail (cognitive 20): assets.og_thumbnail has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, error handling 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/api/endpoints/assets.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9ec701b3e5c148f3e144cd292ce8c9725becc1573f77ca8f7c4f62ad159c80"}},{"ruleId":"D2","level":"warning","message":{"text":"roots.resolve_file_roots (cognitive 20): roots.resolve_file_roots has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 2 (4 pts), ternaries 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/files/roots.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dfb16ea754f0bc35bb526fb8aec71c425710750ff1ba2fab7836fe44baee54"}},{"ruleId":"D2","level":"warning","message":{"text":"PythonTypeToOpenAPI.convert_dataclass (cognitive 20): PythonTypeToOpenAPI.convert_dataclass has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 3 (7 pts), loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/dataclass_to_openapi.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b208c9f251980343f7aefb9d8ab88aab0321b518869d30c09dbe4fc40f6fa1c"}},{"ruleId":"D2","level":"warning","message":{"text":"charts.TablePanel (cognitive 20): charts.TablePanel has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 4, ternaries 3 (nesting depth added 1). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 6 function items inside it that branch (handleDeleteTab, saveTabChartType, handleAddTab, \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/data-table/charts/charts.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"361709c43313fc861d8accd55b6ba38eefd2f29bcb2658a3eca86af48a84dae0"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.sqlCode (cognitive 20): utils.sqlCode has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/datasources/utils.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c20591320e7bebb9c8ca9d5b13bbf51f0d4b4dd80ef2e628fa4bb3c7927095"}},{"ruleId":"D2","level":"warning","message":{"text":"packages-panel.DependencyTreeNode (cognitive 20): packages-panel.DependencyTreeNode has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 6 (7 pts), boolean chains 5 (nesting depth added 2). Of this number, 11 points are the body\u0027s own statements and 9 belong to 3 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/editor/chrome/panels/packages-panel.tsx"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce55b259746876b29e5abbefedfd94ba3808c808c6273723c672a355109d83f"}},{"ruleId":"D2","level":"warning","message":{"text":"useTheme.getHostTheme (cognitive 20): useTheme.getHostTheme has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 2 (5 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/theme/useTheme.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c68acaf34692c5ade416ca0605d39c7fc60c4b0325a3a87334eac1784a6335"}},{"ruleId":"D2","level":"warning","message":{"text":"SortableCellsProvider.SortableCellsProviderInternal (cognitive 20): SortableCellsProvider.SortableCellsProviderInternal has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 5, ternaries 2 (nesting depth added 2). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 155, 92, 192, \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/sort/SortableCellsProvider.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1f39e8ca5ebcc79cbd68ddabf3f14f3be613ca34f1986a5541a8963543b534"}},{"ruleId":"D2","level":"warning","message":{"text":"analyzer.findDeclarationSites (cognitive 20): analyzer.findDeclarationSites has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), loops 4 (5 pts), boolean chains 4 (nesting depth added 3). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 3 function items inside it that branch (collectTargetNames, collectAssignmentTargets, visit). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/code-lens/analyzer.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06a2535f0347049af90f1c531e3308b4a61c1cd92a946f86ba1cef3c6093b7e"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.hasWildcards (cognitive 20): utils.hasWildcards has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/data-explorer/queries/utils.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd39b100a890744015f5d104d885759426119e50462355cedb27a104d5c3965"}},{"ruleId":"D2","level":"warning","message":{"text":"MplInteractivePlugin.patchToolbarImages (cognitive 20): MplInteractivePlugin.patchToolbarImages has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (8 pts), boolean chains 2 (nesting depth added 8). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 2 function items inside it that branch (a function literal at line 140, patchImg). 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/plugins/impl/mpl-interactive/MplInteractivePlugin.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8292804dd1c4d416f3c70698f2886408daf964104854e371fd2b519bf0896bea"}},{"ruleId":"D2","level":"warning","message":{"text":"Literal.toCode (cognitive 20): Literal.toCode has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (17 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 6). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/utils/python-poet/poet.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63841631f20a0bbd7571d74f2b601ce5db485c4e233bf61d5fc81544edb185c"}},{"ruleId":"D2","level":"warning","message":{"text":"sync-models.parseExistingModels (cognitive 20): sync-models.parseExistingModels has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/llm-info/src/sync-models.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c9d8fb5ec2a3e2cfccb544310456548e852c9ac93a4e9640a4a1c0189b795c"}},{"ruleId":"D2","level":"warning","message":{"text":"ScopedVisitor.visit_Name (cognitive 19): ScopedVisitor.visit_Name has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/visitor.py"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6d0a8e745721a524fa9337172c26b742b020a599f4fa8d41342968772c38cf"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.check (cognitive 19): cli.check has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 3 (7 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/cli.py"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a71038a91bc0ab40421f3f5503614942c1139c3a1ba16dcb7c80d4fc39f5e9a"}},{"ruleId":"D2","level":"warning","message":{"text":"_common.collect_notebooks (cognitive 19): _common.collect_notebooks has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (4 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/export/_common.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"336231b3c9834a5f564b05f20365128e7bf7a208113f9bd40f33d2915ddfabb3"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncCodeModeContext.edit_cell (cognitive 19): AsyncCodeModeContext.edit_cell has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, error handling 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_code_mode/_context.py"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf07b94b5889e97fa834b109adafa87870122bfad539f171e1bbb18026cfeb45"}},{"ruleId":"D2","level":"warning","message":{"text":"data_editor._validate_column_types (cognitive 19): data_editor._validate_column_types has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/data_editor.py"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea3f4de11d6a04217704f2d0c521d1c068d9bda2394f7a8f56f51091df528a3"}},{"ruleId":"D2","level":"warning","message":{"text":"geometry_export._validate_geoparquet (cognitive 19): geometry_export._validate_geoparquet has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 3 (5 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":"marimo/_plugins/ui/_impl/tables/geometry_export.py"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ee44304db36c05e1a49360283ce1cc980c43ee653d3e166f79d2c4709c9797"}},{"ruleId":"D2","level":"warning","message":{"text":"complete._get_docstring (cognitive 19): complete._get_docstring has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 1 (3 pts), boolean chains 2, error handling 2 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/complete.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad94cd977f523d3e1aa0a18785452a8ecf3e78a9bf284cabb9b961e403b89c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Kernel.prepare_execution_requests (cognitive 19): Kernel.prepare_execution_requests has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, error handling 1 (3 pts), loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runtime.py"},"region":{"startLine":2034}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c67a5e1e978cfbd0989f1e2a6d050d0757a638b6afe941538cd618ee945a8f"}},{"ruleId":"D2","level":"warning","message":{"text":"Kernel.function_call_request (cognitive 19): Kernel.function_call_request has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 2 (4 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runtime.py"},"region":{"startLine":2607}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0f4784490ce4f3f63e7a5cdb933f9be1c738635c5f3f310f152cdee2dcfc98"}},{"ruleId":"D2","level":"warning","message":{"text":"Cache._convert_to_stub_if_needed (cognitive 19): Cache._convert_to_stub_if_needed has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/cache.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61f672a70698984aa2600a67fa43ee97653fad85a54e3b99027d23d092736ce"}},{"ruleId":"D2","level":"warning","message":{"text":"LazyLoader.__init__ (cognitive 19): LazyLoader.__init__ has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 3 (7 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/loaders/lazy.py"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b284373902e3aa904df0a5d2f8b084053b0eba3f6f2ab94f80ffc1f9e420ed7"}},{"ruleId":"D2","level":"warning","message":{"text":"LazyLoader.save_cache (cognitive 19): LazyLoader.save_cache has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, error handling 1, loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/loaders/lazy.py"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d5297af79a88345977a2aea57517ad36f0fc3dbd20e6a2b074f75318bdd568"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassStub.__init__ (cognitive 19): ClassStub.__init__ has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2 (4 pts), boolean chains 2, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/stubs/class_stub.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66d6d9719d4100ab9c315233e0ff77beb4fc14623260a17f332c8d0f4ddbfe3"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionEventStream.stream (cognitive 19): SessionEventStream.stream has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/session.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8479a51a9d1fa4dc795196e008c1c533ab205ccbe0e3b4fe5fd21aa1c7783a"}},{"ruleId":"D2","level":"warning","message":{"text":"RunTranslator._console (cognitive 19): RunTranslator._console has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, ternaries 2 (3 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/translate.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1306b2ba51f20651ec6e271561acaa35483c3cca7395c7e5ccf1460ce777a0"}},{"ruleId":"D2","level":"warning","message":{"text":"CompositeLspServer.get_health (cognitive 19): CompositeLspServer.get_health has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 2 (7 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/lsp.py"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"892f826001e3b9141b6f65d353467c1f3c8c93d6e7c9c87d60f2bab6b01cfb00"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.convert_to_output (cognitive 19): utils.convert_to_output has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (17 pts), error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_sql/utils.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4338e95c80f74eea0646f0b258c47c7124aaebb933c188be51adc219de8770"}},{"ruleId":"D2","level":"warning","message":{"text":"file_lock.file_lock (cognitive 19): file_lock.file_lock has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 1 (3 pts), loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/file_lock.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb72d74af278b9e68de0b873c3230a1a06daebdaa9d89141882400f2017d344"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-panel.AgentPanel::renderBody (cognitive 19): agent-panel.AgentPanel::renderBody has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (11 pts), boolean chains 5, if/else 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/chat/acp/agent-panel.tsx"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf6b6cc5faf791e6bd8806d524078b4e4764ad9260abbb29def47d015065ad5"}},{"ruleId":"D2","level":"warning","message":{"text":"column-summary.TableColumnSummary::renderStats (cognitive 19): column-summary.TableColumnSummary::renderStats has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 3 (8 pts), boolean chains 1, match/switch 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":"frontend/src/components/data-table/column-summary/column-summary.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae501f8583aa70f51e7d1d51903ce9d86cf3a2584c92a8e8c9da90373901dd3a"}},{"ruleId":"D2","level":"warning","message":{"text":"analyzer.isKeywordArgumentName (cognitive 19): analyzer.isKeywordArgumentName has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (6 pts), boolean chains 4 (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":"frontend/src/core/codemirror/reactive-references/analyzer.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"53de5af876c63ec3d40781e63d3872d1c36b34d9810493178cad2ecf27ff2372"}},{"ruleId":"D2","level":"warning","message":{"text":"extensions.cellKeymaps (cognitive 19): extensions.cellKeymaps has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (19 pts) (nesting depth added 7). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 182, 199, 280, \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/core/codemirror/cells/extensions.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad644a8bdbd1ef1c309decd1ffffaf91fa72490ad7d44ff9661797a28da60c5"}},{"ruleId":"D2","level":"warning","message":{"text":"signature-hint.isCursorInsideAnchoredCall (cognitive 19): signature-hint.isCursorInsideAnchoredCall has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (5 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/completion/signature-hint.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"983013889cb0b9dc3d6112d7b80e12669d40750d7da58ab9ef075961cc4f7411"}},{"ruleId":"D2","level":"warning","message":{"text":"normalize-markdown-math.splitByInlineCodeSegments (cognitive 19): normalize-markdown-math.splitByInlineCodeSegments has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/lsp/normalize-markdown-math.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"5358dc4ac80dfe07f7bcccd6cbf63eea21aac1e2beb400f6539f814621886640"}},{"ruleId":"D2","level":"warning","message":{"text":"actions.createCellAtom (cognitive 19): actions.createCellAtom has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/cells/actions.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"99bed70821b0605c5821c874f66f9ace3632cc89643ff1771a25e8c0b15e8dab"}},{"ruleId":"D2","level":"warning","message":{"text":"minimap.SlidesMinimap (cognitive 19): minimap.SlidesMinimap has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 5 (6 pts), boolean chains 5, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to 7 function items inside it that branch (handleDragEnd, a function literal at line 363, a function literal at line 249, \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/slides/minimap.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc50752c39c07b760b8791b21f773a9f66e9e3695ccce5de10b7146ad96cfd15"}},{"ruleId":"D2","level":"warning","message":{"text":"useNotebookSession.useNotebookSession.handleNotification (cognitive 19): useNotebookSession.useNotebookSession.handleNotification has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, ternaries 2 (4 pts), match/switch 1 (nesting depth added 7). Of this number, 15 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/session/useNotebookSession.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc40f4c594307d9c91fd0964c31be5e3ce4a646211bcc4d7c286bff25a65364"}},{"ruleId":"D2","level":"warning","message":{"text":"loader.vegaLoadData (cognitive 19): loader.vegaLoadData has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, error handling 1 (3 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":"frontend/src/plugins/impl/vega/loader.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fee80bacf030b1a40a2abe3904bbff8044e5b76f7c5ca717d380f5f86a20ce6"}},{"ruleId":"D2","level":"warning","message":{"text":"urls.appendQueryParams (cognitive 19): urls.appendQueryParams has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 4 (5 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/utils/urls.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"980cc6005a581aaa77b0f79be6d2dab715e4b8500b3defa1a77b353896dd53f2"}},{"ruleId":"D2","level":"warning","message":{"text":"DocsMarkdownConverter.convert_pre (cognitive 18): DocsMarkdownConverter.convert_pre has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (5 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":"docs/scripts/html_to_markdown.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a5ca0295cad6d238f4d7523be16471350d089a918f4d6509649a1db000ce80"}},{"ruleId":"D2","level":"warning","message":{"text":"type_inference.candidate_names (cognitive 18): type_inference.candidate_names has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/type_inference.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99c76ee53369f0dfd168c996b3270ca4ff0e476b173daab40e5d68bfc08a5f7"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.convert (cognitive 18): commands.convert has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 2 (4 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/convert/commands.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e5059203720b7cb2727573be03ea4bb67f51339664e77b474ba7b90af4607c"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentMessageFiles.cleanup (cognitive 18): AgentMessageFiles.cleanup has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 3, loops 2 (3 pts), error handling 1 (2 pts), ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/pair/artifacts.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b1957448cc95c9136f6b122fa5b996ff14ea2c4ac12fea4980b056d29573f5"}},{"ruleId":"D2","level":"warning","message":{"text":"client.iter_sse (cognitive 18): client.iter_sse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/pair/client.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58525d30eed060d042f7fa9e5b26368001d54c666e68804025f4fb24bcae7cd"}},{"ruleId":"D2","level":"warning","message":{"text":"_plan._validate_ops (cognitive 18): _plan._validate_ops has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (17 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":"marimo/_code_mode/_plan.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df1942c62e25b7c2af961496ec8b46ea040b554cbaeb1b1033e898ad91dc1be"}},{"ruleId":"D2","level":"warning","message":{"text":"schema_utils._retain_unknown_fields (cognitive 18): schema_utils._retain_unknown_fields has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_config/schema_utils.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"562af8ac43ffd8afd68ca02349ba7c82918e77f1040fddb1383e467e48a18199"}},{"ruleId":"D2","level":"warning","message":{"text":"to_ir._resolve_pip_packages (cognitive 18): to_ir._resolve_pip_packages has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_convert/ipynb/to_ir.py"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"15edd1175cb9b6da97c9ad3a42c7cdeed6bad43cc50d5b9ec996a943426c8262"}},{"ruleId":"D2","level":"warning","message":{"text":"IncompatibleImportsRule._validate_graph (cognitive 18): IncompatibleImportsRule._validate_graph has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (12 pts), loops 3 (6 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":"marimo/_lint/rules/wasm/incompatible_imports.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d96b2d53bda3e2d720e6b7be3ce4b06736dee179d309be149d577dd4bd2a32"}},{"ruleId":"D2","level":"warning","message":{"text":"DisplayMathPreprocessor._reindent_list_continuations (cognitive 18): DisplayMathPreprocessor._reindent_list_continuations has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_output/md_extensions/display_math.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2572a7cde0f61b07260f261faa41a23b76761ec67eee9324a2312bceba5cfc36"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._append_histogram_points_to_selection (cognitive 18): plotly._append_histogram_points_to_selection has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ca51aae164fdc6678cd332e350d271081daef34d141c0c9c59ece7a1713f99"}},{"ruleId":"D2","level":"warning","message":{"text":"NarwhalsTableManager._get_stats_internal (cognitive 18): NarwhalsTableManager._get_stats_internal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/tables/narwhals_table.py"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"813f3c47d33b0b586d3007a705937c2c6a4eeae0a17fd2da50c77b2561229ecf"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.split_packages (cognitive 18): utils.split_packages has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/packages/utils.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a95e18d4032cf5460b4fa5f261fab824e745fd8bae5be99c648f60ff1883bd"}},{"ruleId":"D2","level":"warning","message":{"text":"primitives.is_data_primitive (cognitive 18): primitives.is_data_primitive has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/primitives.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1688d452f9c741fbb3e2f2d93fb7020bd1e471ca05bae0f0ef1137f9b416e98"}},{"ruleId":"D2","level":"warning","message":{"text":"_cache_call._set_context (cognitive 18): _cache_call._set_context has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/save.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb512a0d6a48e271482b540e05d7965570f8776e5c98d3ae43076d5bbc0c4397"}},{"ruleId":"D2","level":"warning","message":{"text":"scratchpad.extract_result (cognitive 18): scratchpad.extract_result has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, loops 2 (3 pts), ternaries 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/scratchpad.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"0032359b8dfffae7e739a65521dfbcac1f67fbebac11d568e4ca64d402d69eef"}},{"ruleId":"D2","level":"warning","message":{"text":"AppHost._stream_receiver_loop (cognitive 18): AppHost._stream_receiver_loop has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 2 (4 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_session/app_host/host.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b55c462cd4580c6746444382f34f6787ffc5323c7a218290bb924aa2aa01f9"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLAlchemyEngine._get_batched_table_details (cognitive 18): SQLAlchemyEngine._get_batched_table_details has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 5 (7 pts), error handling 3, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_sql/engines/sqlalchemy.py"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"315680295af4c374a0c7397e5bf3c633c148eecbd25a9d0f672288d3f675b689"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.is_query_empty (cognitive 18): utils.is_query_empty has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (5 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":"marimo/_sql/utils.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cad8bb0c5b39465644b9c8faffe1aa4923f794cefc8217b23999d6f708a65e"}},{"ruleId":"D2","level":"warning","message":{"text":"pair-with-agent-modal.PairWithAgentModal (cognitive 18): pair-with-agent-modal.PairWithAgentModal has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (8 pts), boolean chains 7, if/else 3 (nesting depth added 1). Of this number, 10 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/actions/pair-with-agent-modal.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"27afbd386a7dbc753b3b1f0d46234da0ca9b688200d7c39885cd39c3a32ba5d5"}},{"ruleId":"D2","level":"warning","message":{"text":"useDuplicateShortcuts.findDuplicateShortcuts (cognitive 18): useDuplicateShortcuts.findDuplicateShortcuts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (5 pts), boolean chains 2, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/hooks/useDuplicateShortcuts.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3579f3ca9fd6b3f2ff10647ae4c9b81d0a8567e01884530ecbed641ec89553"}},{"ruleId":"D2","level":"warning","message":{"text":"column-header.DataTableColumnHeader (cognitive 18): column-header.DataTableColumnHeader has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 15, if/else 2, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/column-header.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a519c5c09dad2ac9457d8ffd5ac3accc4d42f20c248dc6c937788494f3faff2"}},{"ruleId":"D2","level":"warning","message":{"text":"charts.ChartPanel (cognitive 18): charts.ChartPanel has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, boolean chains 5, ternaries 4. Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 355, a function literal at line 399, renderChartDisplay). 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/data-table/charts/charts.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"662f91999b5a8dcd85783fa3661cccabc0dec86dc1a79e7e1e5eb224ff763282"}},{"ruleId":"D2","level":"warning","message":{"text":"renderers.DataTableBody (cognitive 18): renderers.DataTableBody has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, if/else 4, ternaries 4. Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 5 function items inside it that branch (renderRow, a function literal at line 139, renderRows, \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/data-table/renderers.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"65055c8a190d9c5d16bcdf3fa962dc9828a11dcd417b75f109dc9ff29c4f9ecc"}},{"ruleId":"D2","level":"warning","message":{"text":"useNotebookActions.useNotebookActions (cognitive 18): useNotebookActions.useNotebookActions has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 5, ternaries 4, loops 1. Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 363, renderCheckboxElement, openExportDialog, \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/editor/actions/useNotebookActions.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a38699977840124215c2b63fcbabcb8a8b998b0e3040c738fbfebfc5d033c63"}},{"ruleId":"D2","level":"warning","message":{"text":"getCodes.getTopologicalCellIds (cognitive 18): getCodes.getTopologicalCellIds has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 4 (7 pts), boolean chains 2 (nesting depth added 8). Of this number, 13 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/copilot/getCodes.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"193bfa241373ff2061692b4c8fec9c570268f91d30040e43814dfd6bf3f71945"}},{"ruleId":"D2","level":"warning","message":{"text":"sidebar.Sidebar (cognitive 18): sidebar.Sidebar has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 5). None of this is in the body itself: all 18 points belong to 5 function items inside it that branch (handleReceive, a function literal at line 99, a function literal at line 145, \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/editor/chrome/wrapper/sidebar.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8192642eebf2963b1b8b5983b25b629419270e90bc79c2e6a993afb4fb63e897"}},{"ruleId":"D2","level":"warning","message":{"text":"package-alert.ExtrasSelector (cognitive 18): package-alert.ExtrasSelector has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 3 (6 pts), boolean chains 5 (nesting depth added 6). Of this number, 11 points are the body\u0027s own statements and 7 belong to 3 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/editor/package-alert.tsx"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29a86c71962bacd44680edad887949339d90bbee8144ae8c9812618d815d031"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.getBulkActions (cognitive 18): utils.getBulkActions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ui/select-core/utils.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4d77c3560e5fe81d5c964f26556a5cbda8f258e0416a643e9f99d7ec20d9c7"}},{"ruleId":"D2","level":"warning","message":{"text":"data-source-connections.allTablesAtom::walkSchema (cognitive 18): data-source-connections.allTablesAtom::walkSchema has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/datasets/data-source-connections.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"52882ff87b43bbad5e7b2ba41fc582b439a3555cf53b6d80354e4a7a8b6b8f4f"}},{"ruleId":"D2","level":"warning","message":{"text":"useNotebookSession.useNotebookSession (cognitive 18): useNotebookSession.useNotebookSession has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5, error handling 1, ternaries 1 (nesting depth added 2). None of this is in the body itself: all 18 points belong to 6 function literals inside it that branch (lines 452, 474, 392, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/session/useNotebookSession.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10e14ad560709028f4849313348b3d807175e53e42ee318362a40151493aa43"}},{"ruleId":"D2","level":"warning","message":{"text":"FileUploadPlugin.FileUpload (cognitive 18): FileUploadPlugin.FileUpload has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (11 pts), boolean chains 6, if/else 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/plugins/impl/FileUploadPlugin.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f6445738d0308dd118d300cb7bdc1af49113d1f91b835e36a2c8f58bd735c7"}},{"ruleId":"D2","level":"warning","message":{"text":"matplotlib-renderer.getResizeHandle (cognitive 18): matplotlib-renderer.getResizeHandle has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, if/else 8. 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/plugins/impl/matplotlib/matplotlib-renderer.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"65499bb7a09ad44be595d3d808a389d0dfaae386145dd932f308a8edc8f5350d"}},{"ruleId":"D2","level":"warning","message":{"text":"openapi.adjustNode (cognitive 18): openapi.adjustNode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, loops 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"packages/host-protocol/src/internal/openapi.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"70195afbfa63a9a207d0588cfdda81a3e2fa08f98456e99fe623b0a9ad890d37"}},{"ruleId":"D2","level":"warning","message":{"text":"sync-models.formatCollections (cognitive 18): sync-models.formatCollections has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 2 (4 pts), ternaries 1 (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":"packages/llm-info/src/sync-models.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2426a6997a0399714bd2f46f4e47c88fd1b1f1d95d1a2c0576061f794cd87af"}},{"ruleId":"D2","level":"warning","message":{"text":"sync-models.updateDocument (cognitive 18): sync-models.updateDocument has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/llm-info/src/sync-models.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c208ce47c65c60383eb37d2fad4ed25fe95cdd643b83729b23e9e341d622c67"}},{"ruleId":"D2","level":"warning","message":{"text":"TopLevelStatus.update (cognitive 17): TopLevelStatus.update has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (14 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/toplevel.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"191ed34b8e2901926e84e61c666830d6421ea3669294bfbb82a02944bf2f7493"}},{"ruleId":"D2","level":"warning","message":{"text":"ColoredGroup.resolve_command (cognitive 17): ColoredGroup.resolve_command has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/help_formatter.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5438117c7ffa5f223ffd59cd59711b786064d4d34b25e385104399ae3d598e"}},{"ruleId":"D2","level":"warning","message":{"text":"Executions.restore (cognitive 17): Executions.restore has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_core/executions.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a9c4bf95b263f1ee6eaf2bebd6bc3cb1ea385a9f1019cb69f3175c6b54253e"}},{"ruleId":"D2","level":"warning","message":{"text":"dependencies._version_check (cognitive 17): dependencies._version_check has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, ternaries 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_dependencies/dependencies.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e5d30ee9a13b9551eba7265b74644b6c37fe115fd742db4444cd6f4d74ced1"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter._iter_html_data_strings (cognitive 17): Exporter._iter_html_data_strings has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 3 (6 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_export/exporter.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffa7a0780a3bd65c3605c05e6f8a3d91205bfe3fb05665c27b63f80f08d93c3"}},{"ruleId":"D2","level":"warning","message":{"text":"Linter._process_single_file (cognitive 17): Linter._process_single_file has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), error handling 3 (4 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"marimo/_lint/linter.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c243bb577f89c84fe3596930f540e71ae02d17759c461f72d50059c315e614"}},{"ruleId":"D2","level":"warning","message":{"text":"tracebacks.write_traceback (cognitive 17): tracebacks.write_traceback has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 3 (6 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":"marimo/_messaging/tracebacks.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4de3f3d67bed1a0a0d7a68031fe06ad61ce2b6ed6dd3199f76606d34ba60314"}},{"ruleId":"D2","level":"warning","message":{"text":"structures._leaf_formatter (cognitive 17): structures._leaf_formatter has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), error handling 3 (5 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_output/formatters/structures.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"2523e20575f3fa9ea7f06d90383c2ad01409c83fa39d739beff4a93926a5500f"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.from_chat_message_dict (cognitive 17): utils.from_chat_message_dict has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (7 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":"marimo/_plugins/ui/_impl/chat/utils.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"696d456c513ec60367d076edd3cf33ca05a20709762c014759182739399f6a26"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._extract_histogram_points_from_bins (cognitive 17): plotly._extract_histogram_points_from_bins has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabe972152f139a814a9f5e31face2a8f2f25f851bddf792079e71c0aa69a0a8"}},{"ruleId":"D2","level":"warning","message":{"text":"table._apply_filters_query_sort (cognitive 17): table._apply_filters_query_sort has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/table.py"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ca9deeed89c6266b2a46a8097eff8f62dcb76eafd70abc713c4c0c3f493284"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncProcess._has_process_owned_work (cognitive 17): AsyncProcess._has_process_owned_work has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/_wasm/_concurrency/_mp_process.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07cc7caec41323cbd269500dfcac403c85a38fbb7093abb72bfbaf66cec45ec"}},{"ruleId":"D2","level":"warning","message":{"text":"Kernel.__init__ (cognitive 17): Kernel.__init__ has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 2 (3 pts), error handling 1 (2 pts), boolean chains 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runtime.py"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6567d31b7b4222d343ff13d7c515ca7b076be8361c5d6e343e7c04de8162ab6"}},{"ruleId":"D2","level":"warning","message":{"text":"Kernel._read_inputs (cognitive 17): Kernel._read_inputs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 3 (6 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":"marimo/_runtime/runtime.py"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83d8da0e301a5dc0567913d102073de0f70182ffb7828bb8321576d506c7308"}},{"ruleId":"D2","level":"warning","message":{"text":"Cache.update (cognitive 17): Cache.update has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 5 (6 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/cache.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19a1ae2ca6e196e68ce6c93c2468c5ff47e725630de7838c0a3b1b94b8bbef0"}},{"ruleId":"D2","level":"warning","message":{"text":"lazy.to_item (cognitive 17): lazy.to_item has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/loaders/lazy.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c60e55d7152ef9c3a5444f1ea3343eedf910b88626a9bc007e9a6c63b6a5fb2"}},{"ruleId":"D2","level":"warning","message":{"text":"terminal._write_to_pty (cognitive 17): terminal._write_to_pty has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 3 (5 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/api/endpoints/terminal.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c9ec3cb1e24beafdd58240d148640ee1b4195402c2cf3ba8e9efffb2a18842"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceIndex._apply_scan (cognitive 17): WorkspaceIndex._apply_scan has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 4, boolean chains 2, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/index.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f449ed08b6feeab30c7d1faf1c43a3f2fe115215f95b3e0f1d78c0bbe7ef91a1"}},{"ruleId":"D2","level":"warning","message":{"text":"ScratchCellListener.stream (cognitive 17): ScratchCellListener.stream has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (11 pts), if/else 2 (6 pts) (nesting depth added 11). 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":"marimo/_server/scratchpad.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"98450f1743979e19db44b54a7c89bd68119aec7e65ab7e61b8d15a45dc1e781d"}},{"ruleId":"D2","level":"warning","message":{"text":"DuckDBEngine._load_table_details (cognitive 17): DuckDBEngine._load_table_details has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2, boolean chains 1, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_sql/engines/duckdb.py"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d288a2b5a27d6efdd5386e36ee140182122471ae9b4f16a1ab0c33c7dfb29dc"}},{"ruleId":"D2","level":"warning","message":{"text":"parse._parse_sql_duckdb (cognitive 17): parse._parse_sql_duckdb has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 2 (3 pts), boolean chains 2, ternaries 2, error handling 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_sql/parse.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af6f7b358c8bb0dde40379e2f21536d10e8e7d240deeeac52aeabb77223053b"}},{"ruleId":"D2","level":"warning","message":{"text":"LogFormatter.__init__ (cognitive 17): LogFormatter.__init__ has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 2 (6 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/log_formatter.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e46b597cb0d58df3ffad7edb8b5de1ee45ec39594a8c6f7c6673f3931c2a1ea"}},{"ruleId":"D2","level":"warning","message":{"text":"shortcuts.areKeysPressed (cognitive 17): shortcuts.areKeysPressed has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/hotkeys/shortcuts.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba2c6bb23dc76c4e94375165b8398cf79b8a248521e7ff1511ac6f99878fafc"}},{"ruleId":"D2","level":"warning","message":{"text":"pending-ai-cells.PendingAICells (cognitive 17): pending-ai-cells.PendingAICells has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 6, if/else 6, ternaries 3, loops 2. Of this number, 9 points are the body\u0027s own statements and 8 belong to 3 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/wrapper/pending-ai-cells.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16503292ec48738164f5ca88969d47732c0469e4c0729208023d59117d843b6"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonOutput.JsonTree (cognitive 17): JsonOutput.JsonTree has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 11 (12 pts), boolean chains 3, if/else 2 (nesting depth added 1). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 157, 98, 108, \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/editor/output/JsonOutput.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b871e743871fa3c28cce5b865dde7a7b5e10d7585dd9c9682005e52548af6d3"}},{"ruleId":"D2","level":"warning","message":{"text":"TableBottomBar.TableBottomBar (cognitive 17): TableBottomBar.TableBottomBar has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 4, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 4 function items inside it that branch (renderTotal, handleSelectAllRows, a function literal at line 72, \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/data-table/TableBottomBar.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e98c70488f9fca1b803e4f2e4ca16d555ad605fdd9118550c012fe5fd0b4df4"}},{"ruleId":"D2","level":"warning","message":{"text":"feature.applyFormat (cognitive 17): feature.applyFormat has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 5 (9 pts), ternaries 2 (6 pts), boolean chains 1, if/else 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/column-formatting/feature.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b8ee763c758ea31c18d4842257757ff25d4ca4b11b548071503eea3e01d5f6"}},{"ruleId":"D2","level":"warning","message":{"text":"state.getExportFormatStatus (cognitive 17): state.getExportFormatStatus has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/actions/export-dialog/state.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be71d35c5c802aeaa835ca964ff756e88e38ca4e03c1d33a32bbecaabc3e912"}},{"ruleId":"D2","level":"warning","message":{"text":"filename-input.FilenameInput (cognitive 17): filename-input.FilenameInput has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 5, ternaries 2. Of this number, 12 points are the body\u0027s own statements and 5 belong to 6 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/editor/header/filename-input.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eba9a4fa59adbdaf35e5676d62c1a9fa8255a8585d6f3ecd700deab9ef8cb7c"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsoleOutput.ConsoleOutputInternal (cognitive 17): ConsoleOutput.ConsoleOutputInternal has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), ternaries 3 (nesting depth added 1). Of this number, 9 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/console/ConsoleOutput.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"86520e9a4f08ff15a7f7d3951a92ea013d6df55e633c66caa37843bd8b3ed2c8"}},{"ruleId":"D2","level":"warning","message":{"text":"form-utils.getDefaults (cognitive 17): form-utils.getDefaults has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 3). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to one function item inside it that branches (getDefaultValue). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where 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/forms/form-utils.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee83d30715ce73f3a66c5be054c0d567fc82230869e5558c6e04d9040f0f6c1"}},{"ruleId":"D2","level":"warning","message":{"text":"storage-inspector.StorageEntryRow (cognitive 17): storage-inspector.StorageEntryRow has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 5, ternaries 2, error handling 1. Of this number, 11 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/storage/storage-inspector.tsx"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8030035042dda08daad78e15ead5e9e5f71582f0dc6785e220589341f7242da"}},{"ruleId":"D2","level":"warning","message":{"text":"AIContextRegistry.resolveItems (cognitive 17): AIContextRegistry.resolveItems has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 5 (8 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/ai/context/registry.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"668701d0831a8c81a0c60ae950416a6e163e24cc2b1d89a7e0f0fa4d8b339510"}},{"ruleId":"D2","level":"warning","message":{"text":"vimrc.parseCommand (cognitive 17): vimrc.parseCommand has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 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":"frontend/src/core/codemirror/keymaps/vimrc.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabd8248fb80c94e65c68d6fb6e0917e4c3d516ecd239023f03dc6a9fee77f06"}},{"ruleId":"D2","level":"warning","message":{"text":"copilot-config.CopilotConfig (cognitive 17): copilot-config.CopilotConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 2 (4 pts), boolean chains 2, error handling 1, match/switch 1 (nesting depth added 3). None of this is in the body itself: all 17 points belong to 4 function items inside it that branch (trySignIn, tryFinishSignIn, renderBody, \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/core/codemirror/copilot/copilot-config.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e86c0ced15b15dd90eaa6c3d90e7024c5c0c9feb192203615f17c05cd4a474d"}},{"ruleId":"D2","level":"warning","message":{"text":"ui-element.initializeUIElement (cognitive 17): ui-element.initializeUIElement has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/core/dom/ui-element.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"22986a5f846eb987f4219267de97a53fcc1e33c99e7abd9aabac50306bb43cb9"}},{"ruleId":"D2","level":"warning","message":{"text":"MplInteractivePlugin.MplInteractiveSlot (cognitive 17): MplInteractivePlugin.MplInteractiveSlot has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, boolean chains 4, error handling 1. None of this is in the body itself: all 17 points belong to 8 function literals inside it that branch (lines 232, 202, 293, \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/plugins/impl/mpl-interactive/MplInteractivePlugin.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e741c795939d6840efb48ba34c74161c29b681e811d54adaf83571c20b7ff989"}},{"ruleId":"D2","level":"warning","message":{"text":"make-selectable.removeSpecificParamsFromNestedSpecs (cognitive 17): make-selectable.removeSpecificParamsFromNestedSpecs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/vega/make-selectable.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f025fa3185b95889a56ca72e92296b059e51adf2f3d13439999016cab3427ce"}},{"ruleId":"D2","level":"warning","message":{"text":"StatPlugin.StatComponent (cognitive 17): StatPlugin.StatComponent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 6, ternaries 3 (4 pts) (nesting depth added 2). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 2 function items inside it that branch (renderPrettyValue, renderSlot). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/layout/StatPlugin.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb42a9534f79ad8bb2c113ed616e5f92d298ac2fe08698e1443a1dad5b27881c"}},{"ruleId":"D2","level":"warning","message":{"text":"pathUtils.getProtocolAndParentDirectories (cognitive 17): pathUtils.getProtocolAndParentDirectories has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 4 (6 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/utils/pathUtils.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cc529615ec3847546a37722a9c3d414ae93b0fe60d5f67488c757079b0b977"}},{"ruleId":"D2","level":"warning","message":{"text":"sse.sse.\u003Creturned closure\u003E (cognitive 17): sse.sse.\u003Creturned closure\u003E has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, error handling 1, loops 1, ternaries 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/transport/sse.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ee0574d1d4b9f2f3827de007b37feacdb5cdbe59f2940ddb93a8d3a3522e2d"}},{"ruleId":"D2","level":"warning","message":{"text":"_convert.get_google_messages_from_parts (cognitive 16): _convert.get_google_messages_from_parts has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ai/_convert.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0f7f0c8421ec9faf424eea2d34cc332629e7ca8ea03999641f6c164bab5c72"}},{"ruleId":"D2","level":"warning","message":{"text":"parse.parse_notebook (cognitive 16): parse.parse_notebook has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/parse.py"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d339abb8f44af02ba48e368978eb839bc4e0cefe2031d0ae9f2e9a6f603b258"}},{"ruleId":"D2","level":"warning","message":{"text":"pytest.build_test_class (cognitive 16): pytest.build_test_class has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 pts), error handling 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/pytest.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09fb756e4de6955cb9b6c44b2d9d94a6b41a15fbba57670fdbfb6ecfdf15ecd"}},{"ruleId":"D2","level":"warning","message":{"text":"TopLevelExtraction.__init__ (cognitive 16): TopLevelExtraction.__init__ has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 4, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/toplevel.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"379227762d76f4e835fa59398add80178bcb4c0c07cd21dfbd0201b4f49fcb53"}},{"ruleId":"D2","level":"warning","message":{"text":"commands._failure_guidance (cognitive 16): commands._failure_guidance has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/pair/commands.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"3459e46e7670c46888d692bee936583a2e95dfa430de918a987305239ce44192"}},{"ruleId":"D2","level":"warning","message":{"text":"schema_utils.config_leaf_types (cognitive 16): schema_utils.config_leaf_types has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 2 (4 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_config/schema_utils.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"0432d273d0d44620639a5c20a248fd360a3b9271765f21895ce6e9e47f77b306"}},{"ruleId":"D2","level":"warning","message":{"text":"_MystmdMarkdownImportDialect.preprocess (cognitive 16): _MystmdMarkdownImportDialect.preprocess has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_convert/markdown/flavor/mystmd.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf2f0ec212f7c3dacb569e32fdd88f8d9fcae89573d24e71c1a1cb681936b0b"}},{"ruleId":"D2","level":"warning","message":{"text":"_session_cache.is_session_snapshot_stale (cognitive 16): _session_cache.is_session_snapshot_stale has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 2, error handling 2, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_export/_session_cache.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9ed45a22c751fbbd151718eda91f787df050703adf0722549a234b60ee74b4"}},{"ruleId":"D2","level":"warning","message":{"text":"local_modules.resolve_local_modules (cognitive 16): local_modules.resolve_local_modules 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":"marimo/_export/local_modules.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3493122030af87ae5885d4287d3449b52ab7b42682f65d384076aead322e66"}},{"ruleId":"D2","level":"warning","message":{"text":"Linter._pipe_file_status (cognitive 16): Linter._pipe_file_status has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_lint/linter.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2399d97ba54a026800262d4763ae1043d5e46c9352bd12e14500a53094a102b"}},{"ruleId":"D2","level":"warning","message":{"text":"IncompatiblePackagesRule.check (cognitive 16): IncompatiblePackagesRule.check has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_lint/rules/wasm/incompatible_packages.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"217b3aec517d83ba523c15e6505d78e728afdd7cef98f576db389945aec142e3"}},{"ruleId":"D2","level":"warning","message":{"text":"CellNotificationUtils.broadcast_error (cognitive 16): CellNotificationUtils.broadcast_error has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (2 pts), ternaries 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_messaging/notification_utils.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"256196923d85e0593a65644f58e3977dc1fd407ee30de245915c5a9eb8778baf"}},{"ruleId":"D2","level":"warning","message":{"text":"opengraph._load_generator_from_notebook_source (cognitive 16): opengraph._load_generator_from_notebook_source has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 3, boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_metadata/opengraph.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c3d8dbb2748197c838a33c17c7dfc9be6b5a6fce011351f8dd997d29f28c6a"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect._get_filtered_attributes (cognitive 16): inspect._get_filtered_attributes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/stateless/inspect.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ced80c8c7ca7b78857b9507fde008fa9376d16bd75a5b5f788389f228d2b94b"}},{"ruleId":"D2","level":"warning","message":{"text":"file_browser._has_files_recursive (cognitive 16): file_browser._has_files_recursive has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/file_browser.py"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"5741b30670a5109dccc4e3aff57cf789589effed31d8cd3fb5c5185426f12c96"}},{"ruleId":"D2","level":"warning","message":{"text":"plotly._is_orderable_axis (cognitive 16): plotly._is_orderable_axis has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 1 (4 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92383d343fe4787d5ee05a6fbd0f4e4127752fa3ad9bc6cd1e11a049d99b7ea"}},{"ruleId":"D2","level":"warning","message":{"text":"_micropip_streaming._split_packages (cognitive 16): _micropip_streaming._split_packages has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/packages/_micropip_streaming.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e392a3e7efc802d49cde86998e35a619ca25c8104072f5c7784481acb027331b"}},{"ruleId":"D2","level":"warning","message":{"text":"import_error_extractors.extract_packages_from_pip_install_suggestion (cognitive 16): import_error_extractors.extract_packages_from_pip_install_suggestion has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 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":"marimo/_runtime/packages/import_error_extractors.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"02003a97b1379a1422a380307e9feda9b74d85faac04e04560063f755c038da5"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionBridge.save (cognitive 16): SessionBridge.save has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 2, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/bridge.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"90eb6aeddd24d4b683023950a8a5e4c3b6fc1fad45da43d49be53601bc26f6e5"}},{"ruleId":"D2","level":"warning","message":{"text":"HostApiMiddleware.__call__ (cognitive 16): HostApiMiddleware.__call__ has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 2 (4 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/middleware.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a696640a4d338d76c186fa46b92a5096a8eaef270cbdbdf382cadd71575b72be"}},{"ruleId":"D2","level":"warning","message":{"text":"record.host_url (cognitive 16): record.host_url has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 2 (6 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":"marimo/_server/host/record.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72acaee5c2491622b3c043b875d90c3629bd46c3796ae66945428c28ccce529"}},{"ruleId":"D2","level":"warning","message":{"text":"IbisEngine.get_schemas (cognitive 16): IbisEngine.get_schemas has cognitive complexity 16 (threshold 15). Drivers by points: error handling 4 (5 pts), if/else 3 (5 pts), ternaries 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_sql/engines/ibis.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e0ffadfa6341f282d81569b32ebec0cfe14d8e4bbf38236a1186376709815d"}},{"ruleId":"D2","level":"warning","message":{"text":"flatten._flatten (cognitive 16): flatten._flatten has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/flatten.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0b5573b331550f61d155614de3e8fa7541e19dba9b457888417aad003161ec"}},{"ruleId":"D2","level":"warning","message":{"text":"generate.event_adapters (cognitive 16): generate.event_adapters has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/host/generate.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2735bc863bd0af046debe697bcefbeb586ca0f6e49e001a08205ee224cdb6541"}},{"ruleId":"D2","level":"warning","message":{"text":"use-toast.reducer (cognitive 16): use-toast.reducer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 3 (7 pts), boolean chains 1, match/switch 1 (nesting depth added 7). Of this number, 8 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ui/use-toast.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7f4039b5a2bbf7d2aef66450d21b43f0315a6d74a123e0d0659552a7f0caa9"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-display.renderUIMessage::renderPart (cognitive 16): chat-display.renderUIMessage::renderPart has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 3 (4 pts), boolean chains 1, match/switch 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":"frontend/src/components/chat/chat-display.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfc8c8cdc4cb9f4a2d458003475d0044572e6e38e4bce8343cbd4c5256403e8"}},{"ruleId":"D2","level":"warning","message":{"text":"formatting.formatPython::format (cognitive 16): formatting.formatPython::format has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 4 (7 pts), match/switch 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":"frontend/src/components/editor/output/json-output/formatting.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da0258ccc434a9bc46c40600bd3d3bd863361470f6454eec95a940c6bbd5538"}},{"ruleId":"D2","level":"warning","message":{"text":"context-menu.buildCellFilter (cognitive 16): context-menu.buildCellFilter has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 3 (6 pts), match/switch 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":"frontend/src/components/data-table/context-menu.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e993bac7303e613de0a645a11d1c50466adc40e3d9be32f31f5fecd471a644ed"}},{"ruleId":"D2","level":"warning","message":{"text":"minimap-content.SelectedCell (cognitive 16): minimap-content.SelectedCell has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/dependency-graph/minimap-content.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c3175b0216d2216d6e87e3a3058e5dc972ef82fca8110a4a811f03cc24da84"}},{"ruleId":"D2","level":"warning","message":{"text":"startup-progress.StartupProgress (cognitive 16): startup-progress.StartupProgress has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (11 pts), boolean chains 5 (nesting depth added 4). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 104, 103). 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/editor/alerts/startup-progress.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7cdf6163bc616a7d011d56f1489e58601828220885204b563c47f8d86a07f5"}},{"ruleId":"D2","level":"warning","message":{"text":"renderers.renderTableInfo (cognitive 16): renderers.renderTableInfo has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 14, ternaries 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/language/languages/sql/renderers.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0e5357846efbc0ae8302644d172f364b274f76e49bd4f3512ee6aafc1a9a00"}},{"ruleId":"D2","level":"warning","message":{"text":"cell-code.prepareCellCodeUpdate (cognitive 16): cell-code.prepareCellCodeUpdate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/language/cell-code.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecb3d476745083b485470ea191bc2c9ea226a62577430992e2344471bc84f84"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestingTree.reveal (cognitive 16): RequestingTree.reveal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/file-tree/requesting-tree.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"61927b014b6efadd9649cc87e59972717b2b3236564c958573ba2c44b79122bd"}},{"ruleId":"D2","level":"warning","message":{"text":"copilot-status.GitHubCopilotStatus (cognitive 16): copilot-status.GitHubCopilotStatus has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), ternaries 5 (6 pts), boolean chains 3, error handling 1 (nesting depth added 2). Of this number, 10 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/wrapper/footer-items/copilot-status.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"79630a4e3b7bd318754b2670f4faa2a972231b7397ab143febd38b255a700600"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-settings.RuntimeSettings (cognitive 16): runtime-settings.RuntimeSettings has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, ternaries 5. Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item 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/editor/chrome/wrapper/footer-items/runtime-settings.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a390ceec1cf839c7e085af676cd9afe59a17ccb77d6244e0b82758827d6ef657"}},{"ruleId":"D2","level":"warning","message":{"text":"swiper-component.SlidesComponent (cognitive 16): swiper-component.SlidesComponent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, ternaries 3 (nesting depth added 1). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 43, 53, 105, \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/slides/swiper-component.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2f7b06a9ca6ecae4921b8479340543fb8bc54d8ad0d7fd8138e55605b8fe18"}},{"ruleId":"D2","level":"warning","message":{"text":"TableContextProvider.formatContext (cognitive 16): TableContextProvider.formatContext has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 3 (6 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 6). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/ai/context/providers/tables.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"461004c9c51c015bf1a02effef587412e785ec541703ea35765c97e46da8fabb"}},{"ruleId":"D2","level":"warning","message":{"text":"analyzer.findStaticCacheName (cognitive 16): analyzer.findStaticCacheName has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, loops 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/code-lens/analyzer.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fcb0106cc34fca6eaa303c09fafbb4dbe3f4e37a587572d878ef38e112e8af"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve-widget.getInvalidAnyWidgetModuleError (cognitive 16): resolve-widget.getInvalidAnyWidgetModuleError has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (10 pts), boolean chains 4, if/else 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":"frontend/src/plugins/impl/anywidget/resolve-widget.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a11f25b0a7699da31c8e339817751fc86b429769d33ed4e643dfc8a115ef792"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFramePlugin.DataFrameComponent (cognitive 16): DataFramePlugin.DataFrameComponent has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 13, if/else 3. Of this number, 12 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/data-frames/DataFramePlugin.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc07bc16af2a4e0dba1e87eb8ba88e9a6627b06ef29144037bdc71d0fc76da2"}},{"ruleId":"D2","level":"warning","message":{"text":"edit-distance.editDistanceGeneral (cognitive 16): edit-distance.editDistanceGeneral has cognitive complexity 16 (threshold 15). Drivers by points: loops 5 (6 pts), boolean chains 5, if/else 4 (5 pts) (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/utils/edit-distance.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7ac3ae770d5bfd0a77e736f399f4b06d54f5328b97b6c06d4cd2c9e4a6c1fb"}},{"ruleId":"D2","level":"warning","message":{"text":"models-dev.parseModelsDev (cognitive 16): models-dev.parseModelsDev has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/llm-info/src/sources/models-dev.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae793ce6354989168e685cd745ad293f233de7f96a2337842bbb2e5ad09cca49"}},{"ruleId":"D2","level":"warning","message":{"text":"createOnce::check (cognitive 16): createOnce::check has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (4 pts), boolean chains 3, other 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/lint/replica-imports.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3747ea00c0af9d27d8336b5af91df3f43cb8e8f14f5781b4c9abc95a160d44a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: user-config-form.UserConfigForm: FunctionTooLong \u2014 UserConfigForm runs 1126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1026 over it, 11.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/app-config/user-config-form.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4be63035bc8321473c0aa86447ee8ec75a0649604f8d62e47f9bb3644997f65"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ai-config.AiCodeCompletionConfig: FunctionTooLong \u2014 AiCodeCompletionConfig runs 786 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 686 over it, 7.86\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/app-config/ai-config.tsx"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf6296e98ab79467aff1406fdcb428b0375137033b7858b3aaeeb6fde1834a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: export-actions.ExportActions: FunctionTooLong \u2014 ExportActions runs 570 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 470 over it, 5.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/components/data-table/export-actions.tsx"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50955098eb7772ae708dd1e02a9f0a630ee33bc0b644fec7f663566a1c7cc26"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MarimoErrorOutput.MarimoErrorOutput: FunctionTooLong \u2014 MarimoErrorOutput runs 524 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 424 over it, 5.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/MarimoErrorOutput.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bca906359a713e68d56aac2d4524e0a96cb6efe358931a38d38ae2fbde3a544"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _impl/plotly.py: FileTooLong \u2014 2476 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1976 over it, 4.95\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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2243fa8e3c6dedd9d8e31375883bcd44609b02fb5985807b90df36324260de96"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-panel.ChatPanelBody: FunctionTooLong \u2014 ChatPanelBody runs 453 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 353 over it, 4.53\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/chat/chat-panel.tsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedd8586fe986d379371cce9b9b9ffac11b9ce8d6914f3a3922e441fb2ce55a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-panel.AgentPanel: FunctionTooLong \u2014 AgentPanel runs 431 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 331 over it, 4.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/chat/acp/agent-panel.tsx"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84f945dd7478d86383e0a63ddff9cf7e0347b4bc18f54a50a2d739930f3231a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useNotebookActions.useNotebookActions: FunctionTooLong \u2014 useNotebookActions runs 429 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 329 over it, 4.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/actions/useNotebookActions.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"239a366242cdacfd4e28ed1c562ee42ffbbf3069cf7f2a050290742cbfd0818d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: app-chrome.AppChrome: FunctionTooLong \u2014 AppChrome runs 405 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 305 over it, 4.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/wrapper/app-chrome.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a2a220595d129db2f8038ee4dfd35d1e507b02342ac61e142bf4a6b8a16fae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: requests-network.createNetworkRequests: FunctionTooLong \u2014 createNetworkRequests runs 401 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 301 over it, 4.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/core/network/requests-network.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfe76cb72a69d6049880f75706a611944857124179dde62f024a8148dd6fc0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-ui.Chatbot: FunctionTooLong \u2014 Chatbot runs 396 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 296 over it, 3.96\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/plugins/impl/chat/chat-ui.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02f28c159fa63a105045f065d034b31900daa4b50ccdd15e5b4dd156f173ba7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _runtime/runtime.py: FileTooLong \u2014 1964 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1464 over it, 3.93\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":"marimo/_runtime/runtime.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfc0976080f0c62b53e3cff7a0dae0ed75aafea66cbdc0213eb4f753a85efac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: notebook-cell.EditableCellComponent: FunctionTooLong \u2014 EditableCellComponent runs 371 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 271 over it, 3.71\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/editor/notebook-cell.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2932c726c4a56f893e02f203545cec8219101420f40fc931f359593241c2fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ai-config.AiProvidersConfig: FunctionTooLong \u2014 AiProvidersConfig runs 361 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 261 over it, 3.61\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/app-config/ai-config.tsx"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba6f4f2c74139485e894c9fa82490932f3e78f99bb844fd5df3d16f958f98d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app-config/ai-config.tsx: FileTooLong \u2014 1728 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1228 over it, 3.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/app-config/ai-config.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1579312116b7c51c2c942bb6c8a7b33ea1885dd4e8923d435b940e69f7a66b1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FileBrowserPlugin.FileBrowser: FunctionTooLong \u2014 FileBrowser runs 343 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 243 over it, 3.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/FileBrowserPlugin.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5521831372b7e62f67952c658976cc2e6ef392820f051b550547e43de95f1d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: glide-data-editor.GlideDataEditorInner: FunctionTooLong \u2014 GlideDataEditorInner runs 336 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 236 over it, 3.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/data-editor/glide-data-editor.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"243c52410aa4ec6c4bfc003751e5f85e2b5010f9e71bee814d44450a82794f39"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useNotebookSession.useNotebookSession: FunctionTooLong \u2014 useNotebookSession runs 330 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 230 over it, 3.30\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/core/session/useNotebookSession.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d11521c41260c33f5dd45b61c6b651b0dd8330db4a9a8f18c233f28487bd3bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: form.renderZodSchema: FunctionTooLong \u2014 renderZodSchema runs 320 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 220 over it, 3.20\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/forms/form.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8163076f0d559ec026dbf506a34d4103dac85177f38299aa468dee95302d64f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: analyzer.findReactiveVariables: FunctionTooLong \u2014 findReactiveVariables runs 309 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 209 over it, 3.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/reactive-references/analyzer.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b30ae7da7b5b141d0f61f8aad9c61cad1caa9c0ece81e5eec2ed430e640895"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MatrixPlugin.MatrixComponent: FunctionTooLong \u2014 MatrixComponent runs 305 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 205 over it, 3.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/MatrixPlugin.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a3b7a20c0b859240ad0b607eba3af9752481e9780fe6cdcfc67979f01e7891"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: cell-editor.CellEditorInternal: FunctionTooLong \u2014 CellEditorInternal runs 297 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 197 over it, 2.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/editor/cell/code/cell-editor.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be07fc287b938aa565bcb8eb1630e62224d61c55c61e4ed7c965e1a1addddfe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ai-completion-editor.AiCompletionEditor: FunctionTooLong \u2014 AiCompletionEditor runs 271 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 171 over it, 2.71\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/editor/ai/ai-completion-editor.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"519a44c1cadc6b2a48cd5436a1909727233fcf999319574cf16e070331b06216"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _impl/table.py: FileTooLong \u2014 1304 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 804 over it, 2.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/table.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"076c795b20cd078fa3f285d5714d970a65aab68cdca6bfbee4960e0c13dabf57"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: data-table.DataTableInternal: FunctionTooLong \u2014 DataTableInternal runs 257 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 157 over it, 2.57\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/data-table/data-table.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33575eaf58948ac5e2574d741e430fb14b3b3a1e9841b552db1b9279755d47c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useCellActionButton.useCellActionButtons: FunctionTooLong \u2014 useCellActionButtons runs 257 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 157 over it, 2.57\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/editor/actions/useCellActionButton.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd152638b27be07f78334fd8b9fca76abc010b6cb117bccbcff3f5fce2a3539b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: file-explorer.Node: FunctionTooLong \u2014 Node runs 253 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 153 over it, 2.53\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/editor/file-tree/file-explorer.tsx"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd50f192ff781ba038f6eeebe68449dd265bbc63bd7a77f147bdafea1a21363"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: prompt.getAgentPrompt: FunctionTooLong \u2014 getAgentPrompt 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/chat/acp/prompt.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e777a56e4a9f040f01cb22012e95343571488b0f59426cfeb8b1c35529a8822"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app-config/user-config-form.tsx: FileTooLong \u2014 1206 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: UserConfigForm (103-1361). The bar is 500 significant lines; this is 706 over it, 2.41\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/app-config/user-config-form.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3e0411e6151794d93bdb664e118c482e98e562da55b426588f805336f0db48"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runtime-story.RuntimeStory: FunctionTooLong \u2014 RuntimeStory runs 232 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 132 over it, 2.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/stories/runtime-story.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"f305888b29b0d084b85790fbbd3891c74bb45c26ac9e5675fb85111d922a8065"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: grid-layout.GridLayoutRenderer: FunctionTooLong \u2014 GridLayoutRenderer runs 230 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 130 over it, 2.30\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/editor/renderers/grid-layout/grid-layout.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3348e419eca1f890bf449e450bd56bed52bd63d22137f170f5237b8b3548ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: loaders/lazy.py: FileTooLong \u2014 1148 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 648 over it, 2.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/loaders/lazy.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8e202bd01e191e1dce989cf66ab0c2b22bddb9c738ea7628d1bb856ae0dacc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: app-config-form.AppConfigForm: FunctionTooLong \u2014 AppConfigForm runs 227 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 127 over it, 2.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/app-config/app-config-form.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"88763d94952d701f31a06a3b9b7d2f03f3a0be46c5e85693452507df28e27497"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: keyboard-shortcuts.KeyboardShortcuts: FunctionTooLong \u2014 KeyboardShortcuts runs 224 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 124 over it, 2.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/controls/keyboard-shortcuts.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"35da3ae3fbfccb950910228cf4f74d17869a02c9b259e62ab7ebca63d5eef68d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sync.createDocumentSync: FunctionTooLong \u2014 createDocumentSync runs 222 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 122 over it, 2.22\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/core/notebook/document/sync.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"82db1f1444b235053d9212e8a14412e483910ac2017f19134ab8302e8a209fc9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: data-form.DataForm: FunctionTooLong \u2014 DataForm runs 220 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 120 over it, 2.20\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/app-config/data-form.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b8180e364064936de55bfbc5646ff2c9fe55b44608e9f84f405b9f67b14dd5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: scratchpad.ScratchPad: FunctionTooLong \u2014 ScratchPad runs 219 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 119 over it, 2.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/scratchpad/scratchpad.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0902742aa4a3d916b6ea3d2d01e1aca644d7d717ddb123a2ec848d80bac8ef30"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: row-viewer.RowViewerPanel: FunctionTooLong \u2014 RowViewerPanel runs 218 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 118 over it, 2.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/row-viewer-panel/row-viewer.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cef0716ac91a137eefcf2df4fed9fd8eca696202eae6f59f7ec4de7ac0f51a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: notebook-cell.SetupCellComponent: FunctionTooLong \u2014 SetupCellComponent runs 217 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 117 over it, 2.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/notebook-cell.tsx"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d662e3db274fbe6599ddf02981eaf91d900782e425cab645c601b3a17dfe2c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CellStatus.CellStatusComponent: FunctionTooLong \u2014 CellStatusComponent runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/cell/CellStatus.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f716a17afd46651ce42a5fb6302600e0a30c9724d094bb3e75cd685c1ceeae2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: find-replace.FindReplace: FunctionTooLong \u2014 FindReplace runs 214 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 114 over it, 2.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/find-replace/find-replace.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60332160f9326d547204d4734dda5a466bf5b47b6a0b34b3e9c98dd1631f07f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ai-config.CustomProvidersConfig: FunctionTooLong \u2014 CustomProvidersConfig runs 208 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 108 over it, 2.08\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/app-config/ai-config.tsx"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"496e5a59b61ce52957c54be05616176ba611ae262033a501eff86c4781028e71"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: storage-inspector.StorageInspector: FunctionTooLong \u2014 StorageInspector runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/storage/storage-inspector.tsx"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f593376d62ef1fbc33b3b3af69009141a7586c84dbcdd20afc4fdf558453b3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useNotebookSession.useNotebookSession.handleNotification: FunctionTooLong \u2014 useNotebookSession.handleNotification runs 202 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 102 over it, 2.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/core/session/useNotebookSession.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf79f24a41044f52d206d44a56266d2c31bd5ab15bc7d86279f74a2fdd70539"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tables/geometry_export.py: FileTooLong \u2014 1005 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 505 over it, 2.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/tables/geometry_export.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1313a6bb5e7d603cfce24e600313d10c24fc02af75d14ab7b387a8bb3584a566"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: impl/DataTablePlugin.tsx: FileTooLong \u2014 1002 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 502 over it, 2.00\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/DataTablePlugin.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13c22f5067993f7fe852a81d2ffdedf3a4ab9082438d16382d8b72387695544"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: editor/notebook-cell.tsx: FileTooLong \u2014 1001 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 501 over it, 2.00\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/notebook-cell.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"473cf257a3ae92c641896e12e187cd9136e76f23247e3a25c1b9fc30d6948697"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: filter-pill-editor.FilterPillEditor: FunctionTooLong \u2014 FilterPillEditor runs 200 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\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/data-table/filter-pill-editor.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a88cd84c781e936e75ca29cc9d03ecc0367915f9e2537b1f202efbb1cd6754"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: terminal.TerminalComponent: FunctionTooLong \u2014 TerminalComponent runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\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/terminal/terminal.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"5033dab59f6ecd4f7ed754d09656b4d1b919e44ebd20bfc0fae490620d570529"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: package-alert.PackageAlert: FunctionTooLong \u2014 PackageAlert runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\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/editor/package-alert.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba26646d622fb002179d3a462d66e8f8de1b90c839d93d6bb423b35a7d374443"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PyodideBridge: TooManyMethods \u2014 58 methods. The bar is 30 methods; this is 28 over it, 1.93\u00D7 the bar. This type is on a published API surface \u2014 an apidiff API-compatibility gate in CI (.github/workflows/test_schemas.yaml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/wasm/bridge.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b656075eb7d8ca6a78cfd74347d903a1240aeb68d056d75310dd4085fddf8c00"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _code_mode/_context.py: FileTooLong \u2014 965 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 465 over it, 1.93\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":"marimo/_code_mode/_context.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7920651365d70bd38e9a39f51db508e45467a348e4f0ef61529ee27305d877"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acp/agent-panel.tsx: FileTooLong \u2014 962 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 462 over it, 1.92\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/chat/acp/agent-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cf60963210130dc8e81bbe72cfe1eea7d7a46cb21fcc3abb8f37262f745738"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: columns.generateColumns: FunctionTooLong \u2014 generateColumns runs 192 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\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/data-table/columns.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0152e2b8bf076cbe051c14d34a1b63c212f4dc65af898067ce2e671b653263"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data-table/export-actions.tsx: FileTooLong \u2014 951 significant lines (blank, comment-only and punctuation-only lines excluded), about 60% of them inside a single declaration: ExportActions (355-1054). The bar is 500 significant lines; this is 451 over it, 1.90\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/data-table/export-actions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d971d8158ac238e4489de7504f73829997b96080ed479676ddee9a5c73f00541"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Kernel: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.90\u00D7 the bar. This type is on a published API surface \u2014 an apidiff API-compatibility gate in CI (.github/workflows/test_schemas.yaml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runtime.py"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8b8d293aa037f9d8e778e4f2bba468a6a5964a63dac62ab15cb6cbca196d90"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runtime-settings.RuntimeSettings: FunctionTooLong \u2014 RuntimeSettings 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/editor/chrome/wrapper/footer-items/runtime-settings.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb41b8f048420351d03cc6687e03f1402fa203b6cf6d23a69d9b9558402bb6f1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UnsafeCallVisitor: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\u00D7 the bar. This type is on a published API surface \u2014 an apidiff API-compatibility gate in CI (.github/workflows/test_schemas.yaml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_lint/rules/wasm/_unsafe_call_analysis.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"2900e9d5b08a6c5d1af36333e8194e3a45cf925977a8a577161b084fad686986"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: column-visibility-dropdown.ColumnVisibilityDropdown: FunctionTooLong \u2014 ColumnVisibilityDropdown runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\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/data-table/column-visibility-dropdown.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9666a06c481b3f55f65c879a3976e1ec099c96c009d4e18fb1d5b77eb8a96b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: extensions.cellKeymaps: FunctionTooLong \u2014 cellKeymaps runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\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/core/codemirror/cells/extensions.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e116ca6d8c7d2ffdf1a3619922902a99b37edecade4dd850b1095e96d7fb9eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ai/providers.py: FileTooLong \u2014 899 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 399 over it, 1.80\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/ai/providers.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa520951d8fe325ebb5e47fba5a4a72044a0a3dc07e67d7e90f9dc6a66c453e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: file-tree/file-explorer.tsx: FileTooLong \u2014 892 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 392 over it, 1.78\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/editor/file-tree/file-explorer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f214d7454cf1a298771a4b1c6e327496a00b4d575434eabcd5f71247a8143d02"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: cell-context-menu.CellActionsContextMenu: FunctionTooLong \u2014 CellActionsContextMenu runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\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/editor/cell/cell-context-menu.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e74bdbaaa1cf240cb7909c14b5dd89f24c0ec1c1328cd69852739cf51b67a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _save/save.py: FileTooLong \u2014 869 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 369 over it, 1.74\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/save.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20eb241a88e9d65e8ae8379293c45f5f2a4a59a6e4241de3ea657b5445391011"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ipynb/to_ir.py: FileTooLong \u2014 860 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 360 over it, 1.72\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":"marimo/_convert/ipynb/to_ir.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b6706f7595585da44c40df686b316025cef8250739beae9b02d9d906fa7caf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: storage/storage-inspector.tsx: FileTooLong \u2014 850 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 350 over it, 1.70\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/storage/storage-inspector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"092d2e8bd1d6c9b1ea76bfab97c8ee5dc9ca725d05d5ea03754b837ca1d7e756"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: filter-by-values-picker.FilterByValuesList: FunctionTooLong \u2014 FilterByValuesList runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/filter-by-values-picker.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"df78718021f832de5197724117c92302c073f0d82e1973dd403c88c5a6fd0419"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: storage-file-viewer.StorageFileViewer: FunctionTooLong \u2014 StorageFileViewer runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/storage/storage-file-viewer.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fb8873c0bbe30dc90e836315bb375a22de100307eada9650c433a9dd3d3c1d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _impl/input.py: FileTooLong \u2014 839 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 339 over it, 1.68\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":"marimo/_plugins/ui/_impl/input.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dae6faf63ac4ca41469e05214803d5e2f4ef6727a9445def8758080802cf7e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: charts.TablePanel: FunctionTooLong \u2014 TablePanel runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/charts/charts.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d8473579942f70ddf1a757f8e14d162018868f8c7066ccd0dd49b5797d90da"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: copilot-config.CopilotConfig: FunctionTooLong \u2014 CopilotConfig runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/copilot/copilot-config.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d381ef757d7b6fc8c8abba1b7559ac4e8558653726ed0c17d75391315bbeb11"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _cli/cli.py: FileTooLong \u2014 833 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 333 over it, 1.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/cli.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d761b36017f6202bb980fa1e56b87c469ecc509e7f614ba2504de60ff9e2c306"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: secret-combobox.SecretCombobox: FunctionTooLong \u2014 SecretCombobox runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/connections/secret-combobox.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"880f2fffdbb2e2808a0ac3b7aefdeffa275114fcf3dfd5b762ced8b7c14f417e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _impl/data_editor.py: FileTooLong \u2014 823 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 323 over it, 1.65\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":"marimo/_plugins/ui/_impl/data_editor.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d8b6b7bacb015412de0dd5d4b1b7cd95dcede5b135f0aa250f18b3d9ea915d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/chat-panel.tsx: FileTooLong \u2014 816 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 316 over it, 1.63\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/chat/chat-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b286e64e665a5adba87409b35740138bbe26ffb7c63e3fd03dd7f4d0868cba44"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _ast/parse.py: FileTooLong \u2014 811 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 311 over it, 1.62\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":"marimo/_ast/parse.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05547aa607b5e13349d95d960212873bb6f80bb564f509f8ff36fc51e6d52126"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: datasources/datasources.tsx: FileTooLong \u2014 811 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 311 over it, 1.62\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/datasources/datasources.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"608e9d7c956192cead12e5b69b162bfa5bb75dcdd1af53a761da4d51528eeb97"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: file-viewer.FileViewer: FunctionTooLong \u2014 FileViewer runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\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/editor/file-tree/file-viewer.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea935d432c8e5d732f0db8f94636e30797a8cc3aa32e5e7e92aa1ed0ac6026c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: model-discovery.ModelDiscovery: FunctionTooLong \u2014 ModelDiscovery runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\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/app-config/model-discovery.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad56d399db02e8bc1ab97ecdea6446cedb8682c73a032a66e7ab41c69d7b57f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _config/config_schema.py: FileTooLong \u2014 782 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 282 over it, 1.56\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_config/config_schema.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d25624a56bccea8f394af07554e94f1da424fd4b7fd07242c86ab4748ad1323"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: replica.createNotebookReplica: FunctionTooLong \u2014 createNotebookReplica runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/notebook/replica/replica.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abfe4283a7d53ed1cb06eb36339ca8e77a3010b768adac6d34ddca0cae1f08c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _ast/visitor.py: FileTooLong \u2014 770 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 270 over it, 1.54\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":"marimo/_ast/visitor.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d47092a8b6b470c06d6f358bdf1779dac0714881d4a6381e24df9de97a7ec2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: range-slider.RangeSlider: FunctionTooLong \u2014 RangeSlider runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\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/ui/range-slider.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a37cb52c564a7db95c531351f110364a8ea520bbcecb7f3922027d1ceac83b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: renderers.DataTableBody: FunctionTooLong \u2014 DataTableBody runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/renderers.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e30a9939edca89d0b4f95be8f5c4a7fb1de003bb4824c9cd5edcdd9549eede7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: panel.TransformPanel: FunctionTooLong \u2014 TransformPanel runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\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/plugins/impl/data-frames/panel.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9ee3d7e904c219b7cda94496e387eeaf50b6f676512efc9678d4a9ab868353"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vega-component.LoadedVegaComponent: FunctionTooLong \u2014 LoadedVegaComponent runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\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/plugins/impl/vega/vega-component.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d414d86a9245783775601360201abbe6e0411b0c1bb27b9cae82b19db0c516"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _save/hash.py: FileTooLong \u2014 749 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 249 over it, 1.50\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":"marimo/_save/hash.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be5346f454ffd0312f020801f7b4f5b01dcd55400972be5928520befb1b9eaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wasm/_unsafe_call_analysis.py: FileTooLong \u2014 748 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 248 over it, 1.50\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":"marimo/_lint/rules/wasm/_unsafe_call_analysis.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ef32883f93a267d748f5f70158389019392eb9ea5351ef758e712a42ae0440"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: columns.renderCellValue: FunctionTooLong \u2014 renderCellValue runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.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/data-table/columns.tsx"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"4451937ddd76bfad8202eca43227eb72c3a4542e82af622803f8427199e928b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: combobox.Combobox: FunctionTooLong \u2014 Combobox runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\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/ui/combobox.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a3fb1cb99587f63ed67fc77182e5dc25bd2596b8120f0526730555866a260a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: reorderable-list.ReorderableList: FunctionTooLong \u2014 ReorderableList runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ui/reorderable-list.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef83f4a67aec6bfde0e03b15e1ed723bbc65346b83582f6d6ee0f57843742856"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/form-fields.tsx: FileTooLong \u2014 726 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 226 over it, 1.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/charts/components/form-fields.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c69b33e3ceb7ba09e44ec50e67f51c519b093887f8b409827627652cf247a21"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dependency-graph-tree.DependencyGraphTree: FunctionTooLong \u2014 DependencyGraphTree runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/dependency-graph/dependency-graph-tree.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61880a2229b6ffb8f92b69abcdd07e8adbcf48b0dc665a44fb92164f0487a98"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: cache-panel.CachePanel: FunctionTooLong \u2014 CachePanel runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/panels/cache-panel.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d067e81074d2cf36f102b1e5aa8a3a0a5edf5192f12945160083791479c48806"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConsoleOutput.ConsoleOutputInternal: FunctionTooLong \u2014 ConsoleOutputInternal runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/console/ConsoleOutput.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"253eb8cea835dbe137df47bd2bafb56e448795779457d2d1e8766fdca27add18"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useSandboxController.useSandboxController: FunctionTooLong \u2014 useSandboxController runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/packages/useSandboxController.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"881e4447d76a06da11e9972b91b10e01c77c49858b2719251286b20a4b31d519"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/chat-ui.tsx: FileTooLong \u2014 720 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 220 over it, 1.44\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/chat/chat-ui.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbd5b4f0abeb0e4dd81c7c079d7c6d54625929a6579f8b334bb13d88925ba94"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: minimap.SlidesMinimap: FunctionTooLong \u2014 SlidesMinimap runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/slides/minimap.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee4722e058af56a5608f13cc9f9f942f8f54194179240412decb0413af3cf65"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _server/lsp.py: FileTooLong \u2014 713 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 213 over it, 1.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/lsp.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f030605cd55b6b6fa5dab02b5c76b68c7a4d6811d75756b13bb2cb644872ae6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FileUploadPlugin.FileUpload: FunctionTooLong \u2014 FileUpload runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\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/plugins/impl/FileUploadPlugin.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfa0ef78912f15543210e84b9b390862c7bc62dd7cc55c09c2f7998cd198651"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: database/as-code.ts: FileTooLong \u2014 708 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 208 over it, 1.42\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/editor/connections/database/as-code.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0b26f801173ed48a4130867e3fabc02d4c19ef00239e6cc0b66f8c92b7b604"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: select-list.SelectList: FunctionTooLong \u2014 SelectList runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ui/select-core/select-list.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85f29b4637131a41b1af6c67b5738c082cde6504e004c911d69447a9ba5663e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: registerReactComponent.registerReactComponent: FunctionTooLong \u2014 registerReactComponent runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/core/registerReactComponent.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"5300409bd9c2d2c2ff584961b27a912ba846efb92655597e7da26b497b7ca317"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: slides/reveal-component.tsx: FileTooLong \u2014 696 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 196 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/slides/reveal-component.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc8680e18db821a16db96dc9a61c4c9e06f5812972b1c7dbbaf10e7c9ee4dd1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SliderPlugin.SliderComponent: FunctionTooLong \u2014 SliderComponent runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/SliderPlugin.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb581085100e210323d5f1d9481b11d03460f807d6bad79aed970854147430ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runner/cell_runner.py: FileTooLong \u2014 691 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 191 over it, 1.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runner/cell_runner.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2201254e56ec0bae5cfc2f9fa3e52f52f3f838a97fa9145be2e17641288104cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: forms/form.tsx: FileTooLong \u2014 685 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 185 over it, 1.37\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/forms/form.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5276f698ad6715a60e26f4dbfb00142837c821a39f0f455830833b52715a22"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _save/cache_dirs.py: FileTooLong \u2014 678 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 178 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/cache_dirs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"574e6ebb8a76721fc14214b8aabc4cca947164bccaa1b2358c6d9b3cb2f43ed4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tables/narwhals_table.py: FileTooLong \u2014 675 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 175 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":"marimo/_plugins/ui/_impl/tables/narwhals_table.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89d04639814d48c0320dad1cd3b22aa14da956acc818628a96c55ffaaff03a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: command-palette.CommandPaletteContent: FunctionTooLong \u2014 CommandPaletteContent 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/editor/controls/command-palette.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d200ebd4fa75001fe74aee59958e816e206dd5e192a5059acf2758299f8cb542"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pagination.DataTablePagination: FunctionTooLong \u2014 DataTablePagination runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.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/data-table/pagination.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbba942820aab12f37429730708f304cea334c3a2c907452a3d8271408d03b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pair/commands.py: FileTooLong \u2014 664 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 164 over it, 1.33\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":"marimo/_cli/pair/commands.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf077e8e195f83aadf28922cb8cdc08edca6a45d01c617cbc81bebb936c0c0fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _concurrency/_futures.py: FileTooLong \u2014 663 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 163 over it, 1.33\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":"marimo/_runtime/_wasm/_concurrency/_futures.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8f61c59fb889dbfd3f1c8bef67204d1c7ed8db6c3d4ceebf1b8127b7ba5af6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ai-model-dropdown.AIModelDropdown: FunctionTooLong \u2014 AIModelDropdown runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ai/ai-model-dropdown.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacf1b03f8effe181e039f9768edf2879fa2e02286485ccb198176d12e405159"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MarimoErrorOutput: ClassTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 124 over it, 1.31\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/MarimoErrorOutput.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85667cc6d57cf3e72fb4b2beda5d2f71e01bb1ae2e1066d37c626a3d8de39a29"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: engines/sqlalchemy.py: FileTooLong \u2014 653 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 153 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_sql/engines/sqlalchemy.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafa615236d77c4029028dd4921d56b55833bf0699f30af405c5d175c4e02302"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MarimoTracebackOutput.MarimoTracebackOutput: FunctionTooLong \u2014 MarimoTracebackOutput runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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/editor/output/MarimoTracebackOutput.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"984dc7ae23ac7d73d5f71aa4b68708e3fb368dd115268a8081ab2796ebfefa1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/middleware.py: FileTooLong \u2014 642 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 142 over it, 1.28\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":"marimo/_server/api/middleware.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5fd70c7976b0b02d2321c73b55e8b42881c7c1a09f4e9cb9e61ca62dde62ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pending-ai-cells.PendingAICells: FunctionTooLong \u2014 PendingAICells runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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/editor/chrome/wrapper/pending-ai-cells.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0af040f0f400f93d985afcf538e5d1f07be8096469e01217957934ff5a0e75"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: filename-input.FilenameInput: FunctionTooLong \u2014 FilenameInput runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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/editor/header/filename-input.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98dee0400ff77257d9168ec1514f373f0903c566080d7309959f811987aa6fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: editor/package-alert.tsx: FileTooLong \u2014 637 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 137 over it, 1.27\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/editor/package-alert.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7047e8018b7b74678d4aaed7e650f8f744f1fad16bded0dcf8b9e2d2ceea9150"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: renderers.renderTableInfo: FunctionTooLong \u2014 renderTableInfo runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/language/languages/sql/renderers.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d465a4cd55e2a371556c08d21c27e8652e377e70639dd924980db96d111f69cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: state.createDocumentState: FunctionTooLong \u2014 createDocumentState runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/notebook/document/state.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"35382889f3c1e0e75913b1225322d902abeb04ab8f1631463185def3d63ad23d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Notebook: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. This type is on a published API surface \u2014 an apidiff API-compatibility gate in CI (.github/workflows/test_schemas.yaml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_core/notebook.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9497b9f7fa1d653f3ea0323ad6d80ba2312337d653eab7ae5c52c9d8dfde908"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: slides/minimap.tsx: FileTooLong \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 128 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/slides/minimap.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90843a961ede59b560632a8d7ddaf48caec9064f11888a83d2ec3fa64d4e4d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _export/exporter.py: FileTooLong \u2014 626 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 126 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_export/exporter.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e1f2245d5aae176bcf4ef92f0afd9e2941df4d3f7fcefdae20f3bf20f09a6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page_actions.createDropdown: FunctionTooLong \u2014 createDropdown runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\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":"docs/_static/js/page_actions.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0016872809a4cc19c77b857c179213cbc63795163bda28ab68633b508f2d238c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-display.renderUIMessage: FunctionTooLong \u2014 renderUIMessage runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\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/chat/chat-display.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"488f92cd306f84d7f81caba52f5a94d398d0993e30d94cdf273006324028195e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: host/bridge.py: FileTooLong \u2014 623 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 123 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/bridge.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1df557a739a8b84286aee7b0f697c75de58688d37059b9b29dd13a90777932"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SessionBridge: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. This type is on a published API surface \u2014 an apidiff API-compatibility gate in CI (.github/workflows/test_schemas.yaml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/bridge.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e94896bf335493c3ec7501ba22573973a8efe1e7da3ef15682bc5c7c38a7b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: transforms/print_code.py: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 115 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e8a4399acc1b269f494528b7b86ef18f7a810af7c3468d5895672a6e3a7c13"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TableBottomBar.TableBottomBar: FunctionTooLong \u2014 TableBottomBar runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/TableBottomBar.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"97096f71d484b776ddbc95f070ecbf278f020c524ef5f6aa8f7f4d735c1fa957"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: multi-cell-action-toolbar.useMultiCellActionButtons: FunctionTooLong \u2014 useMultiCellActionButtons runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/navigation/multi-cell-action-toolbar.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"62956e22abb745bb93cb2a72e2f8187378669856ee08eb577afa8d2fa02a7836"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _ast/app.py: FileTooLong \u2014 614 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 114 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/app.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f61d14657dc11ca0840b78a0ff9386cd2d9e47cce04a9119001e4c921fbc48f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: output/MarimoErrorOutput.tsx: FileTooLong \u2014 614 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: MarimoErrorOutput (107-786). The bar is 500 significant lines; this is 114 over it, 1.23\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/editor/output/MarimoErrorOutput.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"665295530d8167834257bf87d2b5c7e682b62e022e1a95069087452871855eda"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data-table/columns.tsx: FileTooLong \u2014 612 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 112 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/columns.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f48238921274c35eec73ebbd33c6fc2687e59db7ddbdbe66d27b4a2af2e869"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: startup-output.StartupOutput: FunctionTooLong \u2014 StartupOutput runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\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/editor/alerts/startup-output.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe1e22af76182133b8d5ca0b108d43bfad9cbd7cd725f818a3ecf814cc41826"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: jupyter.jupyterHelpExtension: FunctionTooLong \u2014 jupyterHelpExtension runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\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/core/codemirror/compat/jupyter.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"148f14edce25c2bb7ceeaa7955e4304c6ffe360b6b007fea9c014db40fe3567a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: export/commands.py: FileTooLong \u2014 601 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 101 over it, 1.20\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":"marimo/_cli/export/commands.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"694e1525d6ca3d9bb43fda0768b823573e8b84219734d33b5ff49fb1f6d5b302"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: slide-cell-view.SlideCellView: FunctionTooLong \u2014 SlideCellView runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\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/slides/slide-cell-view.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4818fa1f180b8baf0bdd71b22c55d119d70c67057404137bbdcb9852a97881db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lsp/notebook-lsp.ts: FileTooLong \u2014 596 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: NotebookLanguageServerClient (185-1054). The bar is 500 significant lines; this is 96 over it, 1.19\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/core/codemirror/lsp/notebook-lsp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1976b05083678d99f0965dd4960b39796869f9f59768d1f632c54291b80e95"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NotebookLanguageServerClient: ClassTooLong \u2014 476 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 76 over it, 1.19\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/core/codemirror/lsp/notebook-lsp.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d5e0f6737eca9241a670b35b01f36e25da082d30d78e44b3c95d98dc1143c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: package-alert.ExtrasSelector: FunctionTooLong \u2014 ExtrasSelector 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/editor/package-alert.tsx"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"187edeb5fd07d175cbc18390bc7f2076b0a47c851ed2deb04af813184af884b6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PyodideBridge: ClassTooLong \u2014 474 significant lines (blank, comment-only and punctuation-only lines excluded), 58 methods. The bar is 400 significant lines; this is 74 over it, 1.19\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/core/wasm/bridge.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"938efa6db4d3b92e3789622b94dd4b3b5ece45b5d714885ba394c1dda03c9c99"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _core/notebook.py: FileTooLong \u2014 592 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 92 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_core/notebook.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd0e18d5ffc700b30df549213cc3166052cd3002d3afede0513e5e3bda8d473"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: transforms/handlers.py: FileTooLong \u2014 592 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 92 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/dataframes/transforms/handlers.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9150c348cc09ab7ed27aa1458bdd9cb5b56a5ba0d1854f9d42419f6cd12f9d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acp/blocks.tsx: FileTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 88 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/chat/acp/blocks.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8184f7afc289d101fca7b4c49635de6183017d0aa0f06a9654cad066ddf72171"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: filter-pills.FilterPill: FunctionTooLong \u2014 FilterPill runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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/data-table/filter-pills.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26ab7f63a079b170de3aa3586ae5546b93a840ec5d2dffab5d61bb0a921b4ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _impl/altair_chart.py: FileTooLong \u2014 579 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 79 over it, 1.16\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":"marimo/_plugins/ui/_impl/altair_chart.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf876e4d6f7e695373d68c1e9d1b7b1f059900e91c037df1f520e28c07f130b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: matplotlib/matplotlib-renderer.ts: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded), about 66% of them inside a single declaration: MatplotlibRenderer (275-881). The bar is 500 significant lines; this is 73 over it, 1.15\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/plugins/impl/matplotlib/matplotlib-renderer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"286a6b12db6d6e6f25d093b7ebf026b68250305e904584965b4c86a8353f685a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _duckdb/__init__.py: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 70 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/_wasm/_duckdb/__init__.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c41f8b130b0044e21aec0f5fc9ecaf40445f91469acd9e40ec1f2fa30e12728"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/home-page.tsx: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 70 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/pages/home-page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac65c1a02004038e4a3d180b282cacf1539b98fa309c05de79990d885b9d102"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: serialize.filterToFilterCondition: FunctionTooLong \u2014 filterToFilterCondition runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/filters/serialize.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"793497e17c4670c048eec523268451f14e60756bc3fda593a6a903ba71d1449c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: connection-notice.ConnectionNotice: FunctionTooLong \u2014 ConnectionNotice runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/alerts/connection-notice.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21dc13e864d71a87c303c74ea87f3838a5431bb9037c73e2a1c3ba6b5738bf2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: cell-actions.CellActionsDropdownInternal: FunctionTooLong \u2014 CellActionsDropdownInternal runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/cell/cell-actions.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2499179df5562ae0e59fc0962f2050a0b7e5c9e5f608d879968c8e2d9cdde09a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: JsonOutput.JsonTree: FunctionTooLong \u2014 JsonTree runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/JsonOutput.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"911296dfc253dc8f01bbf1609e90631958cfb4f5f552c50fd6b245d90ac419c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: gallery-page.GalleryPage: FunctionTooLong \u2014 GalleryPage runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/pages/gallery-page.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc63c002d19fbb5fa34128982eebc86a3d9c7ce0d716e445cb8c6b9ebe52a89f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PanelPlugin.PanelSlot: FunctionTooLong \u2014 PanelSlot runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/panel/PanelPlugin.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0111be589d063c8a803eb460fd750ade045c436b6dd00141c1bdce7f212d3329"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ScopedVisitor: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. This type is on a published API surface \u2014 an apidiff API-compatibility gate in CI (.github/workflows/test_schemas.yaml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/visitor.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa6642c0386dfb18ba6edab7496007630ad36f43bc95c7137f97316535c5a6f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TableManager: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. This type is on a published API surface \u2014 an apidiff API-compatibility gate in CI (.github/workflows/test_schemas.yaml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/tables/table_manager.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34958a63012ab6f18b326e89e6eaeb5ba5c18bb5bd274908548888e7bddd1ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: packages/pypi_package_manager.py: FileTooLong \u2014 565 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 65 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/packages/pypi_package_manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc397528c1208da4ee33456342e5c2204143fc60b72765a6b405ce92c60ae5a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: column-summary.TableColumnSummary: FunctionTooLong \u2014 TableColumnSummary runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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/data-table/column-summary/column-summary.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1046f93dba98fc258ffd11b8818b909ff7331c5a0f6880c27143cbf0ec5b85d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: llm/_impl.py: FileTooLong \u2014 561 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 61 over it, 1.12\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":"marimo/_ai/llm/_impl.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bff7e2875373e7470aabd7b74a84140eb7a1d560d7689ef23050acf2fc3a89"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ImperativeModal.useImperativeModal: FunctionTooLong \u2014 useImperativeModal runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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/modal/ImperativeModal.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed0e27c13b0ab26f233bae0c776745f9f0f8bdebaabfb9e2b679525c4d4aac4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: latex.parseLatex: FunctionTooLong \u2014 parseLatex runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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/core/codemirror/language/embedded/latex.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"766a4cac393de405ee13b457b5a14ae8200205bb5c2970226c7af0481904189b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MplInteractivePlugin.MplInteractiveSlot: FunctionTooLong \u2014 MplInteractiveSlot runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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/plugins/impl/mpl-interactive/MplInteractivePlugin.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b701c4ec592a1799e642482c0f31719a5ff728f09e5f853a80a8a3f0ebe8425c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data-table/filter-pill-editor.tsx: FileTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 59 over it, 1.12\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/data-table/filter-pill-editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5c9d22bfc16ad0cfdd53311e431110a3199fc2c154e1a86d926390d9c34a83"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcp/client.py: FileTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 56 over it, 1.11\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":"marimo/_server/ai/mcp/client.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9b71e9cee2998aa5e345602c519ffbe9b6853c2183bb6bcc439fcdacd2da8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: filter-pill-editor.ValueSlot: FunctionTooLong \u2014 ValueSlot runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/filter-pill-editor.tsx"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfc0cc2737599dea9834eb7ee23878a928f7f5ae157750e45b4622b7e466675"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lsp-status.LspStatus: FunctionTooLong \u2014 LspStatus runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/wrapper/footer-items/lsp-status.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eec267d9c7279230f663dc9634a9ac8da9e18266018e825613a544082070203"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EditNotebookTool.handler: MethodTooLong \u2014 handler runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/ai/tools/edit-notebook-tool.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"df018b108be67401b828193255f498f915c32bd5c69505a422899771369c8907"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: renderers.renderDatasourceInfo: FunctionTooLong \u2014 renderDatasourceInfo runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/language/languages/sql/renderers.tsx"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"d448a056063da130f39424426192d3e20b15ba679bdf9a18f22f968014c2336d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NarwhalsTableManager: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. This type is on a published API surface \u2014 an apidiff API-compatibility gate in CI (.github/workflows/test_schemas.yaml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/tables/narwhals_table.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"49627b582932973efbfac90f3b9ef38bc13f722d91eac73e421ffda3a0ab4b9e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultWasmController.prepareSession: MethodTooLong \u2014 prepareSession runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/wasm/worker/bootstrap.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3649f044ae1e007ee3310d5f901a25c19f0802a90472aca6ca0f921d38dea61"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: grid-layout/grid-layout.tsx: FileTooLong \u2014 545 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 45 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/renderers/grid-layout/grid-layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed8395bf7b866a2bff85a6bebc25c507d49e41f0fe6544bd2432a8974d28e9b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: state/session_view.py: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 40 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_session/state/session_view.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee7afb187666ee097972b230d40a89e1217ca1a508b65eb54ddbc3d34525c5d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: managers/ipc.py: FileTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 39 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_session/managers/ipc.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"721c4fd5c5939fb11eb0f70d425a37331604a09f82ecee7362296bf54178e41e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: panels/packages-panel.tsx: FileTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 39 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/panels/packages-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4fb25b5c3bfefd2c611e3c86cfbcf87fdab5a224b86b3c2e8c75d60dca8112"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wasm/bridge.ts: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: PyodideBridge (63-801). The bar is 500 significant lines; this is 37 over it, 1.07\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/core/wasm/bridge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e54ef0afae3c580a7a3a52f2900c0aec38975c2ad9d4a2720f99ad066397cc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: useNotebookActions: ClassTooLong \u2014 429 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 29 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/actions/useNotebookActions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4eb72c2fbbb98dbc71b8f4247d747509a94bd703982babb93fee54a078df6f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: actions/useNotebookActions.tsx: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: useNotebookActions (113-736). The bar is 500 significant lines; this is 36 over it, 1.07\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/editor/actions/useNotebookActions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddd9221c16028f18b6c2910a672c4fcbf8032a122815dab69e05d6499dad6bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useConfigActions.useConfigActions: FunctionTooLong \u2014 useConfigActions 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/editor/actions/useConfigActions.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb68ec2ca92666700a41aec7dd61a38f2b740791d415d6b1cf57b1fbfd7c63a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CreateCellButton.CreateCellButton: FunctionTooLong \u2014 CreateCellButton 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/editor/cell/CreateCellButton.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"72709b52f7e8564da7809913c8deea0a24f983bb0e26a5e1da2bbc158d1db8a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConnectedDataExplorerComponent.DataExplorerComponent: FunctionTooLong \u2014 DataExplorerComponent 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/plugins/impl/data-explorer/ConnectedDataExplorerComponent.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c619cbcfbef0d64a202de05b156102ac6a5e3be262b38c4d514c432871369a4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _export/file.py: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 30 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_export/file.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc57a1260b8a7a55b1f9b427c440b75b2a6588a8a2358519693712fe5fd6aacb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _environments/sandbox.py: FileTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 23 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_environments/sandbox.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f589d7a6cad40e2fe4de0c285b262278be32807071981890a19b637d296dfbe7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _config/manager.py: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 21 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_config/manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"471bc322edb226bbdfd590006932f2c2b9abfab8ac551d84b88507c8add74778"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: notebook-menu-dropdown.NotebookMenuDropdown: FunctionTooLong \u2014 NotebookMenuDropdown runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/controls/notebook-menu-dropdown.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8100ad675932639c18f8ceeed7f0b36cc434014c0015fb08287c9eb9a0597887"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sql/sql.ts: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 19 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/language/languages/sql/sql.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e951ed5e20c780d708c57eeeef03721af85dcebdbb86f15fb652b3d8f8fb7cf4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CellManager: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. This type is on a published API surface \u2014 an apidiff API-compatibility gate in CI (.github/workflows/test_schemas.yaml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/cell_manager.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8793b0e1108370bef8a96f241aac5ce025167761bb3e4d85e42401d278687fae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: navigation/navigation.ts: FileTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 15 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/editor/navigation/navigation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf71d76e27c0c64838589579c439879b926c79c237008ec113d1c6c4a4f7bdc6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sidebar.Sidebar: FunctionTooLong \u2014 Sidebar runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.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/editor/chrome/wrapper/sidebar.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ed7621a10761288e8dbb5ad8afc79cc5d7013926c524fd15bb3ee52b14d339"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bootstrap.handleNotification: FunctionTooLong \u2014 handleNotification runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.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/core/islands/bootstrap.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"274f3a3a0aa5e73defbff870de57b032f8a73ea2ab39914da4ac9e0d90557d11"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sql/renderers.tsx: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 11 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/language/languages/sql/renderers.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc1febfb87abeb86667c6325671601ebb11446b8f405cedab71d0afd40f6566"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: form-fields.AggregationSelect: FunctionTooLong \u2014 AggregationSelect 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/data-table/charts/components/form-fields.tsx"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e5187389e07bd69d7bb4e81099b82faf15bc9e3c4e0fed57be8178f25c8dcc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _pyodide/pyodide_session.py: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 6 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_pyodide/pyodide_session.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bc671c87d2aeac876576ba6b1bfd9cff0d700e5b6cb26c3acf61a39ba6c886"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: endpoints/ai.py: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 6 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/api/endpoints/ai.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b5d95615f466dfb91b1815a6410bed13c2f82f8d2857101dfc028f6a4afaa0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sql.SQLEngineSelectImpl: FunctionTooLong \u2014 SQLEngineSelectImpl runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.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/core/codemirror/language/panel/sql.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"280ae34ed7790303aa8e5143c5c0d94c4fffbf86ef45fc6f0df97434308fb335"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TextInputPlugin.TextComponent: FunctionTooLong \u2014 TextComponent runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.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/plugins/impl/TextInputPlugin.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a6006b50e1dc8c59d0a3c04ed22ad00e24e0cdeb1d2af50a35eabd19c48456"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _pyodide/notebook.py: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_pyodide/notebook.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37702ff94b939047655abadc19b1a9fbfa888deec6182a18860c7930178ea143"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (50 shared lines): frontend/e2e-tests/py/components.py:114-192 | marimo/_tutorials/ui.py:413-501 \u2014 These two members are variants of one another: 50 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/e2e-tests/py/components.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f717b7fcfad0af6abbf363b2d70c441404788619b974ca1b0fe2c8e01d35b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): marimo/_output/builder.py:8-21 | marimo/_output/builder.py:159-172 | marimo/_output/builder.py:178-191 | marimo/_output/builder.py:195-208 | marimo/_output/builder.py:212-225 | marimo/_output/builder.py:229-242 | marimo/_output/builder.py:246-259 | marimo/_output/builder.py:263-276 | marimo/_output/builder.py:280-293 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_output/builder.py"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"664ebd8dbb9bc83b233254fa63178109c6a2e5e5c7e3a6059558225232c74151"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): marimo/_plugins/ui/_impl/plotly.py:645-722 | marimo/_plugins/ui/_impl/plotly.py:1295-1359 | marimo/_plugins/ui/_impl/plotly.py:1744-1846 | marimo/_plugins/ui/_impl/plotly.py:1856-1935 | marimo/_plugins/ui/_impl/plotly.py:2176-2241 | marimo/_plugins/ui/_impl/plotly.py:2251-2306 | marimo/_plugins/ui/_impl/plotly.py:3500-3568 | marimo/_plugins/ui/_impl/plotly.py:3578-3625 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cca7259ae3b2c3e976b223b9e42c2345729fbdeceead82ced10cec2445b366"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): marimo/_plugins/ui/_impl/dates.py:142-167 | marimo/_plugins/ui/_impl/dates.py:305-330 | marimo/_plugins/ui/_impl/dates.py:477-502 | marimo/_plugins/ui/_impl/input.py:134-150 | marimo/_plugins/ui/_impl/input.py:364-380 | marimo/_plugins/ui/_impl/input.py:577-593 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/dates.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"038614aa146b2fde68245b1fd353ab4b2b8d382c1f814286f0f50f3e533044c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): marimo/_plugins/ui/_impl/plotly.py:1661-1714 | marimo/_plugins/ui/_impl/plotly.py:2072-2147 | marimo/_plugins/ui/_impl/plotly.py:2381-2560 | marimo/_plugins/ui/_impl/plotly.py:2732-2915 | marimo/_plugins/ui/_impl/plotly.py:3389-3467 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b1cc71f6eda806b5a40895eaba91e18d201e6c7791b918348b147fe76de2f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): examples/ui/layout.py:89-97 | marimo/_smoke_tests/grid.py:62-70 | marimo/_smoke_tests/layout.py:62-70 | marimo/_tutorials/layout.py:127-135 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ui/layout.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b474a63ab42d46fa4f9068b3e21390375ff1d011935e7f4df231e072b33531"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): marimo/_messaging/streams.py:408-432 | marimo/_messaging/streams.py:467-506 | marimo/_pyodide/streams.py:130-154 | marimo/_pyodide/streams.py:183-219 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_messaging/streams.py"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"6740b028676118447bc74f7bf67dadfa58f760adbe2b21bbd10662cd472be8f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): marimo/_plugins/ui/_impl/plotly.py:621-635 | marimo/_plugins/ui/_impl/plotly.py:1720-1734 | marimo/_plugins/ui/_impl/plotly.py:2153-2166 | marimo/_plugins/ui/_impl/plotly.py:3473-3490 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe541ff8195dff8a1d8dee7072841c0300654214c33015b817d1bf94d7bedab"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): marimo/_plugins/ui/_impl/plotly.py:2583-2688 | marimo/_plugins/ui/_impl/plotly.py:2977-3091 | marimo/_plugins/ui/_impl/plotly.py:3097-3184 | marimo/_plugins/ui/_impl/plotly.py:3242-3330 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2583}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a672147fe57b61625dfcd337b1b8f4e6e97aeb235fcbe228b2554a1cf29b813"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (109 corresponding lines): marimo/_plugins/ui/_impl/input.py:248-360 | marimo/_plugins/ui/_impl/input.py:465-573 \u2014 These two members are one piece of code written twice and then edited apart: 109 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":"marimo/_plugins/ui/_impl/input.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"376e294b2812404716a904e9b1aeec074191fa65703519fa0d77df01304ad942"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (77 corresponding lines): marimo/_server/api/dependency_tree.py:15-92 | marimo/_utils/uv_tree.py:70-146 \u2014 These two members are one piece of code written twice and then edited apart: 77 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":"marimo/_server/api/dependency_tree.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ee3f24539c52ac73b2d7342b7854e463cd8a6944c0bf12e0e96590179adaf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): marimo/_server/api/endpoints/packages.py:59-130 | marimo/_server/api/endpoints/packages.py:136-201 \u2014 These two members are one piece of code written twice and then edited apart: 66 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":"marimo/_server/api/endpoints/packages.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac6c71455bf8cf65aa4a386c15da55ba70a24bbd2ac4e596160bb8b5357873d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): marimo/_data/_external_storage/huggingface.py:209-258 | marimo/_data/_external_storage/huggingface.py:263-313 \u2014 These two members are one piece of code written twice and then edited apart: 50 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":"marimo/_data/_external_storage/huggingface.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"7362e235483dfb9a6505087d81500604a1fbd510f8018e5398c5c11f4ed80616"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): marimo/_runtime/packages/_micropip_streaming.py:26-66 | marimo/_runtime/packages/utils.py:251-302 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/packages/_micropip_streaming.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e27251f94d75080d5ef6eae8a4d574613700c7b095884ec854533965cec85fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): marimo/_data/series.py:121-152 | marimo/_data/series.py:157-192 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_data/series.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"327bf4c5439eb2e0938f9cf23aebd5da7f2547fa337d4fa3928b1d84f8773dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): marimo/_runtime/runner/by_refs.py:118-144 | marimo/_runtime/runner/by_refs.py:152-193 \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":"marimo/_runtime/runner/by_refs.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac5a86333273af9e3580a940ce2efdf2a749da0c8c15f9a69f71a273fbd5fa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 54\u002B corresponding lines): marimo/_runtime/callbacks/datasets.py:168-229 | marimo/_runtime/callbacks/datasets.py:235-291 | marimo/_runtime/callbacks/datasets.py:297-350 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 54 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":"marimo/_runtime/callbacks/datasets.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f7b0a5a8c7ef4a47338aa410fce4e4428c90f5578e0a69c3e5dbba605a6df0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): marimo/_runtime/app/script_runner.py:109-137 | marimo/_runtime/app/script_runner.py:143-171 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/app/script_runner.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ddc6e919a9bea3fad8416d12981467b2868bf111846cc3a8d0769fac903b11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): docs/scripts/html_to_markdown.py:53-73 | docs/scripts/html_to_markdown.py:111-143 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/scripts/html_to_markdown.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d5d59bac494cf96097de71b6793d06d8b575485f2f7d15dd9f339e8fd0025e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): marimo/_sql/utils.py:117-162 | marimo/_sql/utils.py:170-218 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_sql/utils.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08892601a202b74be9e1689337a5984ef1f71dbdf02bd9ef06d87115cc97184"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): marimo/_runtime/executor/evaluator.py:39-64 | marimo/_runtime/executor/evaluator.py:69-87 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/executor/evaluator.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae180762af1382e140d5059fffa299fffdd0f455e3873922540a0e7590ff08d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): marimo/_server/host/record.py:160-185 | marimo/_server/server_registry.py:93-116 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/record.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0e3e865930f91ad4294e95d1f1ec26f1ca13e223a5ad8a75e9cb0a3c5c1e82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): marimo/_plugins/ui/_impl/table.py:1732-1759 | marimo/_plugins/ui/_impl/table.py:1767-1793 \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":"marimo/_plugins/ui/_impl/table.py"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a02cf7c3ebf51b93b6285e18cc22e679cf9dafad9723d524618c7461bc73e0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): marimo/_server/templates/api.py:85-154 | marimo/_server/templates/api.py:170-235 \u2014 These two members are one piece of code written twice and then edited apart: 66 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":"marimo/_server/templates/api.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"54099864966613cbf15022b6537a9cec49405bd4cbe43ea8551a5f6a480c9ea1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): marimo/_cli/cli.py:738-770 | marimo/_cli/cli.py:1333-1361 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/cli.py"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64c8d6477bf7c979a0b168f4c1a59e17cda08d441e64091cb95505a1308bf7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): marimo/_sql/engines/adbc.py:456-508 | marimo/_sql/engines/dbapi.py:96-138 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"marimo/_sql/engines/adbc.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"42982fc936c6346a77aa3a4525c259042ceaf771d41097c30d3367176d8a1706"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): marimo/_save/stores/rest.py:78-99 | marimo/_save/stores/rest.py:102-115 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/stores/rest.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"39739f86fd4a61de3f97c992e8ca4f1dc8c2c9ba09fdaa71d8183c91cc82b451"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): marimo/_server/host/api.py:498-515 | marimo/_server/host/api.py:520-541 \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":"marimo/_server/host/api.py"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6b22ec049233a62f308a93faae5b66eb20d8c85791d4c132855b0c2024bfa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): frontend/e2e-tests/py/kitchen_sink.py:36-52 | marimo/_tutorials/layout.py:83-95 \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":"frontend/e2e-tests/py/kitchen_sink.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ebdbb77354683d24c90c16d6a55342740fe600be45d1ea66b3826532ea4428"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): marimo/_snippets/data/matplotlib-0.py:31-54 | marimo/_snippets/data/matplotlib-8.py:31-49 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_snippets/data/matplotlib-0.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6fcfeafd1b08791d397fa5f9d3cefcbf495ecda311f8b25e0386b1758e1268"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): marimo/_ai/_tools/base.py:105-134 | marimo/_server/api/endpoints/home.py:190-212 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ai/_tools/base.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2b9648541fd8b78d9c85494122b60fe98bf365f78b7071133b4cf155380b59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): marimo/_environments/backends.py:322-349 | marimo/_environments/backends.py:358-379 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_environments/backends.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"e137d9ece735a97499422ea20f92b7874c469778ebcf79754ce7f66e680b601d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): marimo/_messaging/streams.py:330-351 | marimo/_pyodide/streams.py:80-98 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_messaging/streams.py"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"1210e0f81a0a7b8344df215f5b58d4ed8ce25103983d7d8e600f2b5529fee11d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): marimo/_snippets/data/altair-4.py:23-45 | marimo/_snippets/data/altair-7.py:23-50 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_snippets/data/altair-4.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adbf9f0dbd6c7bf7a22af97bc8c557f6c3f7283578a04341bd20c9ee70956ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): marimo/_server/router.py:44-71 | marimo/_server/router.py:79-106 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"marimo/_server/router.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3be6f1c875a703583f598aded7c52a7e94d2dc60a3e6afe18f59c675e0cfc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): marimo/_ai/llm/_impl.py:277-299 | marimo/_ai/llm/_impl.py:388-410 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ai/llm/_impl.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6b6f6d530d1d7efdc384231ddb5412a43ce144befab50462b675724cbf09b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): marimo/_runtime/_wasm/_concurrency/_mp_queue.py:60-77 | marimo/_runtime/_wasm/_concurrency/_mp_queue.py:80-97 \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":"marimo/_runtime/_wasm/_concurrency/_mp_queue.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8fd18a65962ebab0275354eeb81fb2b7297b1f85b005285be18dbdfb04c78e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): marimo/_runtime/params.py:127-150 | marimo/_runtime/params.py:153-179 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/params.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d026edded4b3b17bd75123de19db44f5c05faac694b415a51e6d031dcb25b2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): marimo/_core/host.py:142-155 | marimo/_core/host.py:160-172 \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":"marimo/_core/host.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6b0fcb5a7f01e303498ecfd7a4c53014322a973daea6df7b8c171edc61b932"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): marimo/_runtime/_wasm/_patches.py:88-112 | marimo/_runtime/_wasm/_patches.py:124-145 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/_wasm/_patches.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"defc2f07910d4bb84ac802d560ac4fcc2232345dbb8121128163fadaca25cd19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): marimo/_snippets/data/polars-11.py:27-69 | marimo/_snippets/data/polars-12.py:26-59 | marimo/_snippets/data/polars-5.py:27-60 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 34 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":"marimo/_snippets/data/polars-11.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32667d3df86723800733053d0c9e9491a34ed78c8817b9eda5c26c105ea4a30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): marimo/_data/charts.py:477-497 | marimo/_data/charts.py:500-575 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_data/charts.py"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a58936746a726efd8321176c25eb12b8fb1dc0a8d019c222b4a5f76d91f1b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): marimo/_environments/sandbox.py:530-543 | marimo/_environments/sandbox.py:548-566 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_environments/sandbox.py"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e51a3d63db22f4a4a70b45d84ef68c7275c5aae08df3ea1ce582d90161007cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): marimo/_messaging/notification_utils.py:121-141 | marimo/_messaging/notification_utils.py:175-195 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_messaging/notification_utils.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b537724b96f4e889576c0b877e49dfaffcc918219f4ecb04a2bcc9541417b836"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): marimo/_cli/help_formatter.py:151-165 | marimo/_cli/help_formatter.py:170-187 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/help_formatter.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fafc3f55f206e85b7bfd2ef24c16c2133bd561dba7cc663ca437bcaefc26525"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): marimo/_runtime/watch/_directory.py:51-69 | marimo/_runtime/watch/_file.py:28-49 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/watch/_directory.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74ff0b1293efe5cc5241fc43468719e5846d0a4a1ea0d428d8d3f4f072ebf6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): marimo/_environments/script_metadata.py:286-303 | marimo/_environments/script_metadata.py:312-323 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_environments/script_metadata.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"0026ad433c308af2cc05c7b635c277b15751ec281885dec663ac7beba80b9508"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): marimo/_export/_pdf_raster.py:154-175 | marimo/_export/_pdf_raster.py:185-201 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_export/_pdf_raster.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34354da4d2b83240d558532e4ae6a9fcc06b093ac57183e568d8fba2795f452"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): marimo/_convert/markdown/flavor/base.py:89-119 | marimo/_convert/markdown/flavor/mdx.py:58-80 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_convert/markdown/flavor/base.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b4b9868b1f4b6fc4c848fc6cc68d56870c0803893d61100d157b7671f6823f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): marimo/_snippets/data/altair-5.py:23-36 | marimo/_snippets/data/altair-6.py:23-42 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_snippets/data/altair-5.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf218aed6c103e929c0d5d3bac854a8162302b472be16bdbde27c80d6f97f75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): marimo/_environments/environment.py:327-344 | marimo/_environments/pixi.py:546-560 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_environments/environment.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"c286d550fe3e3360621d9144a32995cf25f6e4f6fe8bd3cb2d6aa65ea4e381fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): marimo/_runtime/packages/conda_package_manager.py:47-67 | marimo/_runtime/packages/pypi_package_manager.py:117-134 \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":"marimo/_runtime/packages/conda_package_manager.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"047be472e0e778fbfb52ef585d46dee22a3ead3658aa3ae29f1a3f21806cdb21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): marimo/_plugins/ui/_impl/matrix.py:60-82 | marimo/_plugins/ui/_impl/matrix.py:89-109 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/matrix.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4b67541fa99b36b7ee326da221f539a55eff9403d8fb59ecbd79a7eeca0371"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): marimo/_runtime/executor/executor.py:63-81 | marimo/_runtime/executor/executor.py:86-102 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/executor/executor.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5681a17a49a08cd5459909768c6539c6896aaaf042711efdde8e9e80c9b951e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): marimo/_plugins/ui/_impl/array.py:116-126 | marimo/_plugins/ui/_impl/batch.py:132-145 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/array.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bda54b0c26402883351ada2ce18514dd942a614d14479010bc735ee5bfa114"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): marimo/_runtime/packages/sandbox_package_manager.py:79-99 | marimo/_runtime/packages/sandbox_package_manager.py:102-115 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/packages/sandbox_package_manager.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6876b15453aa267a4a2b2550655c51a762d0c441119b79c2ccef8422f533b48f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): marimo/_save/signing.py:196-215 | marimo/_save/signing.py:219-236 \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":"marimo/_save/signing.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f70e26431621b0f5d7b7eb792ad16f4882eef4c7f8311870bf9772f8e6c77da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): marimo/_plugins/stateless/status/_progress.py:437-454 | marimo/_plugins/stateless/status/_progress.py:457-474 \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":"marimo/_plugins/stateless/status/_progress.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"d116533b7730642a8aa1fe31e57fc79b3fbc49054a55bd1c973826335ee319d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): marimo/_runtime/runtime.py:211-229 | marimo/_runtime/runtime.py:234-263 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runtime.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b8dea463d2659443c587d4ca9de47993a40067519413da5a4b3e47860c5619"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 22\u002B corresponding lines): marimo/_server/api/endpoints/file_explorer.py:279-300 | marimo/_server/api/endpoints/file_explorer.py:309-330 | marimo/_server/api/endpoints/file_explorer.py:339-360 | marimo/_server/api/endpoints/file_explorer.py:405-426 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/api/endpoints/file_explorer.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e843753522e24817f8e7986e316ee84d1d1ba7a379a065408fafbc54e56032"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): marimo/_convert/markdown/flavor/mdx.py:104-115 | marimo/_convert/markdown/flavor/mystmd.py:175-195 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_convert/markdown/flavor/mdx.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ee412fb4f4389ca81fc4d6063418fec23f2080854c386528fd8806ec0abc3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): marimo/_data/charts.py:120-151 | marimo/_data/charts.py:729-759 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_data/charts.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c19c28de52417d8acf42776c7b7d62df40e2df7190cfb8fd1c0262eb77d4be4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): marimo/_environments/backends.py:495-509 | marimo/_environments/backends.py:574-587 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_environments/backends.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda998035c098af501419ff3a3a6a971a1e38a28aa476f214664bc5a6b3ceab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): marimo/_output/formatters/flax_formatters.py:255-265 | marimo/_output/formatters/pytorch_formatters.py:249-259 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_output/formatters/flax_formatters.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6280d5d3600d9c4e4470d26c635a16b6663a2694762df8fd155473f77a54ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): marimo/_plugins/ui/_impl/altair_chart.py:872-895 | marimo/_plugins/ui/_impl/altair_chart.py:899-922 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/altair_chart.py"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53fba111caf7a0f2e7a962853ca605afd561b03dbd9041436eba6d37cddc71d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): marimo/_runtime/capture.py:96-122 | marimo/_runtime/capture.py:127-151 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/capture.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6848f2cb25c90fd55da6f613d7bf12a72c25f4d2487491d90ace85a8e478f840"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): marimo/_lint/rules/wasm/_unsafe_call_analysis.py:799-806 | marimo/_lint/rules/wasm/_unsafe_call_analysis.py:809-820 \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":"marimo/_lint/rules/wasm/_unsafe_call_analysis.py"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b2f87fe5462bdc65ef11e7ea845c5675a9326c0f5f7d8e892f824f69c9ab18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): marimo/_runtime/capture.py:23-49 | marimo/_runtime/capture.py:54-76 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/capture.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0841701ca1ff1952403a862f2afe4fb76f16e3fcf4e53fd709909e3ff8c80eda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): marimo/_session/notebook/file_manager.py:661-686 | marimo/_session/notebook/storage.py:210-237 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_session/notebook/file_manager.py"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a2b820d062dcd1fdc79a897f960aee7b732f76c225b7982dcf77b0d09fe912"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): marimo/_runtime/_wasm/_concurrency/_threading.py:144-152 | marimo/_runtime/_wasm/_concurrency/_threading.py:155-167 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/_wasm/_concurrency/_threading.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a8a8930ca3ec52b34e3fd02014631fbdb00c64785f2d40d4d3c07bd3a74e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): marimo/_snippets/data/pandas-20.py:20-39 | marimo/_snippets/data/pandas-21.py:20-39 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_snippets/data/pandas-20.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c823aed9f6ebc6d3fb98f3f8f46927a660a9acb9355af3079ac5d06de32ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): marimo/_runtime/_wasm/_concurrency/_process_install.py:450-459 | marimo/_runtime/_wasm/_concurrency/_process_install.py:468-477 | marimo/_runtime/_wasm/_concurrency/_process_install.py:486-495 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 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":"marimo/_runtime/_wasm/_concurrency/_process_install.py"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"721cbf77cf894a809fe8fe73c6759da2f5a266901492a7b57698035d5a621a38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): marimo/_core/run_log.py:144-154 | marimo/_core/run_log.py:157-164 \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":"marimo/_core/run_log.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcfd0ae9fb041260768eddd75117038724aed3b91de761f687c81d32eedea67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): marimo/_plugins/ui/_impl/dataframes/dataframe.py:260-267 | marimo/_plugins/ui/_impl/table.py:1956-1964 \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":"marimo/_plugins/ui/_impl/dataframes/dataframe.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e9800c7eb0af2d47f4d47d67b9676e412de83fd968f0b952d928dc869bf2d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): marimo/_plugins/ui/_core/registry.py:106-111 | marimo/_runtime/state.py:68-75 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_core/registry.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a626f56b4208e879df22ac96d47b9504838e3cac184b11248113f49e89f201d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): examples/ui/array_element.py:16-18 | marimo/_tutorials/ui.py:281-285 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ui/array_element.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0552c5e40f2e9a364a401403f8dbfe1349f26dac739a0465537119ce69ba9fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): marimo/_snippets/data/altair-1.py:23-33 | marimo/_snippets/data/altair-2.py:24-35 | marimo/_snippets/data/altair-3.py:24-34 \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":"marimo/_snippets/data/altair-1.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25c8c8c4c69add377c0f3827ebc080537cd67e3a17ee453a7e6de4390f99078"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): marimo/_runtime/context/kernel_context.py:134-146 | marimo/_runtime/context/script_context.py:118-132 \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":"marimo/_runtime/context/kernel_context.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1b44f39f2dc81686121ebea3219b8c7b737a074f2ec54bcb466d74938981e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): marimo/_output/formatters/flax_formatters.py:60-65 | marimo/_output/formatters/pytorch_formatters.py:139-144 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_output/formatters/flax_formatters.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7280448e895ecd0fe15f3e0d5f77ce0c0d83d4baf0da7c166f8285119df5f6b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): marimo/_server/api/dependency_tree.py:8-11 | marimo/_utils/uv_tree.py:26-30 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/api/dependency_tree.py"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"838de82aa574ae4f86b03db6520ca227c373b1d65e88666c6dfe6c30caf67a96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): marimo/_snippets/data/pandas-5.py:20-35 | marimo/_snippets/data/pandas-6.py:20-38 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_snippets/data/pandas-5.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5099c31ed80cee060104810582500cd5caedf12dc5b382b2d0f79b7ffc67975b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): marimo/_convert/markdown/flavor/mdx.py:155-158 | marimo/_convert/markdown/flavor/mystmd.py:246-249 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_convert/markdown/flavor/mdx.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17be784af8693a08521bc30030452e83c750520b6fcb61114837ff7b728a09a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): marimo/_convert/markdown/flavor/base.py:15-20 | marimo/_metadata/opengraph.py:520-526 | marimo/_secrets/load_dotenv.py:209-220 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 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":"marimo/_convert/markdown/flavor/base.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"344660c80028d1c347d6517b743146286c42012fdbbcb959a0796499d4fb57f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): marimo/_runtime/callbacks/cache.py:77-83 | marimo/_runtime/runner/hooks_on_finish.py:96-107 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/callbacks/cache.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f36944e532198ffd21df16b84b9836ebe6f578a8fe54d931e348e47c5584bdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): frontend/e2e-tests/py/components.py:197-200 | marimo/_tutorials/ui.py:506-510 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/e2e-tests/py/components.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"3212be216ef15aa25560359ad4064da763c0bed3cd753bb1893053879b21a06e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63\u201364 lines \u00D7 2): marimo/_plugins/ui/_impl/plotly.py:2395-2457 | marimo/_plugins/ui/_impl/plotly.py:2749-2812 \u2014 both copies are in the same file, so extract the block 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2395}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d673cb75fe516689049be17ce35d9a2148154757a8e5eec1031c1f6d02bc81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48\u201354 lines \u00D7 2): marimo/_plugins/ui/_impl/plotly.py:2605-2652 | marimo/_plugins/ui/_impl/plotly.py:2999-3052 \u2014 both copies are in the same file, so extract the block 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2605}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64140b60caac67ab4eb5be803fb1d661cd336023a7bbbb1f21bddd74f60a26d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47\u201348 lines \u00D7 2): marimo/_plugins/ui/_impl/plotly.py:3190-3236 | marimo/_plugins/ui/_impl/plotly.py:3336-3383 \u2014 both copies are in the same file, so extract the block 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":3190}}}],"partialFingerprints":{"codehealthFindingId/v1":"666b3085bcc4b723a333b1505fc289aa250dee4a5cea753ad6515046154d9141"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201346 lines \u00D7 2): marimo/_plugins/ui/_impl/plotly.py:2479-2523 | marimo/_plugins/ui/_impl/plotly.py:2836-2881 \u2014 both copies are in the same file, so extract the block 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2479}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b196c11bb869103f36fba0f92aa043b11142709e4beea1278a4f07fba928ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): marimo/_server/api/dependency_tree.py:30-69 | marimo/_utils/uv_tree.py:85-124 \u2014 before extracting anything, compare \u0060marimo/_server/api/dependency_tree.py\u0060 and \u0060marimo/_utils/uv_tree.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060marimo/_server/api/dependency_tree.py:30\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, \u0060marimo/_utils/uv_tree.py:84\u0060 calls \u0060skip_line\u0060 and \u0060marimo/_server/api/dependency_tree.py:29\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/api/dependency_tree.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e5eef0ed5960fc8c98a4eb525cc191c319c35c4467eb54166189a1e7818f6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): marimo/_server/api/endpoints/export.py:547-582 | marimo/_server/api/endpoints/export.py:622-657 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/api/endpoints/export.py"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f939405cd635bc372f3f76b1a5060b7aa502a12f364f543e4f9147e97369bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 3): marimo/_plugins/ui/_impl/plotly.py:1676-1710 | marimo/_plugins/ui/_impl/plotly.py:2087-2120 | marimo/_plugins/ui/_impl/plotly.py:3406-3439 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060marimo/_plugins/ui/_impl/plotly.py:2087\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, \u0060marimo/_plugins/ui/_impl/plotly.py:1673\u0060 calls \u0060cast\u0060, \u0060get\u0060, \u0060any\u0060 and \u0060marimo/_plugins/ui/_impl/plotly.py:2087\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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1676}}}],"partialFingerprints":{"codehealthFindingId/v1":"e726981067e91a3e87b9360e1739930ae1536f792437f14e512f1eefc95569da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 3): marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py:235-268 | marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py:513-546 | marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py:721-754 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py:235\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31c00a777eb0b55902ed829a9111a071aae4f3b8d327a17021121c45711542c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201330 lines \u00D7 2): marimo/_plugins/ui/_impl/plotly.py:2181-2210 | marimo/_plugins/ui/_impl/plotly.py:2254-2281 \u2014 both copies are in the same file, so extract the block 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6b838e81c350beb44ecdcdb9bc1c2664d7404a7b20b3852cc4204e6d1a0f4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201326 lines \u00D7 3): marimo/_plugins/ui/_impl/plotly.py:1365-1383 | marimo/_plugins/ui/_impl/plotly.py:2381-2403 | marimo/_plugins/ui/_impl/plotly.py:2732-2757 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"93572704d72a17f7f0a5de5ca71f6ab8dbbf4f821da757cc4ab85c235ccb03ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201326 lines \u00D7 2): marimo/_data/charts.py:92-117 | marimo/_data/charts.py:705-726 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_data/charts.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01239c2cb0f9c878eece341ba0c888813edb20ea54723e6c439a458e13c484e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): marimo/_server/recents.py:38-62 | marimo/_server/recents.py:66-88 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The 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":"marimo/_server/recents.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb46c66819c7b13551779339b87e59881d5cd9c2d0cf97a81f849a26ae5a5e1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): marimo/_plugins/ui/_impl/dates.py:142-165 | marimo/_plugins/ui/_impl/dates.py:477-500 \u2014 both copies are in the same file, so extract the block 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":"marimo/_plugins/ui/_impl/dates.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78961efb5ced51ca70ce9dad90551e92aad1d579db9391f91432897465a25c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): marimo/_convert/markdown/flavor/base.py:97-119 | marimo/_convert/markdown/flavor/mdx.py:58-80 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_convert/markdown/flavor/base.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be04b9e5b41faad34790e074c22e2e33f1e30d4b2db7d3edc2890c362a11c85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py:58-80 | marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py:330-352 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py:58\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"822e46e6ab020486ad24fa869189819cae227b399851c15d2a1208e88b62cfa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): marimo/_plugins/ui/_impl/input.py:255-277 | marimo/_plugins/ui/_impl/input.py:471-493 \u2014 both copies are in the same file, so extract the block 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":"marimo/_plugins/ui/_impl/input.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09c00b7b79d3760ecd2ac334daf08e2569ac4d6a45a98ffa8565a53e92c28e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): marimo/_runtime/app/script_runner.py:109-131 | marimo/_runtime/app/script_runner.py:143-165 \u2014 both copies are in the same file, so extract the block 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":"marimo/_runtime/app/script_runner.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"0816dcc950087506df9ed9cdba2442f03a4d86d63f41b37fc4e811ced8fd3fb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): marimo/_sql/engines/adbc.py:268-290 | marimo/_sql/engines/adbc.py:348-368 \u2014 both copies are in the same file, so extract the block 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 \u0060marimo/_sql/engines/adbc.py:268\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_sql/engines/adbc.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36240c07b9d7e93d2abef45aafd15e4a0ec637d82a3fe8c055f51595c217ff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201322 lines \u00D7 2): marimo/_plugins/ui/_impl/plotly.py:676-691 | marimo/_plugins/ui/_impl/plotly.py:1789-1810 \u2014 both copies are in the same file, so extract the block 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 \u0060marimo/_plugins/ui/_impl/plotly.py:676\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"d688c0be70418b5710598d1ef31692b84193299003d52e2ec002a349ec09f8bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): marimo/_server/api/endpoints/packages.py:109-130 | marimo/_server/api/endpoints/packages.py:180-201 \u2014 both copies are in the same file, so extract the block 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 \u0060marimo/_server/api/endpoints/packages.py:109\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":"marimo/_server/api/endpoints/packages.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1b75de45bcfce8583fc4892c1519655ea019de958368847435d3cf264e7ec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 2): marimo/_plugins/ui/_impl/plotly.py:2980-3000 | marimo/_plugins/ui/_impl/plotly.py:3098-3114 \u2014 both copies are in the same file, so extract the block 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2980}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccac69cb5d495ddaf18436939dc169f0e6bf5194cf77dc83aa5ee4ffb6b11c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): marimo/_runtime/packages/_micropip_streaming.py:44-64 | marimo/_runtime/packages/utils.py:280-300 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060marimo/_runtime/packages/_micropip_streaming.py:44\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/packages/_micropip_streaming.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abf267f793821d318b413bd00bbdd389047b0e95e1563e75083a306f8e26bcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 4): marimo/_plugins/ui/_impl/plotly.py:2598-2615 | marimo/_plugins/ui/_impl/plotly.py:2990-3009 | marimo/_plugins/ui/_impl/plotly.py:3106-3123 | marimo/_plugins/ui/_impl/plotly.py:3253-3270 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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, \u0060marimo/_plugins/ui/_impl/plotly.py:2988\u0060 calls \u0060_build_global_category_order\u0060 and \u0060marimo/_plugins/ui/_impl/plotly.py:2596\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2598}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb4fe0747cdac0485d868ec0b47d1c9c433105ece469b95f72f7f3872cf5b95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201320 lines \u00D7 2): marimo/_runtime/executor/evaluator.py:39-58 | marimo/_runtime/executor/evaluator.py:69-81 \u2014 both copies are in the same file, so extract the block 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":"marimo/_runtime/executor/evaluator.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd1fc260d12f82a363918b6fe1525dcfcf04195db69a3e94e86e3bc3b3ca08c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): frontend/e2e-tests/py/components.py:127-145 | marimo/_tutorials/ui.py:428-446 \u2014 before extracting anything, compare \u0060frontend/e2e-tests/py/components.py\u0060 and \u0060marimo/_tutorials/ui.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060frontend/e2e-tests/py/components.py:127\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/e2e-tests/py/components.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3b3c806d2247fbaa9269a1eca9c8f3af4f679366cf5de1347d68090c72017a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): marimo/_plugins/ui/_impl/plotly.py:2459-2477 | marimo/_plugins/ui/_impl/plotly.py:2814-2832 \u2014 both copies are in the same file, so extract the block 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 \u0060marimo/_plugins/ui/_impl/plotly.py:2459\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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2459}}}],"partialFingerprints":{"codehealthFindingId/v1":"546890c3630e98db3bb112af9a896bd31ff90d52144b4b1c4dc89e9ac0fc9a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): marimo/_data/series.py:135-152 | marimo/_data/series.py:175-192 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060marimo/_data/series.py:171\u0060 calls \u0060strftime\u0060, \u0060isinstance\u0060, \u0060datetime\u0060 and \u0060marimo/_data/series.py:134\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":"marimo/_data/series.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"488fce63eb2a8097e9e59ac289f106634492a9a678c450cb1665b3e95674a733"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): marimo/_mcp/code_server/lifespan.py:23-39 | marimo/_mcp/server/lifespan.py:23-40 \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":"marimo/_mcp/code_server/lifespan.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aedc92d2720f4aa415a2ad64e82dfc90cd54fdff3f1ef29b9317765631112a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): marimo/_plugins/ui/_impl/plotly.py:1445-1462 | marimo/_plugins/ui/_impl/plotly.py:1507-1524 \u2014 both copies are in the same file, so extract the block 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebac4aae37e8e6421a5038d4df3bf82793f16e635db6577232ddb07b1bef0fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py:74-90 | marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py:346-362 | marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py:617-633 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py:74\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":"marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96180442801e40fbbba3c7adb9505ddb00bc82c251ccffd682038274bbb7d74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): marimo/_plugins/ui/_impl/plotly.py:2127-2142 | marimo/_plugins/ui/_impl/plotly.py:3446-3462 | marimo/_plugins/ui/_impl/plotly.py:3679-3695 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce401a97e906468e719782628f1f531a6df808d9753aa2fa6391d48b361895b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): marimo/_ai/_tools/tools/datasource.py:109-125 | marimo/_ai/_tools/tools/datasource.py:131-147 \u2014 both copies are in the same file, so extract the block 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":"marimo/_ai/_tools/tools/datasource.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d48fc7a53452c1af99ee14527cdc365b92f31a69c33a9623e369e84453f2cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): marimo/_plugins/ui/_impl/plotly.py:671-687 | marimo/_plugins/ui/_impl/plotly.py:940-956 \u2014 both copies are in the same file, so extract the block 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8baf42bf56409399ed41cb02548e2a99f207554dfaef3b79fb59bce86095481"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201317 lines \u00D7 2): marimo/_plugins/ui/_impl/plotly.py:2660-2670 | marimo/_plugins/ui/_impl/plotly.py:3054-3070 \u2014 both copies are in the same file, so extract the block 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2660}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ead941f269f7dec027f982323bee8805c3b791ec8d5ebb7a36630f27d745ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): marimo/_plugins/ui/_impl/plotly.py:3506-3522 | marimo/_plugins/ui/_impl/plotly.py:3582-3598 \u2014 both copies are in the same file, so extract the block 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":3506}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f41d49ede5281a9c5e13db457db6ea5f7ad0df13db213fda77061a9b38e0d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201316 lines \u00D7 4): marimo/_plugins/ui/_impl/plotly.py:621-632 | marimo/_plugins/ui/_impl/plotly.py:1720-1731 | marimo/_plugins/ui/_impl/plotly.py:2153-2162 | marimo/_plugins/ui/_impl/plotly.py:3473-3488 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"042d5c9c8e9f3b54ec5091d5ac1477ac15feb7f1ca315837151b3621dca2687a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): frontend/e2e-tests/py/components.py:179-192 | marimo/_tutorials/ui.py:486-501 \u2014 before extracting anything, compare \u0060frontend/e2e-tests/py/components.py\u0060 and \u0060marimo/_tutorials/ui.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060frontend/e2e-tests/py/components.py:179\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":"frontend/e2e-tests/py/components.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b2525a3e057712f1caad0d618b609416180c0511966438957bd8d8fe19d580"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): marimo/_ast/visitor.py:694-709 | marimo/_ast/visitor.py:712-727 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060node\u0060 to \u0060ast.AsyncFunctionDef\u0060 in one and \u0060ast.FunctionDef\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/visitor.py"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20a6a6f746f04f660e4f54fe9770e09769c6ebc1096836bd82d81294702e49d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): marimo/_convert/markdown/flavor/pymdown.py:64-79 | marimo/_convert/markdown/flavor/qmd.py:64-79 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_convert/markdown/flavor/pymdown.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a5e911b205b8511f845aa9fa34f95763d06181f3dfcf33ce8424f9f8edd161"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): marimo/_server/api/dependency_tree.py:77-92 | marimo/_utils/uv_tree.py:131-146 \u2014 before extracting anything, compare \u0060marimo/_server/api/dependency_tree.py\u0060 and \u0060marimo/_utils/uv_tree.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/api/dependency_tree.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08295b5c3cb75dcad397a2d77ceb783400b54c19066b10bfa64ef081eeb41e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): marimo/_plugins/ui/_impl/input.py:134-148 | marimo/_plugins/ui/_impl/input.py:364-378 | marimo/_plugins/ui/_impl/input.py:577-591 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/input.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"855d61c5e9ec0d13a517ff989d49176860537afa31d815aab9d239be182839eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): marimo/_environments/backends.py:335-349 | marimo/_environments/backends.py:365-379 \u2014 both copies are in the same file, so extract the block 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":"marimo/_environments/backends.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a3d692a872ce540275049529e2ad472dd355e5fcf6029d780c2c2d5b2c4448"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): marimo/_mcp/code_server/main.py:151-164 | marimo/_mcp/server/main.py:71-85 \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 \u0060marimo/_mcp/code_server/main.py:151\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_mcp/code_server/main.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"0198adccf17194247e16150858f5df5642fd06858e5bc17f43aafce5a29b606c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py:124-138 | marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py:418-432 \u2014 both copies are in the same file, so extract the block 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 \u0060marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py:124\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":"marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7ba739e2a7db60c5b5249a84967f3f2a477c5e10cab61b96ef5c955993902d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): marimo/_runtime/runtime.py:1134-1148 | marimo/_runtime/runtime.py:1150-1165 \u2014 both copies are in the same file, so extract the block 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 \u0060marimo/_runtime/runtime.py:1134\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runtime.py"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39f0c8dd12674d71509118ec804cfcd4a3eeaba38f6113e9e8002fa27212921"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): marimo/_sql/engines/duckdb.py:152-166 | marimo/_sql/engines/duckdb.py:169-183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"marimo/_sql/engines/duckdb.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"10596b56e9c1e5c759e5755f2090e7284908ed4ed464c30f2517c7278d1890b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): marimo/_utils/health.py:163-180 | marimo/_utils/health.py:184-198 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The 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":"marimo/_utils/health.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45d796c3227c7b241240362172a235dc78851ee28d8ecedf2899144879ea9b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 9): marimo/_output/builder.py:8-21 | marimo/_output/builder.py:159-172 | marimo/_output/builder.py:178-191 | marimo/_output/builder.py:195-208 | marimo/_output/builder.py:212-225 | marimo/_output/builder.py:229-242 | marimo/_output/builder.py:246-259 | marimo/_output/builder.py:263-276 | marimo/_output/builder.py:280-293 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_output/builder.py"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"181a1c25a98cf8d876459399e2a2cb30162465f748c5454d7fe44ca25a56b78b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): marimo/_plugins/ui/_impl/plotly.py:1701-1714 | marimo/_plugins/ui/_impl/plotly.py:2111-2124 | marimo/_plugins/ui/_impl/plotly.py:2833-2846 | marimo/_plugins/ui/_impl/plotly.py:3430-3443 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060marimo/_plugins/ui/_impl/plotly.py:1701\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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaac7c1ca8d048ec0a0cc4eea3252501e9f0e5f89bbf234bb335ede7ae22f8f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201326 lines \u00D7 3): marimo/_plugins/ui/_impl/plotly.py:903-928 | marimo/_plugins/ui/_impl/plotly.py:1030-1055 | marimo/_plugins/ui/_impl/plotly.py:1199-1221 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2274b7d5e87b14f7318e91ce8daf99ee95172c48d4fcf9054b34687ab214ec3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): frontend/e2e-tests/py/components.py:115-125 | marimo/_tutorials/ui.py:414-427 \u2014 before extracting anything, compare \u0060frontend/e2e-tests/py/components.py\u0060 and \u0060marimo/_tutorials/ui.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060frontend/e2e-tests/py/components.py:115\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/e2e-tests/py/components.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae95ac008d290e1e6a9ca4577f4ef32e8038812732a44e03056e666030bee06b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): marimo/_messaging/streams.py:469-482 | marimo/_pyodide/streams.py:186-198 \u2014 \u0060marimo/_messaging/streams.py\u0060 and \u0060marimo/_pyodide/streams.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 36 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_messaging/streams.py"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b4cd1e8acf66149c9aacfa330f6bf6a846e305a8c5400d25105dc13e00fd23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): marimo/_plugins/ui/_impl/plotly.py:954-967 | marimo/_plugins/ui/_impl/plotly.py:971-984 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2044237cc9cf993b54b6bcbccc9cb817941f064ab8579b4600d5a6733e27dad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): marimo/_plugins/ui/_impl/plotly.py:2547-2560 | marimo/_plugins/ui/_impl/plotly.py:2902-2915 \u2014 both copies are in the same file, so extract the block 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 \u0060marimo/_plugins/ui/_impl/plotly.py:2547\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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2547}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21963f62eb5fbc6172f6094bd2e6d7b61cf12f467c017158c63d6939b5171ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): marimo/_server/api/dependency_tree.py:16-29 | marimo/_utils/uv_tree.py:70-83 \u2014 before extracting anything, compare \u0060marimo/_server/api/dependency_tree.py\u0060 and \u0060marimo/_utils/uv_tree.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060marimo/_server/api/dependency_tree.py:16\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060marimo/_utils/uv_tree.py:84\u0060 calls \u0060skip_line\u0060 and \u0060marimo/_server/api/dependency_tree.py:30\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/api/dependency_tree.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f65ea1e0ca02c82435abc7b2f272cbb84cf75d9dddc353c98bf7d497672110c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): docs/scripts/html_to_markdown.py:61-73 | docs/scripts/html_to_markdown.py:132-143 \u2014 both copies are in the same file, so extract the block 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":"docs/scripts/html_to_markdown.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"88386443e8d8c30f1d658aaafbe3d12c3daa691cdeac2c584264420023e676ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): marimo/_cli/export/commands.py:1228-1240 | marimo/_cli/export/commands.py:1262-1274 \u2014 both copies are in the same file, so extract the block 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 \u0060marimo/_cli/export/commands.py:1228\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":"marimo/_cli/export/commands.py"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3583324c2cc55fef2543e023f2ae1e1db6970cb291560b4ed3a35d0407b7e6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): marimo/_convert/markdown/flavor/mdx.py:139-151 | marimo/_convert/markdown/flavor/mystmd.py:230-242 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_convert/markdown/flavor/mdx.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f535f10357e99ef5c5a52a52f1002c99cbdb7d9b4003bf53c14bbd754fb7ab12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): marimo/_data/series.py:121-133 | marimo/_data/series.py:157-169 \u2014 both copies are in the same file, so extract the block 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":"marimo/_data/series.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81e0bc18c2c92c649df6d4652cf0584764554d35572f08e41daedfa54470a98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): marimo/_plugins/ui/_impl/plotly.py:648-659 | marimo/_plugins/ui/_impl/plotly.py:1296-1308 \u2014 both copies are in the same file, so extract the block 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d34fea46e5c87deb60a7fd059a3c9a3bdee0e813bbe6c51a4abed0fcd3c518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): marimo/_plugins/ui/_impl/plotly.py:1750-1762 | marimo/_plugins/ui/_impl/plotly.py:1860-1872 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060marimo/_plugins/ui/_impl/plotly.py:1765\u0060 calls \u0060asarray\u0060 and \u0060marimo/_plugins/ui/_impl/plotly.py:1876\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b434d4e00e21730b28ffa25debd5884553e93f3c886393f87cd653aad9bf64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): marimo/_plugins/ui/_impl/plotly.py:2072-2084 | marimo/_plugins/ui/_impl/plotly.py:3389-3402 \u2014 both copies are in the same file, so extract the block 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2072}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec9823a65bae5238c0ca9e9ef6e8e25617184fce6351b76d8ac855741092801"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): marimo/_plugins/ui/_impl/dates.py:155-166 | marimo/_plugins/ui/_impl/dates.py:318-329 | marimo/_plugins/ui/_impl/dates.py:490-501 | marimo/_plugins/ui/_impl/input.py:138-149 | marimo/_plugins/ui/_impl/input.py:368-379 | marimo/_plugins/ui/_impl/input.py:581-592 \u2014 there are 6 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/dates.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a1d583ea304da00f2e4379aab722983a47d1c6262a2167d2276c0f0bf965b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201312 lines \u00D7 4): marimo/_plugins/ui/_impl/plotly.py:1749-1760 | marimo/_plugins/ui/_impl/plotly.py:1859-1870 | marimo/_plugins/ui/_impl/plotly.py:3505-3512 | marimo/_plugins/ui/_impl/plotly.py:3581-3588 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"51133bfa42d085a97750622de673588acca72428f226617a09001c583657758d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): marimo/_plugins/ui/_impl/plotly.py:2114-2125 | marimo/_plugins/ui/_impl/plotly.py:2479-2490 | marimo/_plugins/ui/_impl/plotly.py:2836-2847 | marimo/_plugins/ui/_impl/plotly.py:3433-3444 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":2114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b735cae289b2d0856882e9028aba71c19f90cfc30d7985016da384e66043cd47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): marimo/_convert/markdown/flavor/pymdown.py:30-41 | marimo/_convert/markdown/flavor/qmd.py:30-41 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_convert/markdown/flavor/pymdown.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1fb481e38bfb4a74d17df44bc24d1c1710da6322dfd5e9ee314c96a458bf42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): marimo/_messaging/streams.py:408-418 | marimo/_messaging/streams.py:468-479 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060marimo/_messaging/streams.py:408\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_messaging/streams.py"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1df43bbd2d831922fdc7637c51098ccd5eb140e1915551912699bbdb4369e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py:45-56 | marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py:315-326 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e55caf5b120d530a0ba8973c2647150a7d2a30d62f36177fff1e40bd05725c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): marimo/_plugins/ui/_impl/matrix.py:475-486 | marimo/_plugins/ui/_impl/matrix.py:494-505 \u2014 both copies are in the same file, so extract the block 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":"marimo/_plugins/ui/_impl/matrix.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9a47f5d7af5fe6bf64f3a0606264e7141446deb77608273fefa7cf18230060"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 6): marimo/_plugins/ui/_impl/plotly.py:1747-1757 | marimo/_plugins/ui/_impl/plotly.py:1857-1867 | marimo/_plugins/ui/_impl/plotly.py:2179-2188 | marimo/_plugins/ui/_impl/plotly.py:2252-2261 | marimo/_plugins/ui/_impl/plotly.py:3503-3512 | marimo/_plugins/ui/_impl/plotly.py:3579-3588 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"738c5bd9bcc7d1b9b6ccbbdf3c50d1a3b237f0cff53705a146dd095108ba0ac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): marimo/_messaging/streams.py:409-419 | marimo/_messaging/streams.py:469-480 | marimo/_pyodide/streams.py:131-141 | marimo/_pyodide/streams.py:186-196 \u2014 \u0060marimo/_messaging/streams.py\u0060 and \u0060marimo/_pyodide/streams.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 36 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060marimo/_pyodide/streams.py:198\u0060 calls \u0060str\u0060, \u0060uuid4\u0060 and \u0060marimo/_pyodide/streams.py:143\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_messaging/streams.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffd8dfb310d53a3e32cd93c78a82e8c849062809defac6dc1c853bdcd1d7ede"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): marimo/_plugins/ui/_impl/plotly.py:645-655 | marimo/_plugins/ui/_impl/plotly.py:1744-1754 | marimo/_plugins/ui/_impl/plotly.py:2176-2186 | marimo/_plugins/ui/_impl/plotly.py:3500-3510 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cbd5286ea67068de0b3d709c82ad1b25485415f5d3bc1bc0c19f79eefadf93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): marimo/_save/save.py:537-547 | marimo/_save/save.py:666-676 \u2014 both copies are in the same file, so extract the block 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":"marimo/_save/save.py"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c517ee04eef7c872f6ddbdea9e72515122d3f6f4966b006fece7ff72e1867f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): marimo/_server/api/endpoints/packages.py:75-85 | marimo/_server/api/endpoints/packages.py:153-163 \u2014 both copies are in the same file, so extract the block 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 \u0060marimo/_server/api/endpoints/packages.py:75\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":"marimo/_server/api/endpoints/packages.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1649068c5eb3c7d06ebef8c3cd1c94577264919c7ce7dc38d197b3b6dc442077"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): marimo/_utils/docs.py:225-235 | marimo/_utils/docs.py:236-246 \u2014 both copies are in the same file, so extract the block 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":"marimo/_utils/docs.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"955f7e08bcdfe58fc1ab18e51ef6c7e2f4156e5bc28ffe72305ee898f8a0042c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): marimo/_cli/help_formatter.py:44-53 | marimo/_cli/help_formatter.py:151-160 \u2014 both copies are in the same file, so extract the block 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":"marimo/_cli/help_formatter.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"354e250a2be665a2b9e7113ae4d9cf0f1129c1c7f13bc5d88d9e4f5ed3eb9c29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): marimo/_lint/context.py:128-137 | marimo/_lint/context.py:152-159 \u2014 both copies are in the same file, so extract the block 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":"marimo/_lint/context.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a08dee6ade3798f86eba61c8c30dc306a19c1034ba2a0d26359a3b5b1275158"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): marimo/_messaging/streams.py:331-340 | marimo/_pyodide/streams.py:81-90 \u2014 \u0060marimo/_messaging/streams.py\u0060 and \u0060marimo/_pyodide/streams.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 36 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_messaging/streams.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3396e6f7cbd8d18460c6c17579e4f7b309469e01327571ceb3f0e7072703dc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py:37-46 | marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py:580-589 \u2014 both copies are in the same file, so extract the block 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":"marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e850df777bf3a12a120465cd7f568c0481118ee20e986c52f8c7baee7290c9d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): marimo/_smoke_tests/matrix.py:47-56 | marimo/_tutorials/ui.py:239-248 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/matrix.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d711f738a245a7655302f998c3cfd55401bfc7773d1e53e1b2fbcb8c809ed62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): marimo/_plugins/ui/_impl/plotly.py:1295-1304 | marimo/_plugins/ui/_impl/plotly.py:1856-1864 | marimo/_plugins/ui/_impl/plotly.py:2251-2259 | marimo/_plugins/ui/_impl/plotly.py:3578-3586 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a19b0c0d30ee4c32c3d7f5d55defd00f31e460f5755599d9a8014a54edb945c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): frontend/e2e-tests/py/kitchen_sink.py:42-51 | marimo/_tutorials/layout.py:83-92 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/e2e-tests/py/kitchen_sink.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4690c5d98156dbc6732299d4fda0aa5ae7b6cfdd19d2660c963ec892900680"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): marimo/_ast/transformers.py:171-179 | marimo/_ast/transformers.py:182-190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060node\u0060 to \u0060ast.Import\u0060 in one and \u0060ast.ImportFrom\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/transformers.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4df334113b8a14bbb1322dee1b327f0be557b7adf0a0507d7fe171f124c217e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): marimo/_code_mode/_better_inspect.py:275-283 | marimo/_code_mode/_better_inspect.py:383-391 \u2014 both copies are in the same file, so extract the block 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":"marimo/_code_mode/_better_inspect.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"7184d3f33da1f8cdbec23901ccd30b91bc920c36a41f697c55a07012cab3caa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): examples/ui/layout.py:90-97 | marimo/_smoke_tests/grid.py:63-70 | marimo/_smoke_tests/layout.py:63-70 | marimo/_tutorials/layout.py:128-135 \u2014 before extracting anything, compare \u0060examples/ui/layout.py\u0060 and \u0060marimo/_smoke_tests/grid.py\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"examples/ui/layout.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c19a9160d6b9610076daf0940d57055a667d17c1e81dbddcc091145a783d719"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): marimo/_code_mode/_context.py:480-487 | marimo/_messaging/notebook/document.py:60-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_code_mode/_context.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc352e8eeb5d8d24f295e31c42ac5ea25b18b29af17ff7665525cb5bfc0df103"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): marimo/_messaging/notebook/document.py:188-195 | marimo/_messaging/notebook/document.py:205-211 \u2014 both copies are in the same file, so extract the block 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 \u0060marimo/_messaging/notebook/document.py:188\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_messaging/notebook/document.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fec3a618fa876a130e70bcca07c352af590ba6a417d281553192351b1350bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py:219-226 | marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py:710-717 \u2014 both copies are in the same file, so extract the block 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 \u0060marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py:219\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":"marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd347d6dae6d6a709cdc4ad58853ada1ec7a5111e72e72867e539f328f31cfe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): marimo/_plugins/ui/_impl/dates.py:112-119 | marimo/_plugins/ui/_impl/dates.py:432-439 \u2014 both copies are in the same file, so extract the block 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":"marimo/_plugins/ui/_impl/dates.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"133443aae4ec8294d6f9601c0d205e5d310e2e24b85eaf92e876168f580d6657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): docs/scripts/generate_llms_txt.py:57-63 | docs/scripts/generate_llms_txt.py:78-84 \u2014 both copies are in the same file, so extract the block 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":"docs/scripts/generate_llms_txt.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"62aca61b1222ff108c52d4772696241218db8979bbdb7b4bcb4fe7c85958a9fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3): marimo/_snippets/data/duckdb-1.py:11-41 | marimo/_snippets/data/duckdb-7.py:11-41 | marimo/_snippets/data/duckdb-8.py:11-41 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_snippets/data/duckdb-1.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1c95b2980028e58d2168739d5327c9e8a33a0d59c12592535d3de8b8678c0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): marimo/_snippets/data/pandas-12.py:10-40 | marimo/_snippets/data/pandas-13.py:10-30 \u2014 before extracting anything, compare \u0060marimo/_snippets/data/pandas-12.py\u0060 and \u0060marimo/_snippets/data/pandas-13.py\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_snippets/data/pandas-12.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3dca129b6dfb99759d83892e5889cad687ebb324ad6e467f1e3605534ab7cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): examples/ui/layout.py:62-68 | marimo/_smoke_tests/grid.py:35-41 | marimo/_smoke_tests/layout.py:35-41 | marimo/_tutorials/layout.py:107-113 \u2014 before extracting anything, compare \u0060examples/ui/layout.py\u0060 and \u0060marimo/_smoke_tests/grid.py\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ui/layout.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b688cf92911d3255e1d5d19e96a1a457197c1aa27c7e96153b29d3f62d5f32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): marimo/_tutorials/external_dependencies.py:92-108 | marimo/_tutorials/plots.py:243-267 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_tutorials/external_dependencies.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca38c08a249c6c1bf8b4ae1fda0e32308d3ad261feab82fb01e236ca154a47c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): marimo/_plugins/ui/_impl/from_anywidget.py:290-295 | marimo/_plugins/ui/_impl/from_panel.py:383-388 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/from_anywidget.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6ffc9737196b216398f95589ed363b673eb91162967a69e3f4381fa24e39dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): marimo/_plugins/ui/_impl/from_anywidget.py:300-305 | marimo/_plugins/ui/_impl/from_panel.py:393-398 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/from_anywidget.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"154037f265d7e18eed1985deb33823fd8946bb97b17862c95dc057660b05f68d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): frontend/e2e-tests/py/components.py:169-174 | marimo/_tutorials/ui.py:462-467 \u2014 before extracting anything, compare \u0060frontend/e2e-tests/py/components.py\u0060 and \u0060marimo/_tutorials/ui.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060frontend/e2e-tests/py/components.py:169\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060marimo/_tutorials/ui.py:469\u0060 calls \u0060range_slider\u0060 and \u0060frontend/e2e-tests/py/components.py:176\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":"frontend/e2e-tests/py/components.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"182e9f01a4e69aac435409332ab78df9c034166f66353533e322f7bc152f506e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (20 members, 50\u002B identical tokens): marimo/_smoke_tests/editor_code_lens_stress.py:546-567 | marimo/_smoke_tests/editor_code_lens_stress.py:573-594 | marimo/_smoke_tests/editor_code_lens_stress.py:600-621 | marimo/_smoke_tests/editor_code_lens_stress.py:627-648 | marimo/_smoke_tests/editor_code_lens_stress.py:654-675 | marimo/_smoke_tests/editor_code_lens_stress.py:681-702 | marimo/_smoke_tests/editor_code_lens_stress.py:708-729 | marimo/_smoke_tests/editor_code_lens_stress.py:735-756 | marimo/_smoke_tests/editor_code_lens_stress.py:762-783 | marimo/_smoke_tests/editor_code_lens_stress.py:789-810 | marimo/_smoke_tests/editor_code_lens_stress.py:816-837 | marimo/_smoke_tests/editor_code_lens_stress.py:843-864 | marimo/_smoke_tests/editor_code_lens_stress.py:870-891 | marimo/_smoke_tests/editor_code_lens_stress.py:897-918 | marimo/_smoke_tests/editor_code_lens_stress.py:924-945 | marimo/_smoke_tests/editor_code_lens_stress.py:951-972 | marimo/_smoke_tests/editor_code_lens_stress.py:978-999 | marimo/_smoke_tests/editor_code_lens_stress.py:1005-1026 | marimo/_smoke_tests/editor_code_lens_stress.py:1032-1053 | marimo/_smoke_tests/editor_code_lens_stress.py:1059-1080 \u2014 These 20 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 20 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 20 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/editor_code_lens_stress.py"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a254f2bbb05f7940bf5f4e7a95b9605c35dfd4edee291306b7fce407f41778"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): marimo/_smoke_tests/altair_examples/text_selection.py:107-150 | marimo/_smoke_tests/issues/altair_bug.py:20-59 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"marimo/_smoke_tests/altair_examples/text_selection.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"731a243a4587b4df4857d71f0484d46e88cdf5f7634d238eb32cf69131f4df49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): examples/misc/mortgage_calculator.py:111-152 | examples/misc/mortgage_calculator.py:236-253 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/misc/mortgage_calculator.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"3098f97d2c7033dc5c2c3033be2c4c4dddcc9f594b9169d9f4d9ff53d899a298"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): marimo/_smoke_tests/process_isolation/app1.py:91-150 | marimo/_smoke_tests/process_isolation/app2.py:90-149 \u2014 These two members are one piece of code written twice and then edited apart: 60 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/process_isolation/app1.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ca3baecc135ae2c4edcd19da2b2c0577b2f26fc4e073ff6bcb9db961e4c987"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): marimo/_smoke_tests/formatters/pytorch_formatters.py:41-69 | marimo/_smoke_tests/formatters/pytorch_formatters.py:213-240 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"marimo/_smoke_tests/formatters/pytorch_formatters.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddfe2df2364e20df359cd4ec2086d9de56d59a922fd76fd3f47ebe94277985a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): examples/ui/layout.py:30-50 | marimo/_smoke_tests/grid.py:11-23 | marimo/_smoke_tests/layout.py:11-23 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ui/layout.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2da01f44442cfb0c9cead26aa1b6601decba876e2425d0f67138f8a2f75a56c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): scripts/generate.py:66-97 | scripts/generate_schemas.py:120-165 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1962435e4036a13388d4b3ead590e86a27cf9481c5dbb99463e562c228eb541c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): examples/ai/data/data_labeler.py:135-157 | examples/ai/data/model_comparison.py:172-190 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ai/data/data_labeler.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b15dc99331decd0a5f53d57f9d331193fae6c2613c1baa6737299b21c94f36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): marimo/_smoke_tests/altair_examples/altair_brush.py:54-70 | marimo/_smoke_tests/altair_examples/altair_brush.py:82-101 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/altair_examples/altair_brush.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"265dd0fe0d0c7ef7a5e4b2aedfc16eeb9d750dce202f44e7db1aa472dc218c9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): examples/ai/chat/dagger_code_interpreter.py:62-92 | examples/ai/tools/code_interpreter.py:68-98 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ai/chat/dagger_code_interpreter.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7c5e43daaf3a8220d61f0008d0b29ec13d0bc2086be4b33480d133da59819b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): examples/cloud/gcp/google_cloud_bigquery.py:60-73 | examples/cloud/gcp/google_cloud_storage.py:53-67 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/cloud/gcp/google_cloud_bigquery.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2813e2d3ef8aac287a783ee2f64ecaa58c270cf7e2c97c3212a4b8275e85d3c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): marimo/_smoke_tests/altair_examples/altair_charts.py:189-205 | marimo/_smoke_tests/altair_examples/altair_charts.py:219-239 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/altair_examples/altair_charts.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3ce1180f784b522dba6dc020146125d712048077d81910f687551a7d180aaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): marimo/_smoke_tests/altair_examples/binning.py:64-76 | marimo/_smoke_tests/altair_examples/binning.py:134-148 | marimo/_smoke_tests/altair_examples/binning.py:311-326 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/altair_examples/binning.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df6b494ea625d6aa2b64a7b3aaa855eae03317c382727c70bb2b6b528eae5b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 16\u002B corresponding lines): marimo/_smoke_tests/altair_examples/binning.py:100-116 | marimo/_smoke_tests/altair_examples/binning.py:166-185 | marimo/_smoke_tests/altair_examples/binning.py:203-222 | marimo/_smoke_tests/altair_examples/binning.py:240-260 | marimo/_smoke_tests/altair_examples/binning.py:278-293 | marimo/_smoke_tests/altair_examples/binning.py:344-362 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 16 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/altair_examples/binning.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3f8cea95f5186403ecf5dc7ab93ecb0ef15767c5ff9d6c6e1a81fceed6dd6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): examples/ui/matrix.py:17-27 | marimo/_smoke_tests/matrix.py:101-111 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ui/matrix.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3b246ef4bd31048d84459e08804e47d989fa1a9228ad9d28f691158d4ce3e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): examples/ai/misc/build_a_superhero.py:48-72 | examples/ai/misc/build_a_superhero.py:90-115 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ai/misc/build_a_superhero.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad16f2873a74fdce16fc9bf2b031d84b7078d0cd0adfdccfb82450ed58b913d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 19\u002B corresponding lines): marimo/_smoke_tests/altair_examples/hconcat_vconcat.py:37-55 | marimo/_smoke_tests/altair_examples/hconcat_vconcat.py:77-97 | marimo/_smoke_tests/altair_examples/hconcat_vconcat.py:114-134 | marimo/_smoke_tests/altair_examples/hconcat_vconcat.py:151-171 | marimo/_smoke_tests/altair_examples/hconcat_vconcat.py:188-215 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 19 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/altair_examples/hconcat_vconcat.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba66d631c43cd3d395dba655837ba8b43c342c595dde4c52910c632f8b169331"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): marimo/_smoke_tests/issues/1161.py:30-37 | marimo/_smoke_tests/issues/846.py:62-67 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/issues/1161.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a85ef1d48e278afad88665c94b0fbcfb1c0cf4159f98d2a67a7075f61bf1c1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): marimo/_smoke_tests/altair_examples/vegafusion_histograms.py:30-39 | marimo/_smoke_tests/primitives/_decimal.py:16-25 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/altair_examples/vegafusion_histograms.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0356cf9117e2318f2d221bc6844cd87585db4d18eb3f52c6143c9f8f71248393"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): marimo/_smoke_tests/altair_examples/vegafusion_nb.py:50-58 | marimo/_smoke_tests/altair_examples/vegafusion_histograms.py:70-76 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/altair_examples/vegafusion_nb.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0a59cf7196ce13da1a4a7b6ae11f38697b673387dde4f4cf7dd122c929a95e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): examples/ai/tools/chat_with_tools.py:55-64 | examples/ai/tools/code_interpreter.py:44-54 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ai/tools/chat_with_tools.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e99eb292f29f30815cf06f76539966b55a2693c6b815662fa1fec7ad952ebac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): examples/misc/iss.py:137-139 | examples/ai/chat/mlx_chat.py:136-142 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/misc/iss.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6b136b582fa717c5ab79c553e9bf5b6a57d3f772468047a13e6a20204a02c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): examples/sql/read_csv.py:30-34 | examples/sql/read_json.py:30-34 | examples/sql/read_parquet.py:30-34 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 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":"examples/sql/read_csv.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5d391fdb841b1a090faf1fc7f19a21729047fb5f4be0d16f361af70cc1115f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): marimo/_smoke_tests/matrix.py:338-346 | marimo/_smoke_tests/vector.py:130-138 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/matrix.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b2de0f2cba82931459c9fb406eb4f7a4fa37316b81db3893dae877a4a8b6b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): examples/ai/misc/build_a_superhero.py:24-28 | examples/ai/misc/pdf_question_answer.py:47-50 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ai/misc/build_a_superhero.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e796b4f77eccaf5d18954660cbdd7a7f552bc8a2d3426f9d74c1cfa4aeb49004"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): examples/ai/chat/gemini.py:54-67 | examples/ai/chat/groq_example.py:70-83 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ai/chat/gemini.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f95d1cf7b45d13c7065729735cfd17c74ee795ac66925f776deaffb54045a6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): examples/outputs/progress_bar.py:24-33 | marimo/_smoke_tests/status/status.py:58-66 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/outputs/progress_bar.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f12f11d4ce166638195709bed576f33aea945d5a689011084aa9f9ee2d8c79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): marimo/_smoke_tests/issues/4970-unique-transform.py:35-39 | marimo/_smoke_tests/issues/7345-dataframe-pivot-transform.py:21-25 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/issues/4970-unique-transform.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b467d5b81c4974ba72329a73f6c8a1455a690708b415000e0d7bb507d5aed911"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): marimo/_smoke_tests/matrix.py:159-168 | marimo/_smoke_tests/vector.py:102-111 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/matrix.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fb96eb738467cb31b52a37c20c4a3a8b8ea366887dbb1191bf3896595c6ec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): examples/ai/misc/micrograd_mlp.py:111-116 | examples/misc/pixi_r.py:64-72 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ai/misc/micrograd_mlp.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"152a9e6e52fb8b7a838fc44a8b41009f9ce9dd3a055b163ab14b18f5480d57f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): examples/misc/pixi_ffmpeg.py:31-35 | examples/misc/seam_carving.py:67-78 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/misc/pixi_ffmpeg.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aea4be265817b61e033afe0e90f0234dab8efa5eb42d4542e2f448a221d2ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): examples/ui/button.py:16-20 | marimo/_smoke_tests/issues/1271.py:24-28 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ui/button.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08e9e3ca0e6879da582ff4a41f78a2f01d0db28d7a1a28dac92a53dd6124ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): marimo/_smoke_tests/_matplotlib/with_slider.py:16-18 | marimo/_smoke_tests/issues/4544_flex.py:99-101 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/_matplotlib/with_slider.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66f051bc6105398bba82480c0b0b639745ac7e34e04411c30cbd5586a2b360c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): marimo/_smoke_tests/process_isolation/app1.py:37-81 | marimo/_smoke_tests/process_isolation/app2.py:37-81 \u2014 before extracting anything, compare \u0060marimo/_smoke_tests/process_isolation/app1.py\u0060 and \u0060marimo/_smoke_tests/process_isolation/app2.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/process_isolation/app1.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc280bcf4346aab58b5fd4a03d2015ddf2191509f409c9d14441282f3176725f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): marimo/_smoke_tests/process_isolation/app1.py:108-150 | marimo/_smoke_tests/process_isolation/app2.py:107-149 \u2014 before extracting anything, compare \u0060marimo/_smoke_tests/process_isolation/app1.py\u0060 and \u0060marimo/_smoke_tests/process_isolation/app2.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/process_isolation/app1.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8e04ba9b78c361b0507ed4007292a91d434bebacd042a6b5326de32588b7c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): examples/ai/tools/chat_with_tools.py:116-145 | examples/ai/tools/code_interpreter.py:104-133 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ai/tools/chat_with_tools.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5e30ada148427471de8d45981234dcc2d603622d36ee41488bb4666e119b4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): examples/ai/chat/dagger_code_interpreter.py:65-91 | examples/ai/tools/code_interpreter.py:71-97 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ai/chat/dagger_code_interpreter.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f631a2361191748f454261e852dfc94b419542b570750875a33d7a11e45c8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): marimo/_smoke_tests/tables/ibis_interactive.py:64-87 | marimo/_smoke_tests/tables/lazy.py:165-188 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/tables/ibis_interactive.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fdcbfbd3f728f10ab011569bf50c79d3c37c86cd9d1dfc9f305d9a0f0168af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 20): marimo/_smoke_tests/editor_code_lens_stress.py:546-567 | marimo/_smoke_tests/editor_code_lens_stress.py:573-594 | marimo/_smoke_tests/editor_code_lens_stress.py:600-621 | marimo/_smoke_tests/editor_code_lens_stress.py:627-648 | marimo/_smoke_tests/editor_code_lens_stress.py:654-675 | marimo/_smoke_tests/editor_code_lens_stress.py:681-702 | marimo/_smoke_tests/editor_code_lens_stress.py:708-729 | marimo/_smoke_tests/editor_code_lens_stress.py:735-756 | marimo/_smoke_tests/editor_code_lens_stress.py:762-783 | marimo/_smoke_tests/editor_code_lens_stress.py:789-810 | marimo/_smoke_tests/editor_code_lens_stress.py:816-837 | marimo/_smoke_tests/editor_code_lens_stress.py:843-864 | marimo/_smoke_tests/editor_code_lens_stress.py:870-891 | marimo/_smoke_tests/editor_code_lens_stress.py:897-918 | marimo/_smoke_tests/editor_code_lens_stress.py:924-945 | marimo/_smoke_tests/editor_code_lens_stress.py:951-972 | marimo/_smoke_tests/editor_code_lens_stress.py:978-999 | marimo/_smoke_tests/editor_code_lens_stress.py:1005-1026 | marimo/_smoke_tests/editor_code_lens_stress.py:1032-1053 | marimo/_smoke_tests/editor_code_lens_stress.py:1059-1080 \u2014 all 20 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/editor_code_lens_stress.py"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f21fc8edcc141ace86d938c84d0aa04a994cf12a14d72a18e071760ab107a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): marimo/_smoke_tests/altair_examples/text_selection.py:107-126 | marimo/_smoke_tests/issues/altair_bug.py:20-38 \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 \u0060marimo/_smoke_tests/altair_examples/text_selection.py:107\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/altair_examples/text_selection.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4046702b4d4ef48ccf103a43bbfb5303bea03b3e8cdd6b1d0f2407d66a995383"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): scripts/generate.py:77-96 | scripts/generate_schemas.py:146-165 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b907209fcf4abb9aa7ae5d2e61f5c5c6ec8db24278885745307f70061ab03eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): examples/sql/connect_to_postgres.py:33-50 | examples/sql/connect_to_sqlite.py:36-53 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/sql/connect_to_postgres.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2e1a425a6aa22968d187d4341c9ebcd49fd1c929aa7876bc1bdc744cbaa1dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): examples/ai/chat/dagger_code_interpreter.py:201-214 | examples/ai/tools/code_interpreter.py:168-181 \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 \u0060examples/ai/chat/dagger_code_interpreter.py:201\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ai/chat/dagger_code_interpreter.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"2102e48b3c8010efe5ae0fc17ddb234d6a71ff79146be890b80d54dd289b35ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): examples/cloud/gcp/google_cloud_bigquery.py:60-71 | examples/cloud/gcp/google_cloud_storage.py:53-65 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/cloud/gcp/google_cloud_bigquery.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"43eea60f4d69941d32270f93ce0381f6df98eb38dfec5c5fa8f51c594be5abee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): scripts/analyze_traces.py:229-241 | scripts/analyze_traces.py:243-255 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/analyze_traces.py:229\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/analyze_traces.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e46fe5cfbe32839073337346e6600b62fb11d1443acb8d781dc852caff302f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): examples/misc/create_your_own_shape.py:163-174 | marimo/_smoke_tests/dates.py:23-34 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/misc/create_your_own_shape.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1bb13ef256a141d303cff27df1e29ef0dd592d75c868bbba046097b6a3e145"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): examples/sql/misc/electric_vehicles.py:69-80 | examples/sql/misc/electric_vehicles.py:85-96 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/sql/misc/electric_vehicles.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce4ec64c8e95522d253bbb372e473fefb58b90991aa39ca48e68e9bcb9e9b5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): frontend/e2e-tests/py/output.py:20-29 | marimo/_smoke_tests/output.py:25-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/e2e-tests/py/output.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2f6defa09901a509a58f718c2ca1d8cb0e97f25a21b65f0915fbd9b3e6e086"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): marimo/_smoke_tests/cache_lazy_benchmark.py:32-42 | marimo/_smoke_tests/cache_lazy_benchmark.py:47-57 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/cache_lazy_benchmark.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ea087d6260b4a602ad97d0df13d8aa2d177c3e449bac1a00a32e1f205e764f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): marimo/_smoke_tests/theming/bokeh_theme.py:42-51 | marimo/_smoke_tests/theming/bokeh_theme.py:56-65 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/theming/bokeh_theme.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5080875282436efd26cae9de49593e7736b011c76aab34bae526a78ed0b61db2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): examples/ui/layout.py:30-39 | marimo/_smoke_tests/grid.py:11-20 | marimo/_smoke_tests/layout.py:11-20 \u2014 before extracting anything, compare \u0060examples/ui/layout.py\u0060 and \u0060marimo/_smoke_tests/grid.py\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ui/layout.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dcb772a9e7fe93e51fabcb070ba318a748286306468d95a88c16a1399facd31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): marimo/_smoke_tests/ai/model_check.py:135-141 | marimo/_smoke_tests/ai/model_check.py:153-159 \u2014 both copies are in the same file, so extract the block 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":"marimo/_smoke_tests/ai/model_check.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c40286ad37d248687f23c7101222fad274ab293a5cf910fb2c12bc29b9b8889"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 6): examples/markdown/admonitions.py:9-41 | examples/markdown/details.py:9-87 | frontend/e2e-tests/py/layout_grid_with_sidebar.py:14-58 | marimo/_smoke_tests/markdown/latex_display_math.py:9-39 | marimo/_smoke_tests/markdown/latex_outline.py:9-71 | marimo/_smoke_tests/markdown/sane_lists.py:9-133 \u2014 before extracting anything, compare \u0060examples/markdown/admonitions.py\u0060 and \u0060examples/markdown/details.py\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/markdown/admonitions.py:9\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/markdown/admonitions.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b628912610bbd7a16caf3e25b0ac09bde4e99914eadcc9c6d069489b5549da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (79 lines \u00D7 2): examples/markdown/details.py:9-87 | marimo/_smoke_tests/markdown/sane_lists.py:9-133 \u2014 before extracting anything, compare \u0060examples/markdown/details.py\u0060 and \u0060marimo/_smoke_tests/markdown/sane_lists.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 375 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/markdown/details.py:9\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/markdown/details.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"305f5e19a99d72c6b84aa06d541aaf3f95210070911d76e197dfc5d9176a0d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): examples/running_cells/in_memory_cache.py:9-43 | examples/running_cells/persistent_cache.py:9-43 \u2014 before extracting anything, compare \u0060examples/running_cells/in_memory_cache.py\u0060 and \u0060examples/running_cells/persistent_cache.py\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/running_cells/in_memory_cache.py:9\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/running_cells/in_memory_cache.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdeacb1acf895fc68dbcb684be30791ac1ed0076cfe6b996fb8efde4d8db0004"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 5): marimo/_smoke_tests/latex/latex.py:11-350 | marimo/_smoke_tests/markdown/anchor_links.py:18-72 | marimo/_smoke_tests/markdown/markdown_pymdownx.py:9-229 | marimo/_smoke_tests/markdown/markdown_quotes.py:11-62 | marimo/_smoke_tests/md.py:17-87 \u2014 before extracting anything, compare \u0060marimo/_smoke_tests/latex/latex.py\u0060 and \u0060marimo/_smoke_tests/markdown/markdown_pymdownx.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 1020 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060marimo/_smoke_tests/latex/latex.py:11\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/latex/latex.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"804fac0062732906e10e952a8a4e3f58469a13f6bb3e3b8d4ffa9e2f804fa611"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63 lines \u00D7 3): examples/markdown/details.py:9-87 | marimo/_smoke_tests/markdown/latex_outline.py:9-71 | marimo/_smoke_tests/markdown/sane_lists.py:9-133 \u2014 before extracting anything, compare \u0060examples/markdown/details.py\u0060 and \u0060marimo/_smoke_tests/markdown/sane_lists.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 375 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/markdown/details.py:9\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/markdown/details.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65be805ebbb3bb926970ec296c4dd867f070bacc3612adb331228f45160d6ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (221 lines \u00D7 2): marimo/_smoke_tests/latex/latex.py:11-350 | marimo/_smoke_tests/markdown/markdown_pymdownx.py:9-229 \u2014 before extracting anything, compare \u0060marimo/_smoke_tests/latex/latex.py\u0060 and \u0060marimo/_smoke_tests/markdown/markdown_pymdownx.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 1020 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060marimo/_smoke_tests/latex/latex.py:11\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/latex/latex.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6127a3b0296786858cc7d2cd35b779b277b2935c7806b6b4a74e1005a65291cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 4): marimo/_smoke_tests/latex/latex.py:11-350 | marimo/_smoke_tests/markdown/markdown_pymdownx.py:9-229 | marimo/_smoke_tests/markdown/markdown_quotes.py:11-62 | marimo/_smoke_tests/md.py:17-87 \u2014 before extracting anything, compare \u0060marimo/_smoke_tests/latex/latex.py\u0060 and \u0060marimo/_smoke_tests/markdown/markdown_pymdownx.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 1020 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060marimo/_smoke_tests/latex/latex.py:11\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/latex/latex.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"580a6bf12f155d6eea720e5faae986534df18f01b5b96fc165099796a9efbaa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): marimo/_smoke_tests/theming/custom_css.py:17-51 | marimo/_smoke_tests/theming/custom_head.py:17-45 \u2014 before extracting anything, compare \u0060marimo/_smoke_tests/theming/custom_css.py\u0060 and \u0060marimo/_smoke_tests/theming/custom_head.py\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060marimo/_smoke_tests/theming/custom_css.py:17\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060marimo/_smoke_tests/theming/custom_css.py:51\u0060 calls \u0060number\u0060 and \u0060marimo/_smoke_tests/theming/custom_head.py:48\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":"marimo/_smoke_tests/theming/custom_css.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e955194c5b11971e866b0aa4e54d63d214226d6133ec9124879ebe65dc98d25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): examples/ai/chat/anthropic_example.py:33-38 | examples/ai/chat/deepseek_example.py:48-53 | examples/ai/chat/gemini.py:33-38 | examples/ai/chat/groq_example.py:49-54 | examples/ai/chat/openai_example.py:33-38 | examples/ai/tools/dataset_analysis.py:48-53 | marimo/_smoke_tests/chat/chatbot.py:104-109 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 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 7 times. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ai/chat/anthropic_example.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0236ad7b040413e9045a88fb4ab25e58c4dfc55b595f092941d71aa5722785cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples/ai/data/data_labeler.py:48-57 | examples/ai/data/model_comparison.py:50-59 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ai/data/data_labeler.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3193c95c6afbd6a23a358a340a42ba90477f4591aaa9bb6cd3a83b47b20965e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): examples/ai/tools/chat_with_tools.py:69-81 | examples/ai/tools/dataset_analysis.py:58-70 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ai/tools/chat_with_tools.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d1cf3804a17aac46dc01b99b83945d43d3d3e4eceebb7bdf1b3fa30af570d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): marimo/_smoke_tests/pandas_smoke_tests/pandas_nan.py:53-57 | marimo/_smoke_tests/tables/column-header-chart.py:200-204 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/pandas_smoke_tests/pandas_nan.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9385b44033e0951938daeeaa6979f223a1a74014a3a80f707f2af927c5a0ef42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): marimo/_smoke_tests/process_isolation/app1.py:17-32 | marimo/_smoke_tests/process_isolation/app2.py:17-32 \u2014 before extracting anything, compare \u0060marimo/_smoke_tests/process_isolation/app1.py\u0060 and \u0060marimo/_smoke_tests/process_isolation/app2.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/process_isolation/app1.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7305b4399d57c642c98098613217c337f1f3c7d81e7cdc85c8949e4a9ee1eb1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): marimo/_smoke_tests/sql/sql_alchemy_engine.py:38-66 | marimo/_smoke_tests/sql/sqlmodel_engine.py:53-81 \u2014 before extracting anything, compare \u0060marimo/_smoke_tests/sql/sql_alchemy_engine.py\u0060 and \u0060marimo/_smoke_tests/sql/sqlmodel_engine.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/sql/sql_alchemy_engine.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b293b476abf9f76180043e7115a8d47b5a56a5c22a2d93807a3e3f676875f04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): marimo/_smoke_tests/sql/sql_alchemy_engine.py:134-138 | marimo/_smoke_tests/sql/sqlmodel_engine.py:149-153 \u2014 before extracting anything, compare \u0060marimo/_smoke_tests/sql/sql_alchemy_engine.py\u0060 and \u0060marimo/_smoke_tests/sql/sqlmodel_engine.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/sql/sql_alchemy_engine.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e85d6d89c1f59fd3d84e088ac7a874562878f39eac6a9f52c1ba835f03d18d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): marimo/_smoke_tests/sql/sql_alchemy_engine.py:163-172 | marimo/_smoke_tests/sql/sqlmodel_engine.py:178-187 \u2014 before extracting anything, compare \u0060marimo/_smoke_tests/sql/sql_alchemy_engine.py\u0060 and \u0060marimo/_smoke_tests/sql/sqlmodel_engine.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/sql/sql_alchemy_engine.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"a359a1c5102bbbb10a575644905ddf27e6de67b39707b5168d04f3bc0d7fd341"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @marimo-team/llm-info: @marimo-team/llm-info: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1f18e1a67558c72cd421845d2dc8017af393961b3240268eb992ebe08efb7dae"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @marimo-team/marimo-api: @marimo-team/marimo-api: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"23ee8c9e885d5ad891a8f8d310f81f2c030b16905c539d4c5d03db9c63dd6621"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @marimo-team/smart-cells: @marimo-team/smart-cells: abstractness 0.10, instability 0.00, distance 0.90 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5660c94e91fe51c6d69d109232b64f155084d7f6bc1e64f991a51602fa19fd79"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @marimo-team/client: @marimo-team/client: abstractness 0.26, instability 0.00, distance 0.74 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"10f42f7a29986fb45bc197b28847c14c639fdf3fb2200da26579f923495c295f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UIElement (LCOM4 5): UIElement\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_core/ui_element.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d808933fb8c21e3fee6d2731a6b5996c02f0b5166fedc5d102ce746ead88df2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PyodideBridge (LCOM4 5): PyodideBridge\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_pyodide/pyodide_session.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5130dcfca20b59558e24874907512b6a526ca37358bef131aed7ce847ffb8f"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: date: Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/e2e-tests/components.spec.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"270d883a314e0a6957a9a1f2dd48dc3ee02780871b069eb7a22eaf95707aa621"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: complex - array: Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/e2e-tests/components.spec.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"10af1e728999d524953832c1343cba6387849b7ac0dd09a94069835671706666"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: complex - batch: Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/e2e-tests/components.spec.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09225c55e4906b0332a29c1707885953217adb1476e5a0578e5b4a518ab7786"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: can screenshot and download as html edit: Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/e2e-tests/kitchen-sink-wasm.spec.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f3d20161320546bdaf1a7963ca613d1216100ef469a52ac7c5280478e4b229"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: can screenshot and download as html in run: Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/e2e-tests/kitchen-sink-wasm.spec.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"914da292952da7a40d9fe8a2a461a03fa012bc8875b70d8c4eccb5b9d5dc646a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: can screenshot and download as png: Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/e2e-tests/kitchen-sink.spec.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e27e9281e79620f0d0b6e7b50ac1868e3769a0c4d08d54dd1391b04d42f2c4"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: page renders edit feature in edit mode: Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/e2e-tests/mode.spec.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edb40924ad3e05872619512e2d81db7176a5ebb49d1e4f916807bb321b183e1"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: can bring up the find/replace dialog: Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/e2e-tests/mode.spec.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9477a597fb5542deeed49bb153f347e88ce1d2293a46156d081169bc6b25a4d6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: has a method for each request below a notebook: 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":"packages/client/src/__tests__/notebook-client.test.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ee8f06ddf4706214469f9358fcdee257702565e27745bd86ffcfa5bb21082b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: types each call from the operations table: 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":"packages/client/src/__tests__/notebook-client.test.ts"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"af822e916794374b46357856c51625a96d36a5e19166790bc9e1e0321df89713"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: narrows events to the requested kinds: 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":"packages/client/src/__tests__/notebook-events.test.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36e845a238240ad83d73c8db65d015751c9639eecb77854c509fd5f1ea27214"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: names every operation in the spec: 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":"packages/client/src/__tests__/operations.test.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f21f23a187404a780d69689df43e31fe3b207e8c08b591e3a5c1264e6180d9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: separates cell runs from scratch execution: 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":"packages/client/src/__tests__/protocol.test.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a540abe2095b4b3a42ae4d917a7d217fe75b2692b1091ea541baa7ef0c41dde"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: follows %s theme attributes in both directions: 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/theme/__tests__/islands-theme.test.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b03b1c042af2c25857ebb4fcbc1a28a117705f14a58e24c157d6ac0a464f655"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: matches the declared TypeScript signatures: 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/core/islands/__tests__/main.test.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcf083670b7f3cc640b66e8619acf628d3a4ccaf95d73e5d0d0a23b942440cf"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: waits for an in-flight \u0060initialize\u0060 to settle: This test starts work it did not wait for (\u0060widgetPromise\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((r) =\u003E setTimeout(r, 5))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/anywidget/__tests__/host.test.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c28f0caa46e1563d414db8a0d77520f9891e8c0d857f870a2bff9165345d586"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: tells subscribers why it stopped, unless they left or closed it: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 3 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/__tests__/notebook-events.test.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"746310eeabd9a9a060ed205ffeb8d0a3316a96dd8d4372ec6a828908c0e36030"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: owns each registration of a shared error callback: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/__tests__/notebook-events.test.ts"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca759309ded173fb484517726ad0e047d18237924eb3325a74713cd226237e1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: honors unsubscribe during terminal %s delivery: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/__tests__/notebook-events.test.ts"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"d154903bd0ba5c9285c0de0cc051e8a83dee135533c88f54aa542e8f0337e4ff"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports a throwing error callback and still notifies other subscribers: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 3 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/__tests__/notebook-events.test.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e35cb7e01540eec75048473a24d72af464c6c5f71173ea90b813d2a9b9e82de"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: decodes raw data before stop and delivery, retaining text on parse errors: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/__tests__/notebook-events.test.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"196a17d5b404e9ada19431ceb867c126654b5fbf33a7846258d517bfdd652916"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses image/png on Safari: This test sets up 4 test doubles (for example \u0060vi.spyOn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/utils/__tests__/copy.test.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"369f738472a02adfbbab4974ecca4cf944fbcdbc9c6003765d8d9a47b62d7641"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should use prepare function when provided: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/utils/__tests__/download.test.tsx"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"88862cab755d415be96bf8be9945fdf5d540892ae3eef258df8778819b27b58f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should show error toast if element not found: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/utils/__tests__/download.test.tsx"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b22627276d1ad5b4af431b0bc9df6ab9ad77176868a459bf26c2559fcd755d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves the page origin for hosted CDN workers: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/utils/__tests__/worker.test.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7590241848844a134056f5c1d575cfa2645235e7883dd1c5c2391d8489033338"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: detaches the previous model\u0027s listener on each rerun (no buildup): This test sets up 6 test doubles (for example \u0060vi.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/mpl-interactive/__tests__/MplInteractivePlugin.test.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e006494e45d1d4212ba2053d811a790449664738b65287552ea3a18b66fe6e1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle clipboard read error: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/data-editor/__tests__/glide-utils.test.ts"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce00148b7a95cf112fad2cebef976e6fe0ba935a857b75c89b7d6ccc05e2884"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records the spec from an open message: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/anywidget/__tests__/registry.test.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b65c7b4a8fd40a2f1786a849f3831fe64e72d06786b773d95029b7f903fcb88"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: destroys the generation on a close message: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/anywidget/__tests__/registry.test.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac809c1d70c649e3e203c38709f111b4023177773d549c29a7be7b07e57d4f7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: emits custom messages arriving before getWidget resolves: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/anywidget/__tests__/registry.test.ts"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"2018b3a8a30741081ead3db60014221b0465fab5a0530fc6d8b63e32f0cf66cd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should auto-clear initialize listeners on destroy: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/anywidget/__tests__/widget-binding.test.ts"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06ce511cdc5380a50d476352d87251f99b136a6b7d82545a45cd6db11b61a87"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fire only for changes after mount, never for pre-existing state: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 2 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/anywidget/__tests__/widget-binding.test.ts"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f787710bd8102c0422e82e83139f2a3b5f961711f128f76e8d0e1050d01031"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: clears inputs on submission when clearOnSubmit is true: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/__tests__/FormPlugin.test.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b68587eaf50e6580d0c2634ff4c8245344239cdc9d8866a036906d1bbe6156"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves the base URL of a $name: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/core/__test__/registerReactComponent.test.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c610c074f3222a121ef01b58e61bbd4098ee4e084e205f78aaf908d14bdc56"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should attach event listener to document: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/hooks/__tests__/useEventListener.test.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c4f2752e9885b1cce92518db03fabbbaeaef735181b7bc7b66df53af099506"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should call observe when ref is provided: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/hooks/__tests__/useResizeObserver.test.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f0187a0a562046bacc5edb24008a728da3c60836868f8dfc2282016e21f5d7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should not call observe when ref is not provided: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/hooks/__tests__/useResizeObserver.test.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a341523e2be8a8f54f7b7dd16231323715540696e4541cfbfd2da48530af48cc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should not call observe when skipped: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/hooks/__tests__/useResizeObserver.test.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5742550cf1edea7a224bfcedf29134cfb5589baa38caca0c868880ddd693a0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: disconnect should be called once unmounted: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/hooks/__tests__/useResizeObserver.test.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd837e9ef60f7d78c07344918c494ffe2ba0a16973463fa03e26128a23c6ffea"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: accepts parent paste with text %j: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/vscode/__tests__/vscode-bindings.test.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7a25c6e87549dedb350b69af6bb9b3ab0f51b78781f9036f771df71650a244"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: ignores malformed parent messages without errors: %j: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/vscode/__tests__/vscode-bindings.test.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd04dec0968ce180fccaeaf7e65fe29bdeda56e2e49cef75882047417503d30f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: follows %s: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/session/__tests__/backend.test.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bec36953c3f3cc5ce6ce560578704d38c076a39abee0ef49916ffa113fc88b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports saved changes requiring restart without claiming installation: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/packages/__tests__/useInstallPackage.test.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0246b60bd40c91ab70f20609f29c5a034d9b1239ee7bef989ad0dd8d58e55586"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: subscribes to individual fields and keeps the edit function stable: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 16 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/notebook/document/__tests__/hooks.test.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d13041b5bc75202b833adacd2a1445e104855841f5e19bc03196fcef4ff1d8f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: releases a stopped session before its dependencies %s: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 3 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/islands/worker/__tests__/controller.test.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ee17ca4c6007b7de9ede8387486077db6485de812cc2236534a7012ebc2352"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stops and releases the active session: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/islands/worker/__tests__/controller.test.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e72fcb23b89790b334a39aa0e34f3ed02c5a6a1c90d5825bd1183d40fec8ff3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should catch errors from takeScreenshots and show toast: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/export/__tests__/hooks.test.ts"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f909e8b2a690dd9bebc3c0447d31bde31e1b80826a805182b83baa8b80813f4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should catch errors from updateCellOutputs and show toast: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/export/__tests__/hooks.test.ts"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"411aea615e76273f475762a4ee10fe91967e80fd14974dae9c8c35d0f04600c4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should format all cells in notebook: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/__tests__/format.test.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c237c521154f7bb4afdb19597110a97746072da0f48cba7c3cd71ce5ec019d2f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: tracks whether code is available after Reveal is ready: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/slides/__tests__/reveal-component.test.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cae79285fc7b4a79a45a187a282b0e3a210a1ba1c98983e75da347edfa18066"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should focus cell from URL if scrollTo parameter exists: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/renderers/vertical-layout/__tests__/useFocusFirstEditor.test.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fd51dac2a5cb897a4f30f0ab8ac154b778ec30414d0ba447623a65b56962c8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should not focus when document does not have focus: This test sets up 3 test doubles (for example \u0060vi.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/renderers/vertical-layout/__tests__/useFocusFirstEditor.test.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9642f7efed999049ae6d72a4b2f03d29c768b08296325b37558f0e7d974f8965"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle invalid clipboard data gracefully: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/navigation/__tests__/clipboard.test.ts"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"516d72692daaf6174734c888ac385a1857ef0b4eb7a508acf9effa86f22c4811"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle clipboard data with wrong version: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/navigation/__tests__/clipboard.test.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"082e921aa3e4d6ab158327b04f301add87f4e45fc9c76c5504e85ce032ebd607"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should navigate between columns with arrow keys when canMoveX is true: This test sets up 3 test doubles (for example \u0060vi.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/navigation/__tests__/navigation.test.ts"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3245992701357a1b3c95f53fbfef564c8ad2f80e75032d47dc93ef784eb9489"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should clear text selection when Escape is pressed with selection: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/navigation/__tests__/navigation.test.ts"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4aa122838608132aac313637040bc2fa26a70d0b259b6b2de0fe37221bd6b13"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should collapse multiple cursors on first Escape, then exit to command mode on second Escape: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/navigation/__tests__/navigation.test.ts"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3c0a226d0e7a87ea5552b129aa3b31be86ed7ec9299bb42f9bec7d25e70085"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should close autocomplete popup when Escape is pressed with popup active: This test sets up 6 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/navigation/__tests__/navigation.test.ts"},"region":{"startLine":1855}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ae34f59df36fe5a3c5e4c8bbebf82652ad755cbc385c52e3ebfc33fa56a2fa"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should dismiss the signature hint when Escape is pressed without exiting to command mode: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/navigation/__tests__/navigation.test.ts"},"region":{"startLine":1883}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1e9c2d14d8e30a9c385ec36f547d49465b8ca8702594c07aaae0a603d64f8b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses fetched metadata to offer opening a notebook from a search result: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/file-tree/__tests__/file-viewer.test.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"23078704cf84b2611b9daa5de1998cae5e6f26714a638794a12c692f725db171"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: flattens the primary root when there are no additional roots: This test sets up 7 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/file-tree/__tests__/requesting-tree.test.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b2f61a0459b412aeda0c9e65a4b4e66aff79f439b3efa5adca032d6ebb7889"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: prevents mutations of structural root nodes: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/file-tree/__tests__/requesting-tree.test.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc231f14b9078017fe021ded97657da82d73d0cc04ae77674677bbdc7da19c0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: supports copying, renaming, and deleting files by absolute path: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/file-tree/__tests__/requesting-tree.test.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85c2d24b34bb1c72399339bc4e3f78bfd12945857f38a6b6b1c6f314356045c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not update or refresh after a failed copy: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/file-tree/__tests__/requesting-tree.test.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba0f2f1e2b47364f580c7da7042c6aaaacc9aebb998f5e1d2f26d6282e4e394"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not update or refresh after a failed rename: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/file-tree/__tests__/requesting-tree.test.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38d0d48d88259e475f067511d311ca71d10177a96509b2e63d1097cc0057f53"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not update or refresh after a failed delete: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/file-tree/__tests__/requesting-tree.test.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"0161c6cab9a20c25d3e0e973ab3e5baa04899cb2592b39a2728d8f3ac2f36755"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not update or refresh after a failed move: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/file-tree/__tests__/requesting-tree.test.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbe2024b7a74205b6e8a26e98138775aa3f3f8d4d190211e075d71316a31cfd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: invalidates collapsed copies independently for overlapping roots: This test sets up 7 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/file-tree/__tests__/requesting-tree.test.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c804651365a97b56db330ae03269cc64aed506c0afe1b1b5197c2ceebb836f6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: builds content on click and sends it to all agents: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/errors/__tests__/send-error-report-button.test.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a33897d3658a3f7919946c746e4b7b33d578098f83f482bc4f9c7c0c3c5a38"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: copies partial environment JSON when the environment request fails: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/components/__tests__/feedback-button.test.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f975425359642ef8722d52894701436014811365c368c61945418bea5cf7ed"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: copies raw environment JSON: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/components/__tests__/feedback-button.test.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83491eb8929e319ad1ded74d96d831eb5c9a36767e11eba8de9bd67ed1c1bdd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: infers the full CSV through TablePanel without backend metadata (%s): This test sets up 3 test doubles (for example \u0060vi.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/charts/__tests__/chart-panel.test.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"027e1e25886184d1c3e476cb44cfac0abda32c50407cbefed8b1cdca23e77258"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps dotted CSV columns aligned with the chart encodings (schema: %s): This test sets up 5 test doubles (for example \u0060vi.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/charts/__tests__/chart-panel.test.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18ddba733678a31b85f272d8057b37b2dfb5960475b1d3cdafc1b849daae158"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not export when installation finishes after the widget unmounts: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/__tests__/export-actions.test.tsx"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"905beade64ce330b1f35c9d6c1118948b408097f4dfc34a8c5d38928491b24db"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not export when post-install metadata resolves after unmount: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/__tests__/export-actions.test.tsx"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cf4fe58be9ef50764df6438051231d0f8a7a0a525cc5fe4f8a3e7048db6339"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not export when installation finishes after the source changes: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/__tests__/export-actions.test.tsx"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbe84d043988633aadb661f30520bd62398b2d4e3b4630d239141d1abf15591"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retries after installation when an earlier export succeeded: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/__tests__/export-actions.test.tsx"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48ef9fe9aad9b2de9907b70fefe517dd4c268094d38b1d0f2c10a0e9f1b41ae"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: waits for the post-install metadata check before exporting: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/__tests__/export-actions.test.tsx"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6cdf8f8041537dfaff1a64e6a5129b7261b4e3ea1cbf7ade14ef90c10f22a7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the delimiter but drops the encoding for a CSV copy: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/__tests__/export-actions.test.tsx"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"224a0f5a98c36bb622fb45b8819a9514c30ad58b264e4910204b80c1d0caa6c5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: copies complete geometry text as $label: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/__tests__/export-actions.test.tsx"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab8f7f5887e222ff70ccb49d866bd2b708f9752c8c18404b5e9c2bccd0f1438"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refreshes metadata and keeps the geometry choice after installation: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/__tests__/export-actions.test.tsx"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"a783597964c44fb1cfec75c9fe088107ce48be19a9797893a1711f563ca658df"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves the copy destination and geometry after installation: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/__tests__/export-actions.test.tsx"},"region":{"startLine":2091}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f7dd6d80e982d5a87c4ecd072a801e5e4d64eb70e8718b1f3147f2ac9a7c95"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports %s failures as errors rather than successful output: This test sets up 6 test doubles (for example \u0060vi\n        .spyOn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/chat/__tests__/chat-utils.test.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"5069eecb0cd4c11484324b0c05509f9b15b2a20a953a965321a44b47fb30032f"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: frontend/src/core/codemirror/cells/__tests__/traceback-decorations.test.ts::traceback-decorations unfoldErrorLines should unfold folded regions containing error lines: Passed 2\u00D7, failed 1\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5b1bf5bec8310e53217c16f7d821b14e7da0c37b8a2dacd6e3e67f9e6fe01a67"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c227246e570b2d0ee9425f75a1a9073041b63de869a2e5f3ef81867dfd154d71"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/core/session/useNotebookSession.tsx: frontend/src/core/session/useNotebookSession.tsx changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in useNotebookSession.useNotebookSession.handleNotification at line 127. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/core/session/useNotebookSession.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/core/session/useNotebookSession.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a200f55bba69445768fbb2bee0b30003726b3949b4a9617d8d1b76e567e387"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_runtime/runtime.py: marimo/_runtime/runtime.py changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in Kernel.mutate_graph at line 1279. 8 of those changes were fix/bug commits, and the other 27 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_runtime/runtime.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":"marimo/_runtime/runtime.py"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c674921e285bacdede00b3a7adeb42b3e1f33da9339d7064c0cea49e19bf3ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/data-table/export-actions.tsx: frontend/src/components/data-table/export-actions.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 123 in export-actions.ExportActions at line 355. 2 of those changes were fix/bug commits, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/data-table/export-actions.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/data-table/export-actions.tsx"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fceacb743a5ade3af25244825c392284d79c8a134324558286dcd50254bc7d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/notebook-cell.tsx: frontend/src/components/editor/notebook-cell.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in notebook-cell.EditableCellComponent at line 399. 1 of those changes was a fix/bug commit, and the other 11 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/notebook-cell.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/editor/notebook-cell.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51fc6fabd7e7c1050b186ba09a8edfcbe68579faad2092d242311581ac7fc6b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/chat/chat-panel.tsx: frontend/src/components/chat/chat-panel.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in chat-panel.ChatPanelBody at line 426. 4 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/chat/chat-panel.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/chat/chat-panel.tsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27612ef360b7d30317ad3a4af2b06f5c1bdfa1d0fdfe3281b3c1fe05cf23c5b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/core/notebook/replica/replica.ts: frontend/src/core/notebook/replica/replica.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in replica.createNotebookReplica at line 151. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/core/notebook/replica/replica.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/notebook/replica/replica.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0aa93e66c3b1385fa9ee3afc79ee3265247cecb2677ccf77ade1f9b85e12f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_server/host/backend.py: marimo/_server/host/backend.py changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in SessionBackend._handle_notification at line 522. 1 of those changes was a fix/bug commit, and the other 23 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_server/host/backend.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":"marimo/_server/host/backend.py"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d8f67065c54515d4ca87dd974c5ea001e2b91b5e145fb0b4dd78f6755489bb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_server/host/translate.py: marimo/_server/host/translate.py changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in RunTranslator.feed at line 93. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_server/host/translate.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":"marimo/_server/host/translate.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bb65d58005e97e757dea013be363c49d44d1b16eead444ba2f2dfa23aacd4b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/app-config/user-config-form.tsx: frontend/src/components/app-config/user-config-form.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in user-config-form.UserConfigForm at line 103. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/app-config/user-config-form.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/app-config/user-config-form.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebd7b381e8ab95a481b25ae631f0ee4fdcd970dcc53962848c0585d9bac88b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_session/state/session_view.py: marimo/_session/state/session_view.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in SessionView.add_notification at line 304. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_session/state/session_view.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":"marimo/_session/state/session_view.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"42aed0dc52d6ddbde468e16292a1dca50a4272064030e6cd6b2039f6bce0ceb3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_session/managers/ipc.py: marimo/_session/managers/ipc.py changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in IPCKernelManagerImpl.start_kernel at line 301. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_session/managers/ipc.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":"marimo/_session/managers/ipc.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"c661f8c75d016f1930f01a897d62febfe8616307c73005d088f18297c1ffb5c9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_code_mode/_context.py: marimo/_code_mode/_context.py changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in AsyncCodeModeContext._apply_ops at line 1727. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_code_mode/_context.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":"marimo/_code_mode/_context.py"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf4b3ded5738f9f85cdcba7acd8ef14074da4f4df8206b6e72f0114830b5411"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_core/executions.py: marimo/_core/executions.py changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in Executions.observe at line 306. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_core/executions.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":"marimo/_core/executions.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"2886c59b6de3ca484d5bdc2793133c2aac8c9a78e1dacbdbeb251a1c54959bf0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/chat/acp/agent-panel.tsx: frontend/src/components/chat/acp/agent-panel.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in agent-panel.AgentPanel at line 662. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/chat/acp/agent-panel.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/chat/acp/agent-panel.tsx"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b41c1b34c555a6d302a46ecc9901564bd42a414891bf3dd6ceb814488968b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_plugins/ui/_impl/table.py: marimo/_plugins/ui/_impl/table.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in table.__init__ at line 664. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_plugins/ui/_impl/table.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":"marimo/_plugins/ui/_impl/table.py"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff170af14c896b9c35f6d92bfd6bd58a8844128879b75887112f18c033e0627b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_cli/pair/commands.py: marimo/_cli/pair/commands.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in commands.execute at line 215. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_cli/pair/commands.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":"marimo/_cli/pair/commands.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d2533e01d509261ad233c9ec4fdbbd12dbdec08790144e3c6b59cb1527bcca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/plugins/impl/data-editor/glide-data-editor.tsx: frontend/src/plugins/impl/data-editor/glide-data-editor.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in glide-data-editor.GlideDataEditorInner at line 101. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/plugins/impl/data-editor/glide-data-editor.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/plugins/impl/data-editor/glide-data-editor.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4789b569c9d4a1efbfa936aca7319ecc95c748765882ff9d2bbf0538bb95995"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/file-tree/file-explorer.tsx: frontend/src/components/editor/file-tree/file-explorer.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in file-explorer.FileExplorer at line 111. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/file-tree/file-explorer.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/editor/file-tree/file-explorer.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1c9651d071c37bd4e17c90f2b778159740af80363025fb72930880366cbd34"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/cell/code/cell-editor.tsx: frontend/src/components/editor/cell/code/cell-editor.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in cell-editor.CellEditorInternal at line 100. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/cell/code/cell-editor.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/editor/cell/code/cell-editor.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"467757cc297e6b8402f90a23f40ba522ca93c5d1a8996444879c8808503fbad9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_save/loaders/lazy.py: marimo/_save/loaders/lazy.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in LazyLoader.restore_cache at line 1160. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_save/loaders/lazy.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":"marimo/_save/loaders/lazy.py"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1652974186e29fc79ab2d0856b331d439d039f56ae54ff0f407e4f62fa8564b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/plugins/impl/chat/chat-ui.tsx: frontend/src/plugins/impl/chat/chat-ui.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in chat-ui.Chatbot at line 141. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/plugins/impl/chat/chat-ui.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/plugins/impl/chat/chat-ui.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f7563910ef19f1be462c0c6e12bc1af8e57366154feafa4a06cf5ecdaf07aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_server/api/endpoints/ai.py: marimo/_server/api/endpoints/ai.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in ai.list_provider_models at line 131. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_server/api/endpoints/ai.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":"marimo/_server/api/endpoints/ai.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"449797668bd4efca70a6272b376d5c5ba2045e939adbb4f99ae943e5bf961288"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_runtime/runner/cell_runner.py: marimo/_runtime/runner/cell_runner.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in Runner._run_result_from_exception at line 396. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_runtime/runner/cell_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":"marimo/_runtime/runner/cell_runner.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"9075cf76ced28f035c142b1707bfdf0a9c20074afcf0110c9e6cd0acec88ff32"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/slides/reveal-component.tsx: frontend/src/components/slides/reveal-component.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in reveal-component.RevealSlidesComponent at line 472. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/slides/reveal-component.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/slides/reveal-component.tsx"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"cace8dbb969a756b5f28a050c4bee490d7399e81f7271b18981a0a537b76327a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_templates.py: marimo/_templates.py changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in _templates.notebook_page_template at line 303. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_templates.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":"marimo/_templates.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"989a0f4e2f83702b06d92bd6bbff2df27043c4601d50f8599fd4c8469bd43a9e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/data-table/columns.tsx: frontend/src/components/data-table/columns.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in columns.renderCellValue at line 612. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/data-table/columns.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/data-table/columns.tsx"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"083a4e78b76712064af3b0dff1d5f1bd9fbfc730ac13a1ede0f64041bdb15b1a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_config/manager.py: marimo/_config/manager.py changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in EnvVarReader.read at line 460. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_config/manager.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":"marimo/_config/manager.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1d9fd270180e24181c8693f337992639890974df828528dfccc2a2af251183"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/plugins/impl/MatrixPlugin.tsx: frontend/src/plugins/impl/MatrixPlugin.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in MatrixPlugin.MatrixComponent at line 97. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/plugins/impl/MatrixPlugin.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/plugins/impl/MatrixPlugin.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d643edaa46ab9dad8775ce35a14c409d47176195c4ba18ae416de03662854ca0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_cli/sandbox.py: marimo/_cli/sandbox.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in sandbox.run_in_sandbox at line 424. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_cli/sandbox.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":"marimo/_cli/sandbox.py"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa50b5b4f1348b0c96453b78a4ef5c0607b7a018ce20a0dc4d23ea00f5e58a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/plugins/impl/DataTablePlugin.tsx: frontend/src/plugins/impl/DataTablePlugin.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in DataTablePlugin.DataTableComponent at line 862. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/plugins/impl/DataTablePlugin.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/plugins/impl/DataTablePlugin.tsx"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e6be4eb4e1f744214fb5196f33cf2a252c3a043becc9a9b7a0b43345f3fdb7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/chrome/wrapper/app-chrome.tsx: frontend/src/components/editor/chrome/wrapper/app-chrome.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in app-chrome.AppChrome at line 96. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/chrome/wrapper/app-chrome.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/editor/chrome/wrapper/app-chrome.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc860034799a36f3bbd55e5a42a126f66c31b8f641b2433cca9e8104e0c68f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/app-config/ai-config.tsx: frontend/src/components/app-config/ai-config.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ai-config.AddModelForm at line 1675. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/app-config/ai-config.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/app-config/ai-config.tsx"},"region":{"startLine":1675}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2b413eae4ea9726a2ed1c658ac6199223284da1d97e9f2de626761e4a4b590"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/stories/runtime-story.tsx: frontend/src/stories/runtime-story.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in runtime-story.RuntimeStory at line 225. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/stories/runtime-story.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/stories/runtime-story.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef01a6e116413d51b38d6b32dcf1101478b4beab05c9df1212130a9fc519e30a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/datasources/datasources.tsx: frontend/src/components/datasources/datasources.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in datasources.DatasetTableItem at line 817. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/datasources/datasources.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/datasources/datasources.tsx"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"60eac9692e923b312445ffc30b217b0f8ad82c5df66e3df21d8fe058c32b898c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_cli/cli.py: marimo/_cli/cli.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in cli.run at line 1072. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_cli/cli.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":"marimo/_cli/cli.py"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f623784e21edcc3ee81710c6705874cfe30c7a891cd1eda68ce414a5f3f428"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_server/start.py: marimo/_server/start.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in start.start at line 188. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_server/start.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":"marimo/_server/start.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b33b2d7d04c4c367914576644dca2609e53c1485ed79b153869f470bf1c8e0c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_cli/export/commands.py: marimo/_cli/export/commands.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in commands.html_wasm at line 1043. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_cli/export/commands.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":"marimo/_cli/export/commands.py"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8cf0a407483170621eea291c74610a75166e544ff0939fea1d030a3f1309b13"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/actions/useNotebookActions.tsx: frontend/src/components/editor/actions/useNotebookActions.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in useNotebookActions.useNotebookActions at line 113. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/actions/useNotebookActions.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/editor/actions/useNotebookActions.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52ab9839e7dc98094c2792206f28b54ae60c69ffa2b8187258a5023272352c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/plugins/impl/SliderPlugin.tsx: frontend/src/plugins/impl/SliderPlugin.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in SliderPlugin.SliderComponent at line 141. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/plugins/impl/SliderPlugin.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/plugins/impl/SliderPlugin.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"669f3acb4fafc357b2f4256b7f6974933d70b908a4bd8f405b7c6c4eeeb5f034"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/output/MarimoErrorOutput.tsx: frontend/src/components/editor/output/MarimoErrorOutput.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in MarimoErrorOutput.MarimoErrorOutput at line 107. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/output/MarimoErrorOutput.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/editor/output/MarimoErrorOutput.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52d958d3d5a5db879281adce586e24226c5309f089cc24c7c331bee6dcb06a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py: marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in print_code.python_print_polars at line 304. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_plugins/ui/_impl/dataframes/transforms/print_code.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":"marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20eb37dd6b7593d886448e1284af276bad35ce1d66c928d7f4e46e17d18256b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/ai/ai-completion-editor.tsx: frontend/src/components/editor/ai/ai-completion-editor.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in ai-completion-editor.AiCompletionEditor at line 85. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/ai/ai-completion-editor.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/editor/ai/ai-completion-editor.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e9d79e67b671bc47aec12a3646986a9462b1b9310a6bdcd71eb3174042d73f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_ast/visitor.py: marimo/_ast/visitor.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in ScopedVisitor.generic_visit at line 485. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_ast/visitor.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":"marimo/_ast/visitor.py"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb1aefb6623ea1817b90f2968704087117826c31e51d6701abf3c368925f9e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/navigation/navigation.ts: frontend/src/components/editor/navigation/navigation.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in navigation.useCellNavigationProps at line 192. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/navigation/navigation.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/navigation/navigation.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3524642829d3280c05233d65b3c4b6b324844abddbb4c6212e827373fa6482"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_ast/sql_visitor.py: marimo/_ast/sql_visitor.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in sql_visitor.find_sql_defs at line 167. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_ast/sql_visitor.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":"marimo/_ast/sql_visitor.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b97cc61760288c007e7f2250243d02ae074f3031d0a1bc9931c8d45126ce6f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/plugins/impl/FileBrowserPlugin.tsx: frontend/src/plugins/impl/FileBrowserPlugin.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in FileBrowserPlugin.FileBrowser at line 191. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/plugins/impl/FileBrowserPlugin.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/plugins/impl/FileBrowserPlugin.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"af168936444d1a25763e411215443fb6ef26c69910dfa80d06a0c17d43c2653b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_plugins/ui/_impl/tables/narwhals_table.py: marimo/_plugins/ui/_impl/tables/narwhals_table.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in NarwhalsTableManager._get_stats_internal at line 547. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_plugins/ui/_impl/tables/narwhals_table.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":"marimo/_plugins/ui/_impl/tables/narwhals_table.py"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb613e39aeb05906b3165fdc6a7f9aaae240a39828cb36b5563a24a1e153181"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/package-alert.tsx: frontend/src/components/editor/package-alert.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in package-alert.PackageAlert at line 106. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/package-alert.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/editor/package-alert.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b396467a0c2431593c46b36bececbe98154fc8f09983eb6e5ca20efa8e8b3c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_server/scratchpad.py: marimo/_server/scratchpad.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in ScratchCellListener.on_notification_sent at line 114. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_server/scratchpad.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":"marimo/_server/scratchpad.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00c5872935ba74806083bb8436f6d7f40b8c3e07d5139b40915ef7f8ed13559"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/actions/useCellActionButton.tsx: frontend/src/components/editor/actions/useCellActionButton.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in useCellActionButton.useCellActionButtons 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/actions/useCellActionButton.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/editor/actions/useCellActionButton.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a29443e37d282247f19871f0fd76e248f903671f54ce930a3a0ab0d72a45e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/data-table/column-summary/chart-spec-model.tsx: frontend/src/components/data-table/column-summary/chart-spec-model.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in ColumnChartSpecModel.getVegaSpec at line 208. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/data-table/column-summary/chart-spec-model.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/data-table/column-summary/chart-spec-model.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"60116ede1f1474b3eb08c79f888d821080dba9911b791c1393c15441b4c3e72d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/chrome/components/feedback-button.tsx: frontend/src/components/editor/chrome/components/feedback-button.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in feedback-button.FeedbackModal at line 109. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/chrome/components/feedback-button.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/editor/chrome/components/feedback-button.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adb635483c78f7f146ed32dd072ec061b62c2414d0327942a2dc26f89d1c041"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_ast/codegen.py: marimo/_ast/codegen.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in codegen.format_markdown at line 208. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_ast/codegen.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":"marimo/_ast/codegen.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16a58a4eab72febdeacd32f6b076ffa8b59deb78f110d47df19dc92aeb71627"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_core/document.py: marimo/_core/document.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Document.apply at line 274. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_core/document.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":"marimo/_core/document.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcc33d034c67db62a7774c78a95351747ddb1bedd0a37809826683816a4f227"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/core/cells/actions.ts: frontend/src/core/cells/actions.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in actions.deleteCellsAtom at line 443. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/core/cells/actions.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/cells/actions.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"68791335edfa96c2627d0a17cf02c3080f8e168fc90fb9681ab3363f1eb2afc3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/plugins/impl/data-editor/glide-utils.ts: frontend/src/plugins/impl/data-editor/glide-utils.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in glide-utils.pasteCells at line 120. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/plugins/impl/data-editor/glide-utils.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/data-editor/glide-utils.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c53cf595c53cb22d973c9ed3dda7e2e89384258fad92328dfd416e2de4a7db"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/actions/pair-with-agent-modal.tsx: frontend/src/components/editor/actions/pair-with-agent-modal.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in pair-with-agent-modal.PairWithAgentModal at line 50. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/actions/pair-with-agent-modal.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/editor/actions/pair-with-agent-modal.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3501e8a04716a8693640d25743b039d551169c6fd2fa25f966a1e29688271b05"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/alerts/connection-notice.tsx: frontend/src/components/editor/alerts/connection-notice.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in connection-notice.ConnectionNotice at line 20. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/alerts/connection-notice.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/editor/alerts/connection-notice.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cc4a7561711a710304d1df6313bdc5fe8c0b4948eb8456f839ea0deb12197d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/file-tree/file-viewer.tsx: frontend/src/components/editor/file-tree/file-viewer.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in file-viewer.FileViewer at line 42. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/file-tree/file-viewer.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/editor/file-tree/file-viewer.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bb579268386fd140bca43e353988fd21b9a779ec67b496381a4709b6410ce0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_plugins/ui/_impl/tables/geometry_export.py: marimo/_plugins/ui/_impl/tables/geometry_export.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in geometry_export._describe_export_source at line 221. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_plugins/ui/_impl/tables/geometry_export.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":"marimo/_plugins/ui/_impl/tables/geometry_export.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0488996ee308eb01022b759948b4915d99ee677a2710089abf92340372d1ee2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/plugins/core/registerReactComponent.tsx: frontend/src/plugins/core/registerReactComponent.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in registerReactComponent.registerReactComponent at line 331. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/plugins/core/registerReactComponent.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/plugins/core/registerReactComponent.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd629a9d431d925d758a6afb085919d85fa4bcbbaef6f9ff1703cbffd6d5c93"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_runtime/callbacks/packages.py: marimo/_runtime/callbacks/packages.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in PackagesCallbacks.install_missing_packages at line 244. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_runtime/callbacks/packages.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":"marimo/_runtime/callbacks/packages.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7de324b5d661b3a91db65220735067a77857701d17b70129e695eadd1bba909"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/core/notebook/document/sync.ts: frontend/src/core/notebook/document/sync.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in sync.createDocumentSync.drain at line 244. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/core/notebook/document/sync.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/notebook/document/sync.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fd544b4f4127bac3f5cc07eb6d54c6ea080d25dca8ce8e7bfbb95a650467b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/data-table/data-table.tsx: frontend/src/components/data-table/data-table.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in data-table.DataTableInternal at line 137. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/data-table/data-table.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/data-table/data-table.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"455fe22477a881ce654098f01205f7971a1fc266b5e24feba61c1cb0e012a37f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_cli/pair/client.py: marimo/_cli/pair/client.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in client.list_sessions at line 482. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_cli/pair/client.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/pair/client.py"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"455ed0c107441b0ef62f2139c0f7186e22baae1dd38d8c692bd6963478af40b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/core/ai/tools/edit-notebook-tool.ts: frontend/src/core/ai/tools/edit-notebook-tool.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in EditNotebookTool.handler at line 86. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/core/ai/tools/edit-notebook-tool.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/ai/tools/edit-notebook-tool.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0231afa544452e6447ee10dd83ecec0dd378216e0dd38b29f059f4449f515f98"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_runtime/runner/hooks_post_execution.py: marimo/_runtime/runner/hooks_post_execution.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in hooks_post_execution._broadcast_outputs at line 311. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_runtime/runner/hooks_post_execution.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runner/hooks_post_execution.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdffec94ca29fb7340e2248204a7b4f6ea15a2545378f89231ec7bbd38bc1477"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/Output.tsx: frontend/src/components/editor/Output.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in Output.OutputRenderer at line 78. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/Output.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/editor/Output.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f103cede5eaa795b69aaace4c7ebc1fb4ca5f39616f056ef136b7075d1bcb9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_server/session_manager.py: marimo/_server/session_manager.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in SessionManager.create_session at line 218. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_server/session_manager.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":"marimo/_server/session_manager.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5dc16ee3c70dab2354b8e7223b87491710bad45cf34db94c4662dbbfb5cb01e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_plugins/ui/_impl/data_editor.py: marimo/_plugins/ui/_impl/data_editor.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in _EditableTable._apply_column_edit at line 399. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_plugins/ui/_impl/data_editor.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":"marimo/_plugins/ui/_impl/data_editor.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"1787d24a0b20cf6d0acc6e4937097a9ccba4087f71aab410c1bdb91183cb99bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/output/MarimoTracebackOutput.tsx: frontend/src/components/editor/output/MarimoTracebackOutput.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in MarimoTracebackOutput.MarimoTracebackOutput at line 64. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/output/MarimoTracebackOutput.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/editor/output/MarimoTracebackOutput.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcc163a8b1927dcdf638e2c96ca792bed4e57e808529c8396b11773f3a59d90"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/chrome/panels/packages-panel.tsx: frontend/src/components/editor/chrome/panels/packages-panel.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in packages-panel.DependencyTreeNode at line 521. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/chrome/panels/packages-panel.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/editor/chrome/panels/packages-panel.tsx"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"d438453aa54e602310014ce3ffb0367657f4d3ce4ac2058846754ff7a04fc506"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/client/src/request.ts: packages/client/src/request.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in request.request at line 271. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- packages/client/src/request.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/request.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e814ff22681278ca5e2bebfa54b1a29e14b4e53ce2bd95cfa05a6b4017b6538"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/core/network/connection-notice.ts: frontend/src/core/network/connection-notice.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in connection-notice.connectionNoticeAtom at line 22. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/core/network/connection-notice.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/network/connection-notice.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4f1a69670b7aa3bca8302cf05482103937d0c0749d291baf68c91bd894b665"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_runtime/reload/module_watcher.py: marimo/_runtime/reload/module_watcher.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in module_watcher.watch_modules at line 167. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_runtime/reload/module_watcher.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":"marimo/_runtime/reload/module_watcher.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a703d0eee5e32bddea65f08d7cfe38315c0c693ea20bb047380a12423f72b467"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_session/state/serialize.py: marimo/_session/state/serialize.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in serialize.deserialize_session at line 253. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_session/state/serialize.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":"marimo/_session/state/serialize.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"877e2cd17f73bab1feeaa7076df39fe3b1deaf2720f21d3bd3526425abbac435"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/data-table/row-viewer-panel/row-viewer.tsx: frontend/src/components/data-table/row-viewer-panel/row-viewer.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in row-viewer.RowViewerPanel at line 60. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/data-table/row-viewer-panel/row-viewer.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/data-table/row-viewer-panel/row-viewer.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c71d791c18418287e5c3a18fe83a156f36f8ee6e1793671d1ece31498954b40"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/data-table/charts/charts.tsx: frontend/src/components/data-table/charts/charts.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in charts.TablePanel at line 94. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/data-table/charts/charts.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/data-table/charts/charts.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4f887ab3ee2160d60fcabfb5f33783674d58a00db0748e325f91d52564b0fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_save/cache_dirs.py: marimo/_save/cache_dirs.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in cache_dirs._delete_block_entries at line 713. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_save/cache_dirs.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":"marimo/_save/cache_dirs.py"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2fee45c29abae347afac1427f924ed1e7c4f4eb13070ced376be9f222637a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/chrome/wrapper/pending-ai-cells.tsx: frontend/src/components/editor/chrome/wrapper/pending-ai-cells.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in pending-ai-cells.PendingAICells at line 24. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/chrome/wrapper/pending-ai-cells.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/editor/chrome/wrapper/pending-ai-cells.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"192aaf033fffa5ea22cf52bcd5ac8f0473758b6830af6c6d7b28e77a88e98f77"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/chrome/wrapper/footer-items/backend-status.tsx: frontend/src/components/editor/chrome/wrapper/footer-items/backend-status.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in backend-status.BackendConnectionStatus at line 35. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/chrome/wrapper/footer-items/backend-status.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/editor/chrome/wrapper/footer-items/backend-status.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4318ca0e189497fc8530fde220034225dc5d6338f9a2b20dc04e895b2431f9a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/slides/minimap.tsx: frontend/src/components/slides/minimap.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in minimap.SlidesMinimap at line 221. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/slides/minimap.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/slides/minimap.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"342ac3e12a49700c7cb9338a211d0ed893ed0006125475cf3c5976da52de379d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/renderers/grid-layout/grid-layout.tsx: frontend/src/components/editor/renderers/grid-layout/grid-layout.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in grid-layout.GridLayoutRenderer 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/renderers/grid-layout/grid-layout.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/editor/renderers/grid-layout/grid-layout.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6a5d914bea28f5d7e7ae15015b30dc97abe9b9ef40659e49832bdae187e030"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_runtime/primitives.py: marimo/_runtime/primitives.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in primitives.is_data_primitive at line 60. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_runtime/primitives.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":"marimo/_runtime/primitives.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f476e0cfa57e84d0c5cb0d8abf73066f0bd2b9a89f3afb1de6a2c2415ca4ab0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/plugins/impl/data-frames/DataFramePlugin.tsx: frontend/src/plugins/impl/data-frames/DataFramePlugin.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in DataFramePlugin.DataFrameComponent at line 193. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/plugins/impl/data-frames/DataFramePlugin.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/plugins/impl/data-frames/DataFramePlugin.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"096b00a45a7109d1283b549cfd1aa435d7aa4e328e971cba8c4bb51e536466b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_convert/ipynb/from_ir.py: marimo/_convert/ipynb/from_ir.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in from_ir._convert_output_to_ipynb at line 317. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_convert/ipynb/from_ir.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":"marimo/_convert/ipynb/from_ir.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb8b5e819106de74b2710a305cab13234ed10527fefe4425884f22391d0d6bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_data/get_datasets.py: marimo/_data/get_datasets.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in get_datasets._db_type_to_data_type at line 538. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_data/get_datasets.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":"marimo/_data/get_datasets.py"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"369d8fc52b2841fe1b7d662bf25a0304edaeebaaa72eb17495713f8f2e9a9421"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/client/src/transport/sse.ts: packages/client/src/transport/sse.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in sse.sse.\u003Creturned closure\u003E at line 104. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- packages/client/src/transport/sse.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/transport/sse.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfc88f74df82e8ccf8625009a90815c67a6a8ab2feab15f39687e943c0a80f3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/data-table/renderers.tsx: frontend/src/components/data-table/renderers.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in renderers.DataTableBody at line 90. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/data-table/renderers.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/data-table/renderers.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32d4e9a5c97f20a406ce7797bd6646e826cb0a13ac494325f161d7cacb8a92b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/chat/chat-display.tsx: frontend/src/components/chat/chat-display.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in chat-display.renderUIMessage at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/chat/chat-display.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/chat/chat-display.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e018e6ab34b5d606cab6861b66f23800059da4952e06f947815eef53c8d018d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/data-table/column-formatting/feature.ts: frontend/src/components/data-table/column-formatting/feature.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in feature.applyFormat at line 146. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/data-table/column-formatting/feature.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/column-formatting/feature.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ed454eefb753f079ad0d347ca423845d0922f1c4733b52a8c2c09257b895b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/data-table/column-visibility-dropdown.tsx: frontend/src/components/data-table/column-visibility-dropdown.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in column-visibility-dropdown.ColumnVisibilityDropdown at line 50. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/data-table/column-visibility-dropdown.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/data-table/column-visibility-dropdown.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"491de13f1ca8bc2cce27c7e88d029f7bd5f2f4d351ec8c4b701d3c28e29f6183"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: marimo/_runtime/reload/autoreload.py: marimo/_runtime/reload/autoreload.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ModuleReloader._check at line 349. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_runtime/reload/autoreload.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":"marimo/_runtime/reload/autoreload.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fc4c31b97fe51992f67d3d823255ac1cdc90afc83910af2ae8156745b490e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/core/codemirror/lsp/notebook-lsp.ts: frontend/src/core/codemirror/lsp/notebook-lsp.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in NotebookLanguageServerClient.textDocumentRename at line 661. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/core/codemirror/lsp/notebook-lsp.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/lsp/notebook-lsp.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e517840c838c861fe513ff6a395a2fb3d2155cb8effaaecca28cc7e970119a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/cell/CellStatus.tsx: frontend/src/components/editor/cell/CellStatus.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in CellStatus.CellStatusComponent at line 36. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/cell/CellStatus.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/editor/cell/CellStatus.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"207d8ecf315b2009f7f2934e8563cbfef2de0bf5d4c1c2609b7346851caa789a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/cell/cell-context-menu.tsx: frontend/src/components/editor/cell/cell-context-menu.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in cell-context-menu.CellActionsContextMenu at line 51. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/cell/cell-context-menu.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/editor/cell/cell-context-menu.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1ac2e8a4f8c7006900b8779b332354fccf5de6e5d01f7c0524e45bbbb630a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/datasources/column-preview.tsx: frontend/src/components/datasources/column-preview.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in column-preview.DatasetColumnPreview at line 40. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/datasources/column-preview.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/datasources/column-preview.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"83239bc62977ddd123edd2a0d71aba98f6182bb575972e03e01ff8e9171c13f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/data-table/column-summary/column-summary.tsx: frontend/src/components/data-table/column-summary/column-summary.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in column-summary.TableColumnSummary at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/data-table/column-summary/column-summary.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/data-table/column-summary/column-summary.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5698360e06c0b327c1c7db6d84ed8ee992e6ad6afa0f18fe43dd4f3cf00d2c53"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/editor/chrome/panels/runtime-panel.tsx: frontend/src/components/editor/chrome/panels/runtime-panel.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in runtime-panel.RuntimeDetails at line 116. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/editor/chrome/panels/runtime-panel.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/editor/chrome/panels/runtime-panel.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab6bf23fd16658c47a5e0c0052914531759faea694a389de31caf9c98c9d4a2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/core/executions/freshness.ts: frontend/src/core/executions/freshness.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in freshness.freshnessOf at line 75. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/core/executions/freshness.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/executions/freshness.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"389426d893f2a68c4219fe5c85ad935bfd057a75ae4169dc17b7126ac7e176c6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: marimo/_server/ai/providers.py: marimo/_server/ai/providers.py changed 12 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is OpenAIClientMixin.get_openai_client at line 597), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: preserve chat prompt caching across notebook edits (#11790)\u201D; \u201Cfix: preserve AI provider routing with newer SDKs (#11466)\u201D; \u201Cfix: preserve generic OpenAI provider for shared endpoints (#11499)\u201D; \u201Cfix: allow AI code generation with deepseek-flash (#11461)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_server/ai/providers.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":"marimo/_server/ai/providers.py"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b5c90a583efc0f58d5ad623f6350969acd1f8e6921b501fa70a8470a8bdbee"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: marimo/_server/lsp.py: marimo/_server/lsp.py changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is BaseLspServer._start_internal at line 91), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: use the detected package manager in install hints (#11846)\u201D; \u201Cfix: launch helper python -m subprocesses with -P (#11860)\u201D; \u201Cfix: probe LSP ports on loopback to avoid Windows firewall prompts (#11579)\u201D; \u201Cfix: detect ty language server on PATH (#11321)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_server/lsp.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":"marimo/_server/lsp.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fca54233d41dd616eb6cd911645c69bde8c9a000577619ff93563056b46a50"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: marimo/_runtime/app/script_runner.py: marimo/_runtime/app/script_runner.py changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is AppScriptRunner.run at line 256), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: stop script mode from importing matplotlib on startup (#11590)\u201D; \u201Cfix(cache): finish manifest lifecycle cleanup (#11497)\u201D; \u201Cfix: populate the cell cache when a notebook runs as a script (#11369)\u201D; \u201Cfix: stop applying the notebook theme to plotting libraries (#11147)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_runtime/app/script_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":"marimo/_runtime/app/script_runner.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"51984a26ade2d43ee6ab6034b7e33d029ce33c47fd12eb6f23a6275c48df8cc9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: marimo/_server/api/middleware.py: marimo/_server/api/middleware.py changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is ProxyMiddleware.__call__ at line 558), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: apply origin settings to WebSocket connections (#11621)\u201D; \u201Cfix: trace the full HTTP response lifecycle (#11050)\u201D; \u201Cfix: secure language server websocket listeners (#10979)\u201D; \u201Cfix: keep marimo running when tracing dependencies are missing (#10758)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_server/api/middleware.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":"marimo/_server/api/middleware.py"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79c0674639f5711ce66d72b748e43b7eef0b40d0739cb2ed1ac985a27c26c72"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: marimo/_sql/utils.py: marimo/_sql/utils.py changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is utils.convert_to_output at line 245), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: use the detected package manager in install hints (#11846)\u201D; \u201Cfix: adapt DuckDB relation and result handling for 2.0 (#11525)\u201D; \u201Cfix: report SQL errors during automatic dataframe conversion (#11247)\u201D; \u201Cfix: normalize Unicode DuckDB SQL error locations (#11151)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_sql/utils.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_sql/utils.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aaa24e0a704bf2709ea1c2b04a3c2a268bf49c7585068a3a8b400a3db6a7755"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: marimo/_sql/engines/duckdb.py: marimo/_sql/engines/duckdb.py changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is DuckDBEngine._load_table_details at line 430), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: adapt DuckDB relation and result handling for 2.0 (#11525)\u201D; \u201Cfix: restore DuckDB 2.0 default database and schema discovery (#11515)\u201D; \u201Cfix(sql): preserve nested schema paths in datasource browsing (#11458)\u201D; \u201Cfix(sql): honor DuckDB discovery settings (#11007)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_sql/engines/duckdb.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":"marimo/_sql/engines/duckdb.py"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a08cb533300f8accde3a72b98b284f843aa28cb86ec387f94839aaba762952c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: marimo/_sql/parse.py: marimo/_sql/parse.py changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is parse._parse_sql_duckdb at line 97), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: adapt DuckDB relation and result handling for 2.0 (#11525)\u201D; \u201Cfix: align diagnostics after multiline SQL placeholders (#11224)\u201D; \u201Cfix: align SQL interpolation error offsets (#11159)\u201D; \u201Cfix: normalize Unicode DuckDB SQL error locations (#11151)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_sql/parse.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":"marimo/_sql/parse.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33f5667d6e94bee5c8d3754031f4f80eca22ef45af1b6723e1a709a651cfc4f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: marimo/_plugins/ui/_impl/dates.py: marimo/_plugins/ui/_impl/dates.py changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is datetime.__init__ at line 238), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ui): handle empty series initializers (#11319)\u201D; \u201Cfix: normalize datetime inputs in date widgets (#11289)\u201D; \u201Cfix(dates): date_range default respects a single supplied bound (#10649)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_plugins/ui/_impl/dates.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":"marimo/_plugins/ui/_impl/dates.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"64114658d46edc14057b452014f08b1b31fee788df637b0d572e1c667acb03af"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: marimo/_export/_pdf_raster.py: marimo/_export/_pdf_raster.py changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is _pdf_raster._collect_raster_targets at line 204), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: preserve native math in WebPDF HTML outputs (#11831)\u201D; \u201Cfix: run Playwright exports on a Proactor loop on Windows (#11491)\u201D; \u201CFix PDF export for bare Altair charts (#11557)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_export/_pdf_raster.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":"marimo/_export/_pdf_raster.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f2a7913c027cece4e9b5286477942447f1d1b36e3f4b9d4d7ffbdf99ecf7fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: frontend/playwright.config.ts: frontend/playwright.config.ts changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is getAppUrl at line 79), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: improve slider width and decimal precision (#11797)\u201D; \u201Cfix: preserve slide layouts across display resolutions (#11502)\u201D; \u201Ctest: add visual regression harness (#10670)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/playwright.config.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/playwright.config.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd188355ab26baf8d6ee3bb5ca05ae7003d5ff91c22f42e170e4f42f84d3115"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: marimo/_plugins/stateless/audio.py: marimo/_plugins/stateless/audio.py changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is audio.get_resolved_src at line 61), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(audio): resolve Safari audio controls blur in scroll containers (\u2026 (#11216)\u201D; \u201Cfix(media): support pathlib.Path in mo.video and mo.audio (#11262)\u201D; \u201Cfix(audio): avoid division by zero when normalizing silence (#11101)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- marimo/_plugins/stateless/audio.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":"marimo/_plugins/stateless/audio.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7256a75c304a46fce0d0e012ce92478edd7675d3c1aa2dd6b57f152ebca605"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: frontend/src/components/ui/fullscreen.tsx: frontend/src/components/ui/fullscreen.tsx changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is fullscreen.closestThroughShadowDOMs at line 215), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: keep full screen open for elements inside plugin shadow roots (#11812)\u201D; \u201Cfix: speed up notebook rendering by tracking fullscreen state (#11676)\u201D; \u201Cfix: add an exit control to fullscreen cell output (#10769)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/components/ui/fullscreen.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/ui/fullscreen.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00cdab297489c78964a6ddc9a43ed7eb2082a1924d277fd63fd3c14ca0781d7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: frontend/src/hooks/useEventListener.ts: frontend/src/hooks/useEventListener.ts changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is useEventListener.isRefObject at line 15), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: keep debounce callbacks typed without any (#11404)\u201D; \u201Cfix: preserve window listeners with current anchors (#11272)\u201D; \u201Cfix: add an exit control to fullscreen cell output (#10769)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:48:14 -05:00\u0027 --until=\u00272026-11-16 17:48:14 -05:00\u0027 --full-history --no-merges -- frontend/src/hooks/useEventListener.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/hooks/useEventListener.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dff591068fd8b78dd362ca1bb6b148171955bede2da6910479314f27a3d2c4d"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 48 significant file(s) lose their only recent owner: marimo/_save/cache_dirs.py, marimo/_server/host/bridge.py, marimo/_core/executions.py, marimo/_environments/script_metadata.py, marimo/_server/host/translate.py, marimo/_environments/backends.py, marimo/_server/host/backend.py, marimo/_save/signing.py (\u002B40 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f2e40402f19e8a65d2b22bfa714e4a4e838e43e5966afba8cd5dc28d640b83b5"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 35 significant file(s) lose their only recent owner: frontend/src/components/storage/storage-inspector.tsx, marimo/_smoke_tests/sql/catalog_children.py, frontend/src/components/slides/slide-form.tsx, scripts/check_ai_sdk_compatibility.py, packages/llm-info/src/sync-models.ts, marimo/_smoke_tests/sql/duckdb_discovery.py, frontend/src/components/data-table/charts/components/chart-items.tsx, marimo/_sql/parse.py (\u002B27 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b9f2fdd517f670f31ba141479dce394397977292cc4c9423bf52278bf61a26ea"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 15 significant file(s) lose their only recent owner: frontend/src/plugins/impl/vega/make-selectable.ts, frontend/src/core/codemirror/copilot/language-server.ts, frontend/src/core/lsp/transport.ts, marimo/_smoke_tests/custom_server/my_server.py, frontend/src/components/editor/controls/command-palette.tsx, marimo/_runtime/runner/hooks.py, frontend/src/plugins/impl/plotly/usePlotlyLayout.ts, frontend/src/__mocks__/common.ts (\u002B7 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e1e8d84b9ff91ae015d4ab7f2a9f2ef7060fc9b1f1be6a598bec3bb920bb8035"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 10 significant file(s) lose their only recent owner: marimo/_plugins/ui/_impl/tables/geometry_export.py, frontend/src/components/data-table/filter-pill-editor.tsx, marimo/_smoke_tests/tables/whitespace_sentinel_rendering.py, marimo/_plugins/ui/_impl/tables/geometry.py, frontend/src/components/ui/use-toast.ts, marimo/_messaging/notebook/reconcile.py, frontend/src/core/diagnostics/issue-details.ts, frontend/src/components/data-table/hooks/use-column-visibility.ts (\u002B2 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"40b31e2c05ceec3a1a5f39fd3234b21bc77d532cbd67d5b107daa96580a377aa"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #5: If anonymized user #5 becomes unavailable, 5 significant file(s) lose their only recent owner: marimo/_export/offline.py, frontend/src/components/editor/actions/export-dialog/state.ts, marimo/_runtime/_wasm/_duckdb/sources.py, frontend/src/components/editor/actions/export-dialog/format-notice.tsx, marimo/_export/dependencies.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cb1a0357437bfb658c3c290ceeab09f9f006bda1fe9286554ef96835034a04a2"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (116 single-owned of 1280 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 1280 of the 2630 production source files in this repository met that bar). They are anonymized user #6 (2 file(s)), anonymized user #7 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: marimo/_cli/config/utils.py, marimo/_config/resolver.py, frontend/src/core/codemirror/language/embedded/embedded-python.ts."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_sql/test_sql.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01f21798cd11e60de99db7606796a60bbc5e4d5cab2ab5a2f87c853fc27b351"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_sql/engines/clickhouse.py"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6ce71f8fc13d124f718f70c17175aaaf5feb46dff85f23c5743a0d93a42eee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): Reconcile this test with \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_session/state/test_serialize_session.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"378e8fa8d81f895851d07c5c09839f932aa6351c0847dcb0ed7085427b9d5e12"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Debug on Windows \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_server/api/endpoints/test_home.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e918f9c9dc5515664e655c4a647be72edc57df364c6d00487c3757e42d4fadb2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: fix with_setup to properly manage both traces. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_save/test_cache.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d21d38e30a1a6904b31bba277f1d8fc0ef2e40bac333e06793a55eb4185dffb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Negate and fix. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_save/test_external_decorators.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfee90153f7866bb0fd4605bc4b423274dd5dedfbde296ebc17ca6ac8f78b80"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Negate and fix. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_save/test_external_decorators.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"968eb42417a7bdc5ae1fcbcc7884e4c7df9ff6cc6b0ecc2415ff57f46a6e4fcc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO case could be added to \u0060cases_objects_supporting_key_completions()\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_runtime/test_complete.py"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8e66209433941f8492cd3cb60cf97b1206bfd75012c686f8de8dc4cbae8980"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO add test cases for all other completion modalities \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_runtime/test_complete.py"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"124efc901693092f729b0d3d305861a8afaf81e8138b52220277b3654728b6fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO improve coupling between variable name, source code, and assertions \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_runtime/test_complete.py"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6698b2cc4765d1ee8b4f53ef42edff43cdb505ecb2283d7f8fa1e296dc9680"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO if \u0060expects_completions=False\u0060, something else than \u0060_maybe_get_key_options()\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_runtime/test_complete.py"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eee2f897079e789635e8530e9f0009e0d8e9e69f6045d38a07c3c4f53496ead"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Consider removing from signature? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_runtime/script_data/fn_exception.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef4149fcb611f611f7fd6fd782f94a666abd37eb560f6baa3b4a02a5ca379cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Invesitigate flaky on minimal CI \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_runtime/reload/test_module_watcher.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"152936833c6472c1626a731737c12be75b9e7f060fe2c3da9845f1d2cffcadae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): virtualenv not activating on windows CI \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_runtime/packages/test_package_utils.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e3f5ac77c8464252ca4e2cad53de8455fb69bcd14fb5131d8183485be26205"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Unsupported by narwhals \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_plugins/ui/_impl/tables/test_narwhals.py"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb23aaf52e7cd0406801e26e60a438636aa4840b16eb0a627c6e61c59c9d0339"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: fix xdist upstream \u2014 workermanage.py:462 should not tear down \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_plugins/ui/_impl/tables/test_pandas_table.py"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"000c2c84e2c4480f7bad827b167b767dbf690fe2f0244e6523890790aea8c8da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: narwhals doesn\u0027t support median \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_plugins/ui/_impl/tables/test_polars_table.py"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee02dd9d0d263150a03f791f10d58d1a486c60d069ca8bbfc2874d4f228f5d7e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: test ibis python print \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_plugins/ui/_impl/dataframes/test_print_code.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02cf2f54dba0ddb44e0bedf475e00a19dd0e298cfc2af6cc805dc4e6ee18f3c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: unimplemented \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_plugins/ui/_impl/dataframes/test_print_code.py"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be6d697680b9be3557d2247cdbbca90aa3d16ce2c3778e62c122d2e339a0e07"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(dmadisetti): Resolve weave / windows issue. Raised upstream \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_plugins/ui/_impl/chat/test_chat.py"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b715fa6ee5997f42132c43d55bd93fb66692691caad1deea111b1b85c88384"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): Debug on Windows \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_plugins/stateless/test_image.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0abd35dd81aacbf30d8efa293b4523d777036b89bc498155344148b6328000"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Test streaming completion \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_output/formatters/test_ai_formatters.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e3b0abbd5ed1a09eac394805be0ef86867d0fa756aaa02a87542edb2ff8069"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Add tests for vegafusion \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_output/formatters/test_altair.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0f2aad25894eefd2b33c0fe25a691c3fd0ba1e63ec3d08a4363aa96ad36f19"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: # FIXME: stdin/stdout are flushed every 10ms, so wait 100ms \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_ipc/test_kernel_communication.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"0907ec7c1d752bd15a6022c04be0ea1db25fb1200a98f97a72d03c8e54f26d41"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Ideally extract notebook title. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_convert/markdown/test_markdown_conversion.py"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb9ad0cd39227485a63335769693b0a36e2a456ee22fe31bc9f723c6137ea85"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: fix this, it does not get overridden in tests (maybe it is using a different marimo version that the one in CI) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_cli/test_cli.py"},"region":{"startLine":2098}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eaae69a6fbe459464f820cff64073b8149b2cc98bd2b4a3dfc75de383164ce5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: This hangs when watchdog is installed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_cli/test_cli_export.py"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aaaffc43d13ee63b5604a1f0921e61356f2ec2c7365a57f5cc41d2580f6037e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): Many of the app composition and embedding tests are flaky in \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_ast/test_app.py"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"df18485c346a15f79e404b392d62ef69613116df8d81f08780e9cef79f5b7eaa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): test cell.run() with multiple cells in graph, outputs, ... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_ast/test_app_cell.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfeeef9544d1d82cac88921ffda033e552ec70da630a684f8c3fe1214d2d849e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): more tests for attributes, classdefs, and closures \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_ast/test_codegen.py"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad043f2d8d26b25e4056e770b749c4482b6566fc0a0398870d2ee11e13b2654"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): test builtin functions \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_ast/test_codegen.py"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"44998b5f120e67a87d86f61bb43955613168e6053c8d111b7195e8f8ec88bc00"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): test delete cell \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_ast/test_codegen.py"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbb8c9b075e0ed1d351fd1c1cb994f79bc64abdae955c3fc282fdadfdd81584"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Are these required refs? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_ast/test_visitor.py"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"8992e40988d35e0fcf099ff90bdced8f60191b6d0f7e4c186a50669644097be7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): These assertions currently fail. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_ast/test_visitor.py"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"9818a236a6781fd8b8f8f24253d5d5c3084eb8e0872a549b1d789722854e8035"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Could add more or be more granular \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":"scripts/generate_release_notes.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"753fdf4706f153d345a2dacb81276e6f8da9d97208ed0a157576478213d09ec7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: just recv_bytes (and change stream to send_bytes) \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":"marimo/_utils/distributor.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9cf96e2b91dcd08119e95a5da65a2a1bf5a63b7b5f9cc22e874524f187dfab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: this is O(n) and can be O(1) using similar logic to the \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":"marimo/_sql/get_engines.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e6e8195ca4921c856af7eb4615877052d6d0e0840713b4cf2be2ae2be28074"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: The following methods are currently not implemented. \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":"marimo/_sql/engines/adbc.py"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1494df624128c7573c1026d018c7d7e92466559511bd33bc11bb282c004fa6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: The following methods are currently not implemented. \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":"marimo/_sql/engines/clickhouse.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ed2c79ce6a0eac5d55eaed596256bf8b8fe1d87ff68557ff0ed1530923ff95"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: The following methods are currently not implemented. \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":"marimo/_sql/engines/clickhouse.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5e2c26700675653cdb4266735b6fe577f0a82e9ddcf9a591cf454d61327c19"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Implement the following functionalities \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":"marimo/_sql/engines/clickhouse.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed6be3bb48c895df6791390a4053dd6b09c47ff0438bd9691c4335bcc56f88a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Return the result of the command instead of an empty list \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":"marimo/_sql/engines/clickhouse.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8d736671a0414232182bc7149646db58750b96d648e5a888f57a1a466ae61e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Smartly determine if we should auto-discover \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":"marimo/_sql/engines/clickhouse.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"a886f1c90d5d6ce4c6f97827d85ed4fc033ef0f64a7a2803e54437b7ef27143b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: We should add support for general table types \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":"marimo/_sql/engines/clickhouse.py"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"950dc1fb1df9bac19a9da9c787d1b1228f2efb8f5f5b916d5dcfc9efe692076c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO find a way to support meta schemas from all Ibis backends \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":"marimo/_sql/engines/ibis.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"65dc5f50777d6128922f1bc0f09bb81839effd9fd55380f07086b5c3a6d07683"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # HACK: We need to detect tracebacks in stderr by checking for HTML \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_session/state/serialize.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc927e67fd7eff8832e30771b8567b07531a3c712a395b02dcebe00387a9d848"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Consider reducing to a single message per element \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":"marimo/_session/state/session_view.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d187a9c06378bf45782ed34ce09f57ca74b1347310df7ab88ec35a9e37377e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(MO-7927): The host follows the editor\u0027s writes through these"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_session/notebook/file_manager.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bacdfcf69d80e8f4271d426d36e58253e8bb25fd610e60b656a3d31c3736ff8"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # Hack: Wait for kernel to exit and write out profile; \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_session/managers/kernel.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19235df8e2c36814fb6b69424d7890318812fda108463fbe5ac98e2e1e87892"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): Consider moving to something less fragile than pickle \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":"marimo/_session/app_host/connection.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0976f5a61521c3897408b9a851a9a28c8e2ae7713980679109884004aeb43a11"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(dmadisetti): Consider checking if the server is in a virtual environment \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":"marimo/_server/errors.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aaff9c266d23540e9b78a7f774f4752ca72b3ee99d8dd9009825b8e9e398018"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): _IGNORED_FOLDERS doesn\u0027t cover Windows \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":"marimo/_server/recents.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd46681d1e389ef19c2a6981406d9ec25182e7c31a21aacb881c0dd415023a7e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Move editor lifecycle and recipient routing to host attachments so \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":"marimo/_server/host/api.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfce15fe790783dee4a144dde8eee5fd741cff5deec158973f85732e93b4325"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(MO-7927): Remove this adapter when Session consumes the host Notebook."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/bridge.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"862ceae0737d2c1fd7f97bd4c6d0e3a8fe9b9f9c5c73c750456c2addedf2d523"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(MO-8005): The writer owns this baseline once there is one"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/bridge.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93bf45dd3293557d64cc1c1b8771265443e0ad1cdf2c548abc50a0eb761d698"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(MO-8005): The response to the session\u0027s latest mirror of its"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/bridge.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"af77d62298557338f9a2b9b2117b2413af21ff2ff568db4a1c2dd712aece5263"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(MO-8005): Move persistence to the notebook, with sessions"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/bridge.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8154efe6f169f9f894fe2b55900eb4ee794d9c2a1f95fcea6421d0b9e6c83d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(MO-7927): Following the editor\u0027s config ends when the notebook"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/bridge.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"7507c3171fd2deffde83affa0e7704177b3c5a106d4d2fcf523bae08bfeb073e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(MO-7927): Following the editor\u0027s writes ends when the notebook"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/bridge.py"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"275179922870c2879e828abb280f59b6603bc0ca4e6662ffb17f91b72e485a7d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Unify these paths behind one toolset with different access levels. \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":"marimo/_server/api/endpoints/ai.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d2dbdf00795e80413446f5da5087799af870dbe978642586f102a42732301b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: we may want to validate deep-partial here, but validating with PartialMarimoConfig it too strict \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":"marimo/_server/api/endpoints/config.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d45bd595b0feeb2e5a66cdac513c6c8fb908009727418b010ae6ff494044343"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Use \u0060uv remove\u0060 instead of package manager uninstall for better dependency management \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":"marimo/_server/api/endpoints/packages.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b50b0fa314583af0b44dc8230cf5b9eba61d9398f7dad482b2c2be8e63ef7b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): Someone should clean this up to make it safe on \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/api/endpoints/terminal.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"704ecc3cc3802110e6426ef4bbb7945927eea7086936051f928d7bbcb98484a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Tools should define their own supported modes \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":"marimo/_server/ai/tools/tool_manager.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"43699927eaaf2ba4630a0825d864ba64f060728134b329c516b8d4b083481da4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Determine which tools to support in agent mode \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":"marimo/_server/ai/tools/tool_manager.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4685ae0d4f5d8bac6952eb2876fa60fc1b15bbb184a0a27b456802658ec311e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Utilize to store code and output in cache. \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":"marimo/_save/cache.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe5ee58d58cdcab016b457e5e4198022996edfbf4fbbbfb57c1c06b21395f3d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Consider storing graph information such that execution history can \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/cache.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb02c29e2604bf6240b000baf60c0002b7a91bfab7ffe4e7dcf0094acd9e8a0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Benchmark this encoding, including the cost of copying large data. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/encode.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b72d14a9059e67711cb594fde860bcd1b8c0391fb87f99f5a33b3142d087cc8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Strip this out to allow for hash based look up. Name based \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":"marimo/_save/hash.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b53823bfe35fd01f95fe85538a19ddf575d4e14f9d0bf1785cc33eb427e83b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: There may be a way to tie this in with module watching. \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":"marimo/_save/hash.py"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07d49214eb441c41af35fa4633de3f53e1931cc112b31f95ee7af84d7bfaddb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Consider having a user level setting. \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":"marimo/_save/save.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db46677900270e9f09fbc8b1f5d9de835c8362e1f5c533a4ecb291535d094b3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Construct from a full config dataclass, and pass in kwargs \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":"marimo/_save/stores/redis.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b12a0977514d6a8ec6b99d95ffe88220d75392b1641f4955cd85e394368e1d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Consider more robust verification \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":"marimo/_save/loaders/loader.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f379b4b716cab7e68b7df3a66af3e53190d912ade1f26b65cb65a182539c352"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(mscolnick): have frontend tell the backend the system theme \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":"marimo/_runtime/app_meta.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d3383c2088bb23b392c8068fabb5261fc507019c0dac2283b95db120b8c1e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(MO-8007): Remove when run commands use document revisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/commands.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e888d83b2d49cdefbc17b7f6fb8125dedb37d3e7215599502049ed912985a0f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(MO-8007): Have the host compute and run stale cells."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/commands.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e643c169aa6017407ba502aace626fd697460776a02c35cde0c992cdb8d225"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(MO-8007): Run roots against a document revision."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/commands.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d094b7589a7f844d1a2159c9084a9498d483c925369f28e3770b3dafc74f36"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(MO-8007): Reconcile the graph as part of a run."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/commands.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"03716a3460d2c782d8d3d195d7615c55223ccf7e30c5d76d3ffc1e2bb8a408f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(MO-8007): Apply the edited revision with a rootless run."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/commands.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"c342efcece92db535ff00af0b2174cc957573fc9acb52ee9b5f8c0c87cfd33cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(MO-8007): Run the scratch cell against a document revision."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/commands.py"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8d02fae24c80b4dcc1e455655ad623ea01813a1bdc499cefa47d75c76c3e17"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(MO-8007): Move renaming to the notebook entry."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/commands.py"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5c25290c268ceb3df2b6aea43dc05dee63f138f726d8766af61ad1740d7b1e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(MO-8007): Replace with graph reconciliation against the revision."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/commands.py"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bcd19bb13ec0ecfb185a4b84bc0ac48d84b85bed21caccca4f3f7880222099"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(MO-8007): Replace with graph reconciliation against the revision."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/commands.py"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"7315a1b7fbc1bd1d117798e1443a7684701dc706b27eb8554233efa7488a7450"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(MO-8007): Run all cells, or no roots for a lazy start."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/commands.py"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3feb39b2e3321139c338a2077162d57350e0b5b13747f1b47b448f494c4f20"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(MO-8007): Replace with Backend.stop."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/commands.py"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"599348dba076ecd49b6f08acbc7b28358031a3f406ad27645183ee6ab49046a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(MO-8007): Fold into Backend.interrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/commands.py"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60249b58918b26da9b306afdcea7708a9e7f7bd4a5a54f0cd7e2d646848dd34"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(MO-8007): Consolidate into revision-based run, start, and stop."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/commands.py"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8226ae1cacb5ce37009ee8ab3e7a5868341c9cc89e178bcbf8f41688e2e5ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO move this to a global utility module \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":"marimo/_runtime/complete.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a67c12849585137ccb183a0a7dee8b166b7355f49c31e33ae476ace2067b180"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO refactor to customize the \u0060CompletionOption.info\u0060 with \u0060\u0022columns\u0022\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/complete.py"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b19f39ce6290fb2bfe99cc4f194cebbad350ff4abed1a66e7016dbf8d8c115"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO robust handling of different node types \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":"marimo/_runtime/complete.py"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"65dae9a7cf1a1bdd8ab844623e3dac7ae8090a29c4e5724c5703065dcdf2b937"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO currently unreliable for non-string keys, even if stringified \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":"marimo/_runtime/complete.py"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bf413273cbe8fd818ff3b0298427898ceb44fabab8ac9e84dfcaf9497609e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO ideally, we don\u0027t acquire the lock twice with \u0060_get_completions_with_interpreter()\u0060 and \u0060_maybe_get_key_options\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/complete.py"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"9099ce28e0220900f3f848271e17adced0e3cd824a18e6e22ab88b559e0565d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): The Python docs say this method is appropriate \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":"marimo/_runtime/handlers.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"27aa17ec568a8d992a916dab1b1ff850c4b566bfe189ae4411f8244923ffd43f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): In run mode, this can introduce races between different \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":"marimo/_runtime/patches.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b17fa3eef255059b2232632292342830e8a5aa269a5c978b9e060327093eac2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Other common types could be added here, like numpy arrays that \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":"marimo/_runtime/primitives.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ce5f77d9c4b523d3a416a0dbd0807238168dba2b331289011f1180eabbd708"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): The notebook globals share modules with the kernel \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":"marimo/_runtime/runtime.py"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9681cf03f84ef9ee7b61c2dac91e2771156ea9e20f05fcf8c65e40f5ff27fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): When a file is renamed / moved to another folder, \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":"marimo/_runtime/runtime.py"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf00bc65f6f5ed7aaead0e5609a015789401fff362b3301f7f7d38788efc3b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): There\u0027s a memory leak in run mode, with memory \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":"marimo/_runtime/runtime.py"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"81605fef4e655ad63100ee830c01c0d64b98c142d52d8697ad825d8ae8207b29"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: # first line has the form File XXX, line XXX \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":"marimo/_runtime/runtime.py"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1d699056ee5a506637530755689a823b2c1569bb33918660f0c0caeac482f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): Consider using the module watcher to discover \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":"marimo/_runtime/runtime.py"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8c4fbb5df54df31ae2b451d09d2f4a7cfc56085f7ed48c6233b9ccca5601b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): when no logger is configured, log output is not \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":"marimo/_runtime/runtime.py"},"region":{"startLine":1872}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebd083a21ed18cf86d4572ea3260c3b75ed62f32459b33894016ce454017662"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): This hack is needed because the FE \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":"marimo/_runtime/runtime.py"},"region":{"startLine":2175}}}],"partialFingerprints":{"codehealthFindingId/v1":"40301885cdc94d3d7538c37f8d55658b4f49d8a2f07c880fc8d164ad632feba6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): Do UI elements created in function calls \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runtime.py"},"region":{"startLine":2690}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff83e9a4542b72f093428ddc3f7257d383ca16a983593aaee184b9f9f7553a71"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Don\u0027t bother compiling whole cell. \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":"marimo/_runtime/runtime.py"},"region":{"startLine":2795}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d3e8acae71a1ea78a8929446653a70c49eb641c247b5927e901723bf6d52d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): stdin in run mode? input(prompt) uses stdout, which \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":"marimo/_runtime/runtime.py"},"region":{"startLine":3047}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4615c4e15e3fb2e90a3f45f4e3ad5636b88ec0c21f1c06208adcc10cfec30e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): should callers redraw if they get a collision? \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":"marimo/_runtime/virtual_file/virtual_file.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f99fa91bba16b28fe7adcb1e854bb7ce29e2b2cf6cdd870ecf3b9fefc0dd473"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): Find a less brittle way of handling interrupts. \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":"marimo/_runtime/runner/cell_runner.py"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b4d62accc05fff9c3a4fe1a79b345bcceb1581d1d987a81b5dca790d577340"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): A SIGINT during cancel() can interrupt this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runner/cell_runner.py"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"f322e7b18717e1c840c2d8de480ca64390dfb9b8fa27edd7dc22a9738dac2e0e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO (jlehuen): We wouldn\u0027t have to create this MarimoStopError if those were stored directly \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":"marimo/_runtime/runner/cell_runner.py"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8b6975021ba322564f2a88f7530585dcb329cec6fe3328da6a5579707c4427"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # Hack: frontend sets status to queued on run, so we also have to \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runner/cell_runner.py"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f89ddca4c4d27116ea1e0749784de46f9c4a9ae3a3d48b799662ea3bb277e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): \u0022run_result.exception\u0022 can unfortunately \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":"marimo/_runtime/runner/hooks_post_execution.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbeeec2a9ca075b969216c69c24b2bede181fdb909c0e630c24f97f2861409b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: clean this logic up ... \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":"marimo/_runtime/runner/hooks_post_execution.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4ebe9a9e1610a44eaf3f42c63674866d641baf20d7b562e2f56ac768b6a6bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: The above check could be omitted as an optimization as long as \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":"marimo/_runtime/runner/hooks_pre_execution.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e20d58667699c07d756e1220a3013330ceaee5b51735700f57bef82862713f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): Exceptions and \u0022Errors\u0022 (most of which are at parse time \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":"marimo/_runtime/runner/result.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"84cd0022bca1ffd547ac1c826dffd3982e393f41cca3a3c5c850b8dd5ea9d34e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO or always evict? \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":"marimo/_runtime/reload/autoreload.py"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff3ea0ea56a71580881a71969f0d7abed200730586ad070885091e8f1871c8d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): could also exclude modules part of the standard library; \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":"marimo/_runtime/reload/module_watcher.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56b321523a580ac7e0e5c3ac69265131dec256e7f9b2518d39c476ea3bd53c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(dmadisetti): Attempt to restore UI elements as well. \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":"marimo/_runtime/executor/lifecycles/cached.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6129467bc0e3063d39d2e1ee769a13347c5bb1a0e328cfabd8c45fda9f4e034"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Consider caching on the graph level and updating on register / \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":"marimo/_runtime/dataflow/graph.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e53983ad8673f4b206c2bfd87e688540999a55242b88e1d6c1b565926660ff0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: We should try to find more performant methods of bulk edits for dataframes \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":"marimo/_plugins/ui/_impl/data_editor.py"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad17166cfbe088462623c95d9cb8b9bad628bda5af3ccd099270148307b98ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Consider bar width in future implementations \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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1799}}}],"partialFingerprints":{"codehealthFindingId/v1":"8532257c32d815145760f3a082113df395193efa38ad3a0ed38a6d500305a0b4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Consider bar width in future implementations \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":"marimo/_plugins/ui/_impl/plotly.py"},"region":{"startLine":1897}}}],"partialFingerprints":{"codehealthFindingId/v1":"0945cc11cb25a8231ea62091e837dd7d4178b5275c1751e72aa87380fde3291e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Narwhals doesn\u0027t support list.contains \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":"marimo/_plugins/ui/_impl/tables/narwhals_table.py"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"960ec28ff65e070541da6a8da7bddfaef3d667610124e96a65fcba8c722374ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: handle nested FilterGroup (OR, negate) \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":"marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"6176889576dfdd705a1c3eb1d6552fc53a0009ad3d3e52eb6c8f70a89da753bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: handle nested FilterGroup (OR, negate) \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":"marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9a50908a437453838fdbf92709e9165c32426a3d7f039ecbefc3439000b430"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: handle nested FilterGroup (OR, negate) \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":"marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"c988c8f7049ed30b89bce3ac474e83316b875316c8cc0d22b54d5c604f6c3987"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # Hack to convert to tuple for frozen dataclass \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/dataframes/transforms/types.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadb1a9f6f1af345f608234615d26a9decdb4c9b498d880f017a5dba2c4c759c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): validate the tag-name to make sure that the \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":"marimo/_plugins/ui/_core/ui_element.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f240551cb3957e79a7239c3b16d35f52342fb3a3bf7458622d952a000f91dd6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): parametrize UIElement with an optional \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":"marimo/_plugins/ui/_core/ui_element.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d9053ae168dad8abd1d96e30efdf34c8bd8890584942512201f0eb7bf656d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): Implement as a stateless plugin in frontend. \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":"marimo/_plugins/stateless/flex.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b44b477a0cca9f0d43a4825aa7b7051daf3e94f6ef36542062c39ae375d536e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Consider downsampling here. This is something matplotlib does \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":"marimo/_plugins/stateless/image.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a969eb37dc8c4e44bbd1867a56d8d12a2a84b2d1d8789777b27e3346a5986e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): Add a \u0060done()\u0060 method that turns the spinner into a checkmark \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":"marimo/_plugins/stateless/status/_progress.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac82349cf1c1e0080abcc98bb43a82ad6aaf6d805ffc80594a92b58b5625a394"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): else consider transitioning to a done state \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/stateless/status/_progress.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fe95728b91c3e036612d686fabb32ab31c370f075b0c25f7ab0da9036180ff"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # HACK: we must set MARIMO_NO_JS since the rendering may happen in another \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_output/hypertext.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"51263ebf271fcb8982cb5df00c19217ed77c74689b00b1c519f97e255c963e42"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): Single source of truth for supported mimetypes. The \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":"marimo/_output/mime.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7df10401ec7dc22608780a6ce573a2702b4d511255f3e67cfe05eb9336c8e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): resize iframe not working \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":"marimo/_output/formatters/ipython_formatters.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"355a53e767c0fbb4feacfedd66db161f44798187be32e485b459c8a1e7252eae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: #    TODO(akshayka): Get around this by breaking up the message sent \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":"marimo/_messaging/streams.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"51299514d99c78c996ad6f645a28742517cca96f7210376a352de5d1311da901"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): Make this loop bomb-proof, so that exceptions raised are \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":"marimo/_messaging/streams.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3598bfa209e407be3f4a232c5deec32780f4ad1817bbbb331e29c1c8ab06915"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: refactor to use match/case (min Python is 3.10) once \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":"marimo/_messaging/notebook/document.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"518792ef0e53b35ae1084feaf01c2fb5ceb4d7bf534f5fa69d071a3510243f5f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Allow for non-disabled code editors. \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":"marimo/_islands/_island_generator.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ce2a50605601a1bf4c6c531d9f2304724636e76b4f19f67437e2da3b41b21e"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # Hack: yield to give the session view a chance to process the incoming \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_export/file.py"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb49a0b3494304d4d0f9f98048d7efa6b2eb195c02d5d16a7c62f492995fc0b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): consider locking the Python version for greater \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":"marimo/_environments/script_metadata.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2d43e2277e3d85883ebccbf9ba7e7d0d872f8fcc4cec186e7c93ddcf5ab27c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Implement this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_data/sql_summaries.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b49600e73d40db84b9a1aa283b99d452f07fb96ad44b8dead561e4779c6746"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: We can make this async, but currently post_execution_hooks are synchronous. \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":"marimo/_data/_external_storage/models.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7276974574ab63d933b38f9089bf2580ca9f9085f28151f23c4cba01746958a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove once sessions start their runtime through \u0060start\u0060. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_core/notebook.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"504b8517897300a1ec35d913ac54e64b133b5694625abedf0a0fca174e3526a4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Refactor so it doesn\u0027t occur in export (codegen \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":"marimo/_convert/markdown/from_ir.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"607d214c023fc39de9e1f58d4330b2d5b70be56869f1bea80b66c7bacf8d41f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Consider upstreaming some logic such that this isn\u0027t such a terrible \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":"marimo/_convert/markdown/to_ir.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"853917820d22043890a9ba45536a1fa66702b82830f72356c9e487a4a7349f22"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # hack. At some point rewriting / overriding the markdown parser would be a \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_convert/markdown/to_ir.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"57973dd3c62d30a9c7601d60c36a6d78b792a28ab1b46aca2d9814811b2e527b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Consider adding the admonition extension, and integrating it \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":"marimo/_convert/markdown/to_ir.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"57625fb65b40a016ca7727f033ed63f5ec58a8f94d1791b4f4cce8333d31fa9e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove legacy environment-variable support in marimo 1.0. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_config/manager.py"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb84a10e555d6870d6722fa51fa5a33463e8cca09ac6e24671db68a879ebbab3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): remove normal, migrate to compact \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":"marimo/_config/types.py"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eba8b0a80c9fdcd671fd0e3a1ae57062b544f19a70db67d7a3898ce73513a3f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Adjust for other various forms of static marimo notebook URLs. \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":"marimo/_cli/files/file_path.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fbb1e75777c2ee327083b16e69b6615fb61fe3788f63d1fb4f4d907b4a5d0f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Use rename=\u0022camel\u0022 for consistency in JSON-encoding \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":"marimo/_ast/cell.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e68308edbc2df31c807549e5ede66cff8682483b3fb7505e022a1e093fce91"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(dmadisetti): consider recomputing since caching doesn\u0027t close \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":"marimo/_ast/cell.py"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27ee1b1c66f72ee6cb484d01338a1dfb601a907d5c7879373aaea944f151274"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: spec is None for markdown notebooks, which is fine for now \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":"marimo/_ast/compiler.py"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"c988b79dc40ecb2b140e3677fe5cd4f8f87fdd4283958d87a054c06b7ff9919d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(dmadisetti): consider removing on breaking cache update to \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/transformers.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54e2ffd3ebb2fdb721ba84a4e70e4232f6a39f3089ab12bb7d36d7f1f82d6dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Handle other SQL languages \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":"marimo/_ast/visitor.py"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf4dcf1eab9503cc5fa3cb63a5d093bc53a6c5f8543cd719eb21c05f4bb3240"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Get the engine so we can differentiate tables in diff engines \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":"marimo/_ast/visitor.py"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"004864fa99ed71c0c61634eecd5871e51e6d18359d32e389356e3b250113e89b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: This function raises a CatalogError on CREATE VIEW \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":"marimo/_ast/visitor.py"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"326275fd21f89911a5062b671a8bf02a077584b6aa927e6413a62591658ddde9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Deprecate in favour of parts \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":"marimo/_ai/_types.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"451357016a14bd4696c4c6d2ad76b1f3ef72a8971a8bb03ace45b405dcb87cae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(haleshot): Add config support later \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":"marimo/_ai/llm/_impl.py"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f78e1f67fad3e3d837c5ef57289d602e173bc9cf33ab5ced40f557fd1893e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: filter out noisy useless errors \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":"marimo/_ai/_tools/base.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"d530e4fffec39c440d94cc072fe25267b3c1f33046665f7f3c728057b0125d79"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Use lint config from session.config_manager once the AI \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":"marimo/_ai/_tools/tools/lint.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d366b3248c25494640038df2d9ee2262b02db051ce23ef634c4010ec013262b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This doesn\u0027t handle external iframes \u002B normal elements together (eg. in vstack). \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/utils/download.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60dcef5095f45142da7ce9ac297635f99f67eacb0cb76c979d38bdef513363a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move async when we support async css \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/plugins/layout/carousel/CarouselPlugin.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad601799c97fdb0d74d5aca7ef64cfd17bf0daba42943a01ddfe5709ef6b076"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/DataEditorPlugin.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7c97f3115ff732d65493115beea9b9eb2b8e6e8c496546a0711d2908a9cd45"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: props.get_column_summaries is always true, \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/plugins/impl/DataTablePlugin.tsx"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e7b01d5130dc3f49ffec39ccf22195b1f23036ee8e87d1a5a2b6d13335086e"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: use the random-id of the host element to force a re-render \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/FileBrowserPlugin.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7ed64df1a732eca5ec7c7f3455b61d6f76af8d8d00e8f4cbda1b72af4e99d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(akshayka): React to a change in \u0060value\u0060 due to an update from another \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/plugins/impl/FileUploadPlugin.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a9557593200ce45263a4503e3717eea314dd7ddfc113e67eace1f652413739"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace the post-mount registry lookup with reactive initialization. \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/plugins/impl/FormPlugin.tsx"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a3eb4ec38c3c5334ecaa5397349f6500174e3fd1231f7e087a0ade9c7ece7a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Model the active draft without synchronizing state in an effect. \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/plugins/impl/MatrixPlugin.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"928c24ad2dc029aa2e9eb0c2e37d91dcdf52c3bf13e4de5d2ace6b6caccc2e08"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace this synchronization with a controlled-state primitive. \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/plugins/impl/RangeSliderPlugin.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d59f7cb9138666302964bf84b04a8a87b7ac9aa15f0992e184e7e4e2ccd9580"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Existing bug. TODO: Some signal listeners are invalid \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/plugins/impl/vega/vega-component.tsx"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33254a572688ac34182371ed948cc60f4340cae53b04ffdd96acbe60ff9e901"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Used for rendering LaTeX. TODO: Serve this library from Marimo \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/plugins/impl/plotly/PlotlyPlugin.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb85f1ca5e70633cd39c95fe1c84e47f8e1f8157e1d07836c964b5b364c14415"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This crashes in latest version of react-hook-form \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/plugins/impl/data-frames/panel.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1279ee8b49f3ca59c82c8364214fdf68adef4e3ec970c4de0005e541f27021"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We can optimize by updating the data dynamically. https://github.com/vega/react-vega?tab=readme-ov-file#recipes"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/data-explorer/ConnectedDataExplorerComponent.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"2113c7b12700a300bf8aa3ee3dbec39e54a4bfad5fa77888e4eacf315a454ad7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We are reimporting this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/data-editor/glide-data-editor.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e9ada31cc00d08b39ec7297f83e13c771053da00de1cbbfe5cff4657a91ba6"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack to emit copy event as these events aren\u0027t triggered automatically in shadow DOM \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/data-editor/glide-data-editor.tsx"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"5847fac647f96e916d08e98745ecd9cfa299c787b4c2a54cc1c354771f23c1f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle specific types \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/plugins/impl/data-editor/glide-data-editor.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f5ef5057848d536df1f81b6de5e89d9f5afebdd57dd211b50e9c8a601e25d1"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: strip the error message to clean up the response \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/chat/chat-ui.tsx"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"366b5c75ab1c1d534b2bb850dc82355f4a2321e1bb7287467ddcd2e375615679"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // beside it. TODO: fold the layout into the host document. \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/core/saving/save-component.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5148798bc835f03c821b135843016a33a59388a64177da32a9c68b7401c2a494"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(MO-8051): Gate editing and running on the notebook\u0027s operations"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/notebook/replica/replica.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7344988d272d33b0fbbb0a97bd1bed96a910c8dbba6c644039dd76677cbcefd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // @ts-expect-error - TODO: We need to fix the types for KernelReadyNotification[\u0022ui_values\u0022] \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/kernel/handlers.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85ce63a1cdd30016c649351717445cae888e816d97342818662966ce6ae3ca2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle async cells better \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/core/islands/parse.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a523f913847ab3e653218647dd76ac785e90f3df9f209cf889b592df3b9b0b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this once downstream usage of \u0060getFilenameFromDOM\u0060 is removed \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/core/dom/htmlUtils.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e199ba48de90f6c2367e8942b16c19ab5d854979794cce89db07bc40bcb0e7d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: just fill in the objectId and let the document handle \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/core/dom/ui-element.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb5d1af086c8634e2541f38c2c9c28c9872981c33b26446089caedc999cb76f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(MO-8400): Resolve configuration on the backend and send resolved values"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/config/config.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0eb15f2a962f5d3d8c976dd65e43f893635216f49fbebeb3e55b1a41826225"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: manually add the paste event listener \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/misc/__tests__/paste.test.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"7259f9e5ec02795ba9deb6a015fe28c1a8170f88a50797aae6c840366131ecc9"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: manually add the paste event listener \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/misc/__tests__/paste.test.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"18437adcacd1d9acaf308b3ea831bcda7e82652d40bb8bebe9737319aa2e9c27"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: manually add the paste event listener \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/misc/__tests__/paste.test.ts"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"496afa129178e3117f729c5b719dbb5f739487bace5823cb034f9c1988f00815"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: Ignore iceberg connections \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/language/panel/sql.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f74562057fc10a52efad3bc79c08e177654ed650444ae05b76009283bd3b5aa"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: The vim extension swallows \u0060Ctrl\u002BEscape\u0060 events, preventing them \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/core/codemirror/keymaps/vim.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70c264994721238c6aad13747a91c8e2c561c451df70ae7d7243292bf7da337"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: setSelections will steal focus from the current editor \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/keymaps/vim.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c49bda27c30e64a74d51d9148ce3796bbdf074425b0a9880fc63ce3a435235"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: restore selection \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/keymaps/vim.ts"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe2c9a0e0c7997228fef6c2530a9e79c484d7388783954e44320e298179743d"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: If open, close it and re-open it to gain focus \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/find-replace/state.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd38dc19d22ea3f243b2a3eb4767088f147fcfc1b5d34086a787a0a117a3186d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we should sort this topologically \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/core/codemirror/copilot/getCodes.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"966958c784599799d1a0c7c66d5ab3d69eb546cb0f78a6fbda035ec5cc4c930e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe include other code \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/core/codemirror/ai/request.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"179997a1782771779a3aa901f82d2c2c5dd66c539d98bbb45897cedb06637df9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Preserve scroll position \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/storage/storage-inspector.tsx"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"710b43d3e8d9738e8cd60730a561881304c7f0efe00dd2c3c24d4951477a3700"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(akshayka): audio; pdf; text/csv; excel?; text/css; text/javascript \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/editor/Output.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"50404f8ed98a3251a06153b8764ba08bc5cdabf394e72b582717195df035e013"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: format is \u0027auto\u0027, but should make configurable once cells can \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/Output.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"854016a3bc9354ced82d587432bf3007bf194bf1940816211b4feb31358a4eb5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(akshayka): More descriptive title \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/editor/Output.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e94e24a3a85163861189644c1c9a3fad63fc7378a0927fe456de8f5b87bb0c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(akshayka): Move to our own Tooltip component once it\u0027s easier \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/editor/notebook-cell.tsx"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4fb7f8c1e86c9e3a187722b25f7f0c224b2bc20ea1e79b960dbeb59b8e79b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(akshayka): Move to our own Tooltip component once it\u0027s easier \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/editor/notebook-cell.tsx"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f774ece32e432d541a682f4859a112f84c4132474ddb1ae19d1d9ab7a7f46ec"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: evt.target is the root \u003Chtml\u003E element \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/navigation/multi-cell-action-toolbar.tsx"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d23f91101aa3795ca25192cd0c6eb521c030bf105130407de03449249d0a8ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Reset the editable draft without synchronizing state in an effect. \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/editor/header/filename-input.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47bbf3f80f933a3d49791e8b736bc188231b20638305cc7f2d85464ac5fa97f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add a dropdown menu with the auto-fixes, when we need to support \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/editor/errors/auto-fix.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66610623c7e3c81a572eb79f9f570e8e31f8e1abe6abb7a4b288694a61720f3"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: Unfortunately, we have to do this twice to make sure the \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/wrapper/app-chrome.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7852ce1ff83748f101c8e8c343d021a00b5253502e2875b9a706ad0e163034"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add warning count from diagnostics/linting \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/editor/chrome/wrapper/footer.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b838014bbc3f6c3bb7155d06431633097a534e79394465b0cea342fcb9799c"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: this is a bit leaky \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/panels/outline/useActiveOutline.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7386c1c4f3dc0e81dcb07f6e70f6ceb238fb00b9ac15bf644c28e31dbe738ba7"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack to prevent the first item from being clicked when the dropdown is \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/cell/CreateCellButton.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"897fedb1d0de376df4fc61dd942958273656d5c1159427a4f85e7d7f2411172e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Maybe support mixed mime values and non-mime values \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/data-table/mime-cell.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"56324360b3baef67a1afcfdc778fa52eeaefe4d92a0af2ad3e5a1ae5f5b41247"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add layer support \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/data-table/charts/chart-spec/altair-generator.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3bb91de5365ca6e6e3f6dafe66abd8f963d9ed9c8dc5942e47c6b6fc1c770c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: can we access? \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/data-table/cell-selection/feature.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"843ddd8d7ee0b45efb7064251c290ba7dffe2d5bc571bcceb19a01a0ce39e263"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: sometimes title comes back: \u0022undefined\u0022, so lets undo that \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/chat/acp/blocks.tsx"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"8316b3de506218d87468614dd69f8d2dabc8a92a085c64f80cf4f6c0aaf83d4e"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: if the raw input is \u0060abs_path\u0060, \u0060old_string\u0060, \u0060new_string\u0060 then handle it as if it is a diff \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/chat/acp/blocks.tsx"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3be72a6a061f61ce396d6b573b2749e9bc28dd79919b31b1e358d60c15ac2ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is not working \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/e2e-tests/mode.spec.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6e3e853588bde03cae8b58bfcaea1e63f381e2524cda3e77d6264f8968dc95"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(akshayka): this is using an internal API since we don\u0027t expose the progress bar \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/e2e-tests/py/kitchen_sink.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"505025de8475a53b36ad7ef84360dfeb4e5288b265b9060e8811e341475e443d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: figure out syntax highlighting \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":"docs/blocks/__init__.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1e99196df4fd8bcbf398f28c9c3db369fb37a04088a941c3e261a4dced6734"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060smart-cells\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/smart-cells/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/smart-cells/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d023c5ff903cd15cb6534bff6acb8e6aa2694cf99b443ab0f52405640663e177"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060pyproject.toml\u0060 makes this repository a deployable product (line 78)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pyproject.toml"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f93f7a2c78f190233679ac8202a9f8e691d2305d697b777ee579589e9c4bff1"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060do_GET\u0060 spells \u0060GET\u0060 where 639 names in the project spell it \u0060get\u0060: 639 of 640 names in project marimo spell the token \u0060get\u0060 (639 of 640; unit: names in project marimo containing \u0060get\u0060). Peers: mlx_chat._(get_model_path) (examples/ai/chat/mlx_chat.py:102); pydantic-ai-chat.get_model (examples/ai/chat/pydantic-ai-chat.py:96); simplemind_example._(get_logs) (examples/ai/chat/simplemind_example.py:99); data_labeler._(get_index) (examples/ai/data/data_labeler.py:47); model_comparison._(get_index) (examples/ai/data/model_comparison.py:49). Rename to \u0060do_get\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_export/_html_asset_server.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0dcd878a54a753c8254b59fac79b8571f9a0b84f216314fdf765e291368eae4"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060do_OPTIONS\u0060 spells \u0060OPTIONS\u0060 where 56 names in the project spell it \u0060options\u0060: 56 of 57 names in project marimo spell the token \u0060options\u0060 (56 of 57; unit: names in project marimo containing \u0060options\u0060). Peers: filterable_table._(cylinder_options) (examples/misc/filterable_table.py:41); filterable_table._(manufacturer_options) (examples/misc/filterable_table.py:41); app._(component_options) (examples/third_party/cvxpy/signals/app.py:63); text-to-image._(example_options) (examples/third_party/huggingface/text-to-image.py:153); surfaces._(function_options) (examples/third_party/matplotlib/surfaces.py:105). Rename to \u0060do_options\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pyodide/build_and_serve.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bea0b51106339c70c8f7d50a3b3d86e801e42222ff377f22021c9de98a77b8"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060groupFileTypesByMIMEType\u0060 spells \u0060MIME\u0060 where 13 names in the project spell it \u0060Mime\u0060: 13 of 14 names in project repository spell the token \u0060Mime\u0060 (13 of 14; unit: names in project repository containing \u0060Mime\u0060). Peers: mime-cell.isMimeValue (frontend/src/components/data-table/mime-cell.tsx:31); mime-cell.getMimeValues (frontend/src/components/data-table/mime-cell.tsx:40); renderers.isMediaMime (frontend/src/components/editor/file-tree/renderers.tsx:23); renderers.tryRenderMimeLeaf (frontend/src/components/editor/output/json-output/renderers.tsx:81); renderMimeIcon.renderMimeIcon (frontend/src/components/editor/renderMimeIcon.tsx:2). Rename to \u0060groupFileTypesByMimeType\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/FileUploadPlugin.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78ab24e11b985dac7538b1f2eae45818486c40b3c041e216af6935456307269"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Take screenshot of code\u0022 repeats the code it sits on: 3 of its 3 words (take, screenshot, code) are already in \u0060await takeScreenshot(exportPage, \u0060code-${exportPath}\u0060);\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/e2e-tests/helper.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4f9add48a76a03b1db7b88a3acca71bde42bfc250e5d3428f1e4a642aebd5b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check Today group\u0022 repeats the code it sits on: 3 of its 3 words (check, today, group) are already in \u0060const todayGroup = result.find((g) =\u003E g.label === \u0022Today\u0022);\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/__tests__/chat-history.test.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ba45903b1969a03562a6f8c032722d889c8749142833d1839ce185ee510f86"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check Yesterday group\u0022 repeats the code it sits on: 3 of its 3 words (check, yesterday, group) are already in \u0060const yesterdayGroup = result.find((g) =\u003E g.label === \u0022Yesterday\u0022);\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/__tests__/chat-history.test.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2211ef5d58e72f9c96cb5c7170df318a00665b7cb19f3c8b555e65616f610d2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check 2d ago group\u0022 repeats the code it sits on: 3 of its 3 words (check, ago, group) are already in \u0060const twoDaysGroup = result.find((g) =\u003E g.label === \u00222d ago\u0022);\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/__tests__/chat-history.test.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad05f9a707e1fff122dc2237f9921e1d1b38cc8a088cfd02a34293747f603183"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check 3d ago group\u0022 repeats the code it sits on: 3 of its 3 words (check, ago, group) are already in \u0060const threeDaysGroup = result.find((g) =\u003E g.label === \u00223d ago\u0022);\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/__tests__/chat-history.test.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6e8dd3b140ee6c434eb3ed0b7328a8d7be45c03995820cf74ae0c3659ac259"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock React DOM\u0022 repeats the code it sits on: 3 of its 3 words (mock, react, dom) are already in \u0060vi.mock(\u0022react-dom/client\u0022, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/__tests__/mount.test.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"71664f2c6ed35f37b5668b42e5af9a87992d6460b0b21e0b71438651fffac57b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock static state\u0022 repeats the code it sits on: 3 of its 3 words (mock, static, state) are already in \u0060vi.mock(\u0022@/core/static/static-state\u0022, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/__tests__/mount.test.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a0a9e0701a89a6dcfa6a8cb05863725110981a30330db4eae8afbf558004ae"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock preloadPage\u0022 repeats the code it sits on: 3 of its 3 words (mock, preload, page) are already in \u0060vi.mock(\u0022@/core/MarimoApp\u0022, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/__tests__/mount.test.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"526b429406414a90ec47c1a6b167c549013ef71cfe96e390915d50a8bd863995"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Call agent.setSessionModel to notify the agent\u0022 repeats the code it sits on: 5 of its 6 words (call, agent, set, session, model) are already in \u0060void agent.setSessionModel?.({\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/chat/acp/agent-panel.tsx"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50aaac44d7a76d34c5c35ee6726b9bccaae124d191943ed6c08174ecb45c8cb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Session notification events\u0022 repeats the code it sits on: 3 of its 3 words (session, notification, events) are already in \u0060export type SessionNotificationEventData =\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/chat/acp/types.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"919a0e9674018df43544809f491c6f6a411fb91aa8f63ffbbdab3a678a0fd341"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Invoke the frontend tool\u0022 repeats the code it sits on: 3 of its 3 words (invoke, frontend, tool) are already in \u0060const response = await FRONTEND_TOOL_REGISTRY.invoke({\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/chat/chat-utils.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e32185f368481e23d275c22dfdb8d233197d238ad3cb2b56f88f302ba514b0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock the runtime config\u0022 repeats the code it sits on: 3 of its 3 words (mock, runtime, config) are already in \u0060vi.mock(\u0022@/core/runtime/config\u0022, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/__tests__/chart-spec-model.test.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d10138d78736bc1d71c1dafed64cb5723ef81855ce749f22bfd700d525b37b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Selected tooltips from the form.\u0022 repeats the code it sits on: 3 of its 3 words (selected, tooltips, form) are already in \u0060const selectedTooltips = formValues.tooltips.fields ?? [];\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/data-table/charts/chart-spec/tooltips.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cd626c2c9bff2714df4fb8c2a69d6b8ecc4d63310812b5303f44362334b66f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022apply column formatting\u0022 repeats the code it sits on: 3 of its 3 words (apply, column, formatting) are already in \u0060column.applyColumnFormatting = (value) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/column-formatting/feature.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2f2b2eb79ea1abb285c02b38532d795d923cf41a11d76cd7935c7ecf17e131"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Calculate xStart and xEnd for each value count\u0022 repeats the code it sits on: 4 of its 5 words (start, end, value, count) are already in \u0060const newValueCounts: {\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/data-table/column-summary/chart-spec-model.tsx"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"12653afa687d9568e65a999d32008778c10d743e67fad1ce3360726bb1ff1297"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set text selection\u0022 repeats the code it sits on: 3 of its 3 words (set, text, selection) are already in \u0060window.getSelection = vi.fn().mockReturnValue({\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/data-table/range-focus/__tests__/atoms.test.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be03961e94b2194760c92627466f81bc37213d0fce8ce4a6ef85e4173d1e324"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock useInputHistory hook\u0022 repeats the code it sits on: 5 of its 5 words (mock, use, input, history, hook) are already in \u0060vi.mock(\u0022@/hooks/useInputHistory\u0022);\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/debugger/__tests__/debugger-code.test.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9f8a5beb9e2b7615e3aef75ab36498f07a3ad4eed38d995c6cbd31346f69bc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter out metadata from the mime entries and type narrow\u0022 repeats the code it sits on: 5 of its 6 words (filter, metadata, mime, entries, type) are already in \u0060const rawEntries = Objects.entries(mimebundle as Record\u003Cstring, unknown\u003E)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/Output.tsx"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"319d9f72b422ef8cf50be74358a235dde0a24566b82a3cf36202d2609c354bbc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Slot for drag handle\u0022 repeats the code it sits on: 3 of its 3 words (slot, drag, handle) are already in \u0060return use(DragHandleSlot);\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/editor/SortableCell.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db768311cfce6e4a308ec60624e7d1acd518c9fab479b208666fcd62638cec6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock document.hasFocus\u0022 repeats the code it sits on: 3 of its 3 words (mock, document, focus) are already in \u0060vi.spyOn(document, \u0022hasFocus\u0022).mockReturnValue(true);\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/editor/__tests__/dynamic-favicon.test.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bff1d8a324626ab6e18bac7aa07858f46814dd4af47680b74100e663e8b0a75"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set the language adapter\u0022 repeats the code it sits on: 3 of its 3 words (set, language, adapter) are already in \u0060setLanguageAdapter(languageAdapter.type);\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/editor/cell/code/cell-editor.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"21421bbc3c8b37397fe12f7f351fb023fb0ee76118dfd72b7941d725fda2eb2f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a new editor\u0022 repeats the code it sits on: 3 of its 3 words (create, new, editor) are already in \u0060const ev = new EditorView({\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/editor/cell/code/cell-editor.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"355f93fc4f01014db8e595b9c8feeacde22fa47e7cb2224fc944ece839a671c7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if all reactivity is disabled\u0022 repeats the code it sits on: 3 of its 3 words (check, reactivity, disabled) are already in \u0060const allReactivityDisabled =\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/editor/chrome/wrapper/footer-items/runtime-settings.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4cea140df4a0ef57de49bff6e836681bb14a9b22f04eb3bb4f0d14e6c722cc8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup: updateFilename resolves with the new filename\u0022 repeats the code it sits on: 4 of its 5 words (update, filename, resolves, new) are already in \u0060mockUpdateFilename.mockResolvedValue(\u0022/path/to/new-file.py\u0022);\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/editor/header/__tests__/filename-form.test.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2754fd9340e006bbaaae5566c246f6db43940167d5674524728f5195b7d86987"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set the request client in the store\u0022 repeats the code it sits on: 4 of its 4 words (set, request, client, store) are already in \u0060store.set(requestClientAtom, mockRequestClient);\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/editor/navigation/__tests__/navigation.test.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bc014c94204994f3d0411d44f872ad3f9b5c753376f74d2418e53bb9e739ef"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set AI completion to be open for cellId1\u0022 repeats the code it sits on: 5 of its 6 words (set, ai, completion, cell, id) are already in \u0060store.set(aiCompletionCellAtom, { cellId: cellId1 });\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/editor/navigation/__tests__/navigation.test.ts"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bf29e5dc4984a8f9a4e9468aca0d154da379c3c1002d743ff4d3458613c334"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set AI completion to be open for cellId1\u0022 repeats the code it sits on: 5 of its 6 words (set, ai, completion, cell, id) are already in \u0060store.set(aiCompletionCellAtom, { cellId: cellId1 });\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/editor/navigation/__tests__/navigation.test.ts"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe0c67c9baa16358d1d650f6703cf99469cdf0c208d604aa7038d3df7130743"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter out hidden actions and empty groups\u0022 repeats the code it sits on: 4 of its 5 words (filter, hidden, actions, groups) are already in \u0060return {\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/editor/navigation/multi-cell-action-toolbar.tsx"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"3935fcc911ef8c63af95119577c167d3ebe64a8a2c423e01f64146fd77d98bab"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Hide the output if it\u0027s an error or stopped.\u0022 repeats the code it sits on: 4 of its 4 words (hide, output, error, stopped) are already in \u0060const hidden = shouldHidePublishedCell({\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/editor/notebook-cell.tsx"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"9671ec3580c0f8c4927d8b3557df62b3870e332c1c26b26963a94b54b406aa34"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check for exception type\u0022 repeats the code it sits on: 3 of its 3 words (check, exception, type) are already in \u0060const exceptionError = errors.find((e) =\u003E e.type === \u0022exception\u0022);\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/editor/output/MarimoErrorOutput.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c18d150e367cebdcb18df3c638611a28da55cc78656ea22d96efd4bc3cf073"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock the useInstallPackages hook\u0022 repeats the code it sits on: 4 of its 5 words (mock, use, install, packages) are already in \u0060vi.mock(\u0022@/core/packages/useInstallPackage\u0022, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/console/__tests__/text-rendering.test.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"22aeb8acbb36201316bf9ed1ac5447af530bb5481c492e32e091b8bda3b508ac"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Scroll the element into view\u0022 repeats the code it sits on: 3 of its 3 words (scroll, element, view) are already in \u0060cellElement.scrollIntoView({\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/editor/renderers/vertical-layout/useFocusFirstEditor.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae3d73611618666d648ad35bb1d4b92e4e1e539eedb67edc5344defb3743875"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Static notebooks, WASM notebooks, and kiosk mode show code by default.\u0022 repeats the code it sits on: 7 of its 8 words (static, notebooks, wasm, kiosk, mode, show, code) are already in \u0060return showCodeByQueryParam === 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/editor/renderers/vertical-layout/utils.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"606b609daf4aea67feeec8eebad7b595223bf29c765509fa3f9e6f4c78964dbf"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Read mode and show code\u0022 repeats the code it sits on: 4 of its 4 words (read, mode, show, code) are already in \u0060if ((mode === \u0022read\u0022 \u0026\u0026 showCode) || kioskFull)\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/editor/renderers/vertical-layout/vertical-layout.tsx"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e660133b68682971a8e49d16ba9fc1375804092d361dbce2817a1fd1bdc51dc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Action to add a new item to history\u0022 repeats the code it sits on: 4 of its 5 words (add, new, item, history) are already in \u0060export const addToHistoryAtom = atom(null, (get, set, newItem: string) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/scratchpad/scratchpad-history.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a85fdfa930251c242d3c8e55912fd242f045f489cb35cb960819e241f5fb7c9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Context menu actions\u0022 repeats the code it sits on: 3 of its 3 words (context, menu, actions) are already in \u0060function createContextMenuActions(\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/terminal/terminal.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"059327ef7424d826308b51fb68788cdda0b04b9717733715ada0a219704e484b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set Unicode version\u0022 repeats the code it sits on: 3 of its 3 words (set, unicode, version) are already in \u0060term.unicode.activeVersion = \u002211\u0022;\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/terminal/terminal.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa5de3ae46b855b428f0b79b8815c5090b900a312ca79224cb1a6868ccaae5a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add event listeners\u0022 repeats the code it sits on: 3 of its 3 words (add, event, listeners) are already in \u0060window.addEventListener(\u0022resize\u0022, handleResize, {\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/terminal/terminal.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65544f6342e21ff97f5456fecbabc27740e69c36783a408078d6cbea023fded"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock cell handle with editor view\u0022 repeats the code it sits on: 5 of its 5 words (mock, cell, handle, editor, view) are already in \u0060const mockCellHandle = {\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/core/ai/__tests__/staged-cells.test.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9846321d51ee9110a9286f7943330237b71edfb46ccc7ae4641bfe89ffdb2ad6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock attachment data for testing\u0022 repeats the code it sits on: 4 of its 4 words (mock, attachment, data, testing) are already in \u0060const mockAttachment1: FileUIPart = {\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/core/ai/context/__tests__/registry.test.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b893353c5697e919448b480a81b283cc4a620a30c987b261e32da93750523995"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Return attachments for items that need them\u0022 repeats the code it sits on: 4 of its 4 words (return, attachments, items, need) are already in \u0060const itemsNeedingAttachments = items.filter(\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/core/ai/context/__tests__/registry.test.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb5f7da1099bda68963d69b6e4e981d52bf56b5226de8b72f15eb1dd77cdcb4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter items that need image downloading\u0022 repeats the code it sits on: 5 of its 5 words (filter, items, need, image, downloading) are already in \u0060const itemsNeedingDownload = data.filter(\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/core/ai/context/providers/cell-output.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afb79e451940b682b3a0ec0297bf5948360159ce715fbdb3d01072fd33c8223"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock scrollAndHighlightCell\u0022 repeats the code it sits on: 4 of its 4 words (mock, scroll, highlight, cell) are already in \u0060vi.mock(\u0022@/components/editor/links/cell-link\u0022, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/ai/tools/__tests__/edit-notebook-tool.test.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0642b3d2c2dc42ccc1be80774158a7e9bf310e4775e443c322b7acf6ea4240a8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Parse input args\u0022 repeats the code it sits on: 3 of its 3 words (parse, input, args) are already in \u0060const inputResponse = await inputSchema.safeParseAsync(rawArgs);\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/core/ai/tools/registry.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ad1c15ec18fbe0cb9c89a3b474ca9a33a903488d3895dc1dfe8b4b9a63f6db"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Clear console output\u0022 repeats the code it sits on: 3 of its 3 words (clear, console, output) are already in \u0060actions.clearCellConsoleOutput({ cellId: firstCellId });\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/core/cells/__tests__/cells.test.ts"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"7242e8c60923c8f1d76b679bcb4360de0fc81855a3292de41a0b5bd646f7683c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Test finding the cell ID from the container itself\u0022 repeats the code it sits on: 4 of its 5 words (finding, cell, id, container) are already in \u0060expect(findCellId(container)).toBe(cellId);\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/core/cells/__tests__/ids.test.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a626aa6ade7403108f1158c352989d6e053b3a92eb6f287473bc03bca881af"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock the getCellEditorView function\u0022 repeats the code it sits on: 5 of its 6 words (mock, get, cell, editor, view) are already in \u0060const mockGetCellEditorView = vi.fn();\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/core/cells/__tests__/scrollCellIntoView.test.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90acd80b46a8836c1b21e0a07558ec3cafe0d591b70d639f1d7f0702f12c596"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock the scrollActiveLineIntoView function\u0022 repeats the code it sits on: 5 of its 6 words (mock, scroll, active, line, view) are already in \u0060const mockScrollActiveLineIntoView = vi.fn();\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/core/cells/__tests__/scrollCellIntoView.test.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15a7d0dd5e95c366e7022a9c441303fa39841da0464d44d37adf7e78ad7e7c5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create notebook cells with code values \u0027a\u0027 through \u0027f\u0027\u0022 repeats the code it sits on: 4 of its 5 words (create, notebook, cells, code) are already in \u0060const notebookCells = [\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/core/cells/__tests__/session.test.ts"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"96606e34651027ce1f784c8820607ddcd64ad498fef3913fe946025c6915222a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Notebook has cells with code \u0027a\u0027, \u0027c\u0027, \u0027z\u0027, \u0027e\u0027, \u0027g\u0027\u0022 repeats the code it sits on: 3 of its 3 words (notebook, cells, code) are already in \u0060const notebookCells = [\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/core/cells/__tests__/session.test.ts"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3c64b9fa05cddd37a70fb700732a1633f6dc3744445c7d8121af8ee716e51a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Handle StreamMediaOutput (type: \u0022streamMedia\u0022)\u0022 repeats the code it sits on: 4 of its 5 words (stream, media, output, type) are already in \u0060if (consoleOutput.type === \u0022streamMedia\u0022)\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/core/cells/session.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4468103c5787aa6e9454170c2fbb4fe533a350878c722decc5a2172f19cfe0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 5 comments in this file only repeat the code they sit on (lines 13, 23, 28, 109, 128), for example \u0022Mock the smartScrollIntoView function\u0022. 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/core/codemirror/__tests__/extensions.test.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f2635685f822bf9d4191e8c5e7f92ef61fe3e47d320dbcb9d78a8d4d45bb6c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set the mock request client in the atom\u0022 repeats the code it sits on: 5 of its 5 words (set, mock, request, client, atom) are already in \u0060store.set(requestClientAtom, mockRequestClient);\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/core/codemirror/__tests__/format.test.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5794733dce506107d5454316a507d3e42bc8fc1f4f34ea4d5ca396af156fd4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Cells with no usedBy\u0022 repeats the code it sits on: 3 of its 3 words (cells, no, used) are already in \u0060const noUsedByCells = new Set\u003CCellId\u003E(cellIds);\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/core/codemirror/copilot/getCodes.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb14d31caa867cf056ee12a52247b2936aeb8f27a7279e4bf4538fa0f8f5781"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a read-only state\u0022 repeats the code it sits on: 4 of its 4 words (create, read, only, state) are already in \u0060const readOnlyState = EditorState.create({\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/core/codemirror/find-replace/__tests__/navigate.test.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e44864cbb984e6c7975a6d7d820e1082bc6a5f3414136a98224d5475faaf39"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022reset the dataSourceConnectionsAtom\u0022 repeats the code it sits on: 4 of its 5 words (data, source, connections, atom) are already in \u0060mockStore.set(dataSourceConnectionsAtom, {\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/core/codemirror/language/__tests__/sql.test.ts"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ee68080ea822022b1a9a7fc1053535670cb4ee01bf964eede47ae2c96eb913"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set the metadata to the default metadata\u0022 repeats the code it sits on: 3 of its 3 words (set, metadata, default) are already in \u0060metadata = { ...nextLanguage.defaultMetadata };\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/core/codemirror/language/extension.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2d1d6938c6d25175acc214f0efcf60ebe693ac455ba3430f6395fcf68cc102"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Source type colors\u0022 repeats the code it sits on: 3 of its 3 words (source, type, colors) are already in \u0060const SOURCE_TYPE_COLORS = {\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/core/codemirror/language/languages/sql/renderers.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"429bd010b05220ac0ee667c7bf69e019dfcf90db0bf475d82a8780db67b27b86"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get the cell document URI from the params\u0022 repeats the code it sits on: 4 of its 5 words (cell, document, uri, params) are already in \u0060const cellDocumentUri = params.textDocument.uri;\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/core/codemirror/lsp/notebook-lsp.ts"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ea960d74cbc4f735c5a29833607b03bdf2f78d1fac8fe8588752f0a9294110"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get the cell document URI from the params\u0022 repeats the code it sits on: 4 of its 5 words (cell, document, uri, params) are already in \u0060const cellDocumentUri = params.textDocument.uri;\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/core/codemirror/lsp/notebook-lsp.ts"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8314f56022e9aee6f675ddb7a8fdd844e4077c30a9af1f3baadca319bf2e0c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get the cell document URI from the params\u0022 repeats the code it sits on: 4 of its 5 words (cell, document, uri, params) are already in \u0060const cellDocumentUri = params.textDocument.uri;\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/core/codemirror/lsp/notebook-lsp.ts"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8d1080c26aafa2da10cbd5358410d8e629f29821180b62fd3d211fda0126b2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if parent is AssignStatement\u0022 repeats the code it sits on: 4 of its 4 words (check, parent, assign, statement) are already in \u0060if (temp.parent() \u0026\u0026 temp.name === PyNode.AssignStatement)\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/core/codemirror/reactive-references/analyzer.ts"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0040e2c79fc9a573bf4b9909b4ee2f3352dc2df4ec10f757abfa5ed4ec7c97"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Dispatch effect to update readonly state\u0022 repeats the code it sits on: 4 of its 5 words (dispatch, effect, update, readonly) are already in \u0060view.dispatch({\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/core/codemirror/readonly/extension.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9db841ba45f0b3a8f80bd9c84b4ae93bf7e0b899662f633b491274160af053"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 13 comments in this file only repeat the code they sit on (lines 33, 52, 64, 92, 127, 168, 254, 298, 345, 402, 412, 426, 452), for example \u0022Set up test datasets\u0022. 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/core/datasets/__tests__/all-tables.test.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4bd151b843a99dce948d104f4f03a4a0d1d712fbe6d52dd93dd732f72fe747"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if the heading is within any of the excluded tags\u0022 repeats the code it sits on: 4 of its 4 words (check, heading, excluded, tags) are already in \u0060if (excludedTags.some((tag) =\u003E heading.closest(tag)))\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/core/dom/outline.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6d62de7ada3803fa4fb21b0fa1ae6c982280d33c70b4076b11bacf6656d73a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock html-to-image\u0022 repeats the code it sits on: 3 of its 3 words (mock, html, image) are already in \u0060vi.mock(\u0022html-to-image\u0022, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/export/__tests__/hooks.test.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c434dbf6b540556e385ccf90e4313bf5764a57fe8d19cca8af54033dedb0cdbf"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock document.getElementById\u0022 repeats the code it sits on: 5 of its 5 words (mock, document, get, element, id) are already in \u0060vi.spyOn(document, \u0022getElementById\u0022).mockReturnValue(mockElement);\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/core/export/__tests__/hooks.test.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e6b7b021c914c7753dc3dd64af28ab57518b0629140b8955151dc5342c7897"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022MIME types to capture screenshots for\u0022 repeats the code it sits on: 4 of its 4 words (mime, types, capture, screenshots) are already in \u0060const MIME_TYPES_TO_CAPTURE_SCREENSHOTS = new Set\u003CMimeType\u003E([\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/export/hooks.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c52a00240f590ecf3a1d83f7b0ec1b1a2a5f25accffd607ebf63ceb013b572a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create providers for each platform\u0022 repeats the code it sits on: 3 of its 3 words (create, providers, platform) are already in \u0060const windows = new HotkeyProvider(hotkeys, { platform: \u0022windows\u0022 });\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/core/hotkeys/__tests__/hotkeys.test.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c9cde99880ab2c3c79cdf0309b0e102d0123c675fcda7af1b81eb113f2dd85"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock react-aria-components I18nProvider\u0022 repeats the code it sits on: 6 of its 6 words (mock, react, aria, components, 18, provider) are already in \u0060vi.mock(\u0022react-aria-components\u0022, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/i18n/__tests__/locale-provider.test.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1908fddb33fbd3e306bd609d05bef521d80d3ac23fa23e056b3dc8f187bf433"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock getMarimoVersion\u0022 repeats the code it sits on: 4 of its 4 words (mock, get, marimo, version) are already in \u0060vi.mock(\u0022@/core/meta/globals\u0022, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/islands/__tests__/bridge.test.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc1a43a065db2fe8d862085553e4e78dff23bc160f3dfc0e552c0aa702fa840"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock the jotai store\u0022 repeats the code it sits on: 3 of its 3 words (mock, jotai, store) are already in \u0060vi.mock(\u0022@/core/state/jotai\u0022, async (importOriginal) =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/islands/__tests__/bridge.test.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cae6efc305a099b738257b73cc49f49d7c4ba0ddcfdb3a0a733e4f9d93270f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Reactive island gets a cell index\u0022 repeats the code it sits on: 4 of its 5 words (reactive, island, gets, cell) are already in \u0060expect(reactiveIsland.getAttribute(ISLAND_DATA_ATTRIBUTES.CELL_IDX)).toBe(\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/core/islands/__tests__/islands-harness.test.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d133ae1ddc5634c99f49426f90755dcf0c5ccd5042faf70d66d4b9a0c366e32"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock createClientWithRuntimeManager to return our mock client\u0022 repeats the code it sits on: 6 of its 6 words (mock, create, client, runtime, manager, return) are already in \u0060vi.mocked(apiModule.createClientWithRuntimeManager).mockReturnValue(\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/core/network/__tests__/requests-network.test.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"93896d1a7f75ad3d91a99fe56dd853f748933dea9f3ea6603b2a0af9f0ab8e6f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022AI Tool requests\u0022 repeats the code it sits on: 3 of its 3 words (ai, tool, requests) are already in \u0060invokeAiTool: (request: InvokeAiToolRequest) =\u003E Promise\u003CInvokeAiToolResponse\u003E;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/network/types.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdc55d06e3e00d92feb86e2b690fabbfcd0a6d0dc664a9f611cf6619fd32537"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock the RuntimeManager\u0022 repeats the code it sits on: 3 of its 3 words (mock, runtime, manager) are already in \u0060vi.mock(\u0022../runtime\u0022, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/runtime/__tests__/config.test.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21691597047f0fb01dec8450c665362cba58822cf00f0eee5b4a99c0dee5c2a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create existing base element\u0022 repeats the code it sits on: 4 of its 4 words (create, existing, base, element) are already in \u0060const existingBase = document.createElement(\u0022base\u0022);\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/core/runtime/__tests__/runtime.test.ts"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb526c1aab544b2f50044cf0632f495a762796560ce95d8e667ed0f0ab21317"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock URL.createObjectURL for blob testing\u0022 repeats the code it sits on: 5 of its 6 words (mock, url, create, object, blob) are already in \u0060const mockCreateObjectURL = vi.fn().mockReturnValue(\u0022blob:mock-url\u0022);\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/core/static/__tests__/download-html.test.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebef5439a9c06f439ed43c7f21919f2a2f509ca74258ac4f928ec7711f685e7a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022We check if the document has a data-vscode-theme-kind attribute\u0022 repeats the code it sits on: 6 of its 7 words (check, document, data, vscode, theme, kind) are already in \u0060return document.querySelector(\u0022[data-vscode-theme-kind]\u0022) !== 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/core/vscode/is-in-vscode.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbdbfb995cafe7b74eadeb1bd4395ac3e523331079b6819bec1457082d10cc03"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create save worker\u0022 repeats the code it sits on: 3 of its 3 words (create, save, worker) are already in \u0060const saveWorker = createModuleWorker(\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/core/wasm/bridge.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"650dacb0fbae5c2af63f27dcc072a6c75295975f8bde4c3b0f10b62b864426f9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add copy button to codehilite blocks\u0022 repeats the code it sits on: 4 of its 5 words (add, copy, button, codehilite) are already in \u0060const addCopyButtonToCodehilite: TransformFn = (\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/plugins/core/RenderHTML.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b9af2780b88e0a56ae90389d329819008bd2a6a3178b6ce86ede095f411b05"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022When the value changes, send an input event\u0022 repeats the code it sits on: 4 of its 5 words (value, send, input, event) are already in \u0060const setValueAndSendInput = useEvent((value: SetStateAction\u003CT\u003E): void =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/core/registerReactComponent.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6b34cf6408f10f5688003d84b292bfa20fc85d35ecb71cbce0af94d5459d12"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Utility types for extracting schemas from functions.\u0022 repeats the code it sits on: 4 of its 5 words (types, extracting, schemas, functions) are already in \u0060export type ExtractInputSchema\u003CF extends PluginFunction\u003E = F extends (\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/plugins/core/rpc.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bd2bfa6003eb4d26443a3a116f76bb8b704a16f7448c9fb2ae5353eb88dd91"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Handle enter \u002B ctrl/meta key\u0022 repeats the code it sits on: 4 of its 5 words (enter, ctrl, meta, key) are already in \u0060if (evt.key === \u0022Enter\u0022 \u0026\u0026 (evt.ctrlKey || evt.metaKey))\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/plugins/impl/FormPlugin.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9327598be280fb80b1845d3c3bf0cc068846975ea2e82e4aa457b6e8652de036"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Index of the step whose value is closest to \u0060target\u0060.\u0022 repeats the code it sits on: 4 of its 5 words (index, step, value, target) are already in \u0060function nearestStepIndex(stepValues: T[], target: number): number\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/plugins/impl/SliderPlugin.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20651cbe1decf746358b8aae8d06ab960e22d4b096bdba01814f829d8857ae5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get prototype methods (excluding constructor)\u0022 repeats the code it sits on: 4 of its 5 words (get, prototype, methods, constructor) are already in \u0060const prototypeMethods = Object.getOwnPropertyNames(\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/plugins/impl/anywidget/__tests__/model.test.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a2d6938d9af4cebd1731036adbcd6574f84bcb4dbcd9f3d74d58fa65345184"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Clamp to 0 and length of columns\u0022 repeats the code it sits on: 3 of its 3 words (clamp, length, columns) are already in \u0060const clampedColumnIdx = Math.max(0, Math.min(columnIdx, columns.length));\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/plugins/impl/data-editor/glide-data-editor.tsx"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc6bd28c85ccdda9adc8f8eb18b1bfc425b153a1be4d55d61b71a22b532618f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Just day, month, year\u0022 repeats the code it sits on: 3 of its 3 words (day, month, year) are already in \u0060const dateFormatter = useDateFormatter({\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/plugins/impl/data-explorer/components/column-summary.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca6ae54d1de6c235ea96e6e5c8987df5d9cd6b9c7fc0781a493895018e98088"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Patch toolbar images\u0022 repeats the code it sits on: 3 of its 3 words (patch, toolbar, images) are already in \u0060const removeImageObserver = patchToolbarImages(\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/plugins/impl/mpl-interactive/MplInteractivePlugin.tsx"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"db46608ee194d44c2da3b9d55cfdbc9be609f5a67aac0cb24925e90f488be8a0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022match[1] is the key, match[2] is the selector\u0022 repeats the code it sits on: 3 of its 3 words (match, key, selector) are already in \u0060keySelectorPairs[match[1]] = match[2];\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/plugins/impl/plotly/parse-from-template.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"45dd356d9b500703baa0fd7dbe742034230601dbe09a6c41b77784082e7833f0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Collect params from all unit specs\u0022 repeats the code it sits on: 4 of its 4 words (collect, params, unit, specs) are already in \u0060const allUnitSpecParams = collectAllUnitSpecParams(spec);\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/plugins/impl/vega/make-selectable.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7428de75dc657bef87884cc2cb1ef82f4e23c971a0b32f9541dafb2d0c5347d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022If fieldSelection is an array, filter the fields\u0022 repeats the code it sits on: 4 of its 5 words (field, selection, array, fields) are already in \u0060if (Array.isArray(fieldSelection))\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/plugins/impl/vega/make-selectable.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea41fa27aecd8b4222d98aa7e2e2fe72a5b01599e4a3900cf6c91df8472b92b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022If fieldSelection is an array, we filter the fields\u0022 repeats the code it sits on: 4 of its 5 words (field, selection, array, fields) are already in \u0060if (Array.isArray(fieldSelection))\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/plugins/impl/vega/make-selectable.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"216c2ef62901da088473710ac1994cec2f9871e00f4a9e6b0d4adf17f0807970"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock html-to-image\u0022 repeats the code it sits on: 3 of its 3 words (mock, html, image) are already in \u0060vi.mock(\u0022html-to-image\u0022, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/utils/__tests__/download.test.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3f23183072409a8044a74cdd19fb6f704c246ee8e872471d9f0c752b4e4bba"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock the Spinner component\u0022 repeats the code it sits on: 3 of its 3 words (mock, spinner, component) are already in \u0060vi.mock(\u0022@/components/icons/spinner\u0022, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/utils/__tests__/download.test.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f62bc7fd2b8fbdc0eee8be2f07688ac328deb2c6d075bce36f17d23a42c54e7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extract base64 content from data URL. data:*/*;base64,contents\u0022 repeats the code it sits on: 6 of its 7 words (base, 64, content, data, url, contents) are already in \u0060const base64Content = dataURL.slice(dataURL.indexOf(\u0022,\u0022) \u002B 1);\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/utils/fileToBase64.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2be005f483bd6f5b221141ce2d92c4a2690610b435e8d44c28357e17fe5dbd1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Split path into segments\u0022 repeats the code it sits on: 3 of its 3 words (split, path, segments) are already in \u0060const segments = pathWithoutProtocol.split(delimiter).filter(Boolean);\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/utils/pathUtils.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2578d6acb5922cd22fea0bbe234878b2fbc561eaf1b54e1412c5c00d942283f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Copy node_modules/@github/copilot-language-server/dist/ to dist/\u0022 repeats the code it sits on: 7 of its 8 words (node, modules, github, copilot, language, server, dist) are already in \u0060const srcDir = path.join(\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":"packages/lsp/move.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"277fbb0e320be5e2e9e8927d770943be963a12b377fe91412c6bc18ec580c91d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Has at least one \u0060mo.sql\u0060 call\u0022 repeats the code it sits on: 3 of its 3 words (mo, sql, call) are already in \u0060if (!pythonCode.includes(\u0022mo.sql\u0022))\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":"packages/smart-cells/src/parsers/sql-parser.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b064f60ccbb7349d358463ffade408078fa80879295016b826a5eb7c638827"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Resolve to absolute path\u0022 repeats the code it sits on: 3 of its 3 words (resolve, absolute, path) are already in \u0060const absoluteWheelPath = path.resolve(wheelPath);\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":"tests/_pyodide/test_pyodide_acceptance.mjs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7f82825afb54e3dbcca041d8bd312ff8bd65fc2e51cc14ca1998b4a91bc132"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Step 1: Start wheel server\u0022 repeats the code it sits on: 4 of its 4 words (step, start, wheel, server) are already in \u0060console.log(\u0022Step 1: Starting wheel server...\u0022);\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":"tests/_pyodide/test_pyodide_acceptance.mjs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"3488cf8a58f13bedc097db7f166232c6a9fdb872a6d27eb5e1404ae9ba6c5083"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Step 2: Load Pyodide\u0022 repeats the code it sits on: 3 of its 3 words (step, load, pyodide) are already in \u0060console.log(\u0022Step 2: Loading Pyodide...\u0022);\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":"tests/_pyodide/test_pyodide_acceptance.mjs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9640ce359f85601d951a3cdb3d4d9ba23334fd7f59b6ff237e5943a242207c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Step 3: Install the marimo wheel\u0022 repeats the code it sits on: 4 of its 4 words (step, install, marimo, wheel) are already in \u0060console.log(\u0022Step 3: Installing marimo wheel...\u0022);\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":"tests/_pyodide/test_pyodide_acceptance.mjs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ad5f132afb8e57c9370b9d8a5a473d58fec0428763405e69389ffde954edea"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (222092 LoC, 3033 module-visible types across 222 directories) overshoots its size bounds. 2 of 11 build unit(s) (Python, npm) overshoot their size bounds, lowering Project Cohesion to 6.4/10. 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":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2d5244dbb9040f0ef9a41721fc246c38399605a5b233c47266a2093207fec1"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060frontend\u0060 (164284 LoC, 1616 module-visible types across 206 directories) overshoots its size bounds. 2 of 11 build unit(s) (Python, npm) overshoot their size bounds, lowering Project Cohesion to 6.4/10. 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":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0c0cc89c5cef671b3a0a4e5f2ad266bd9b26cbd43efdf415b0f62913ad1ac6"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d482cdf30b1cc0fd5bca4c1bc4326e53cc363558b13012342f56acf900ce9a0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"31a86b5723a0b8d347efb7958a1a6ccdc74bfb504adeaab6ebe6fdbe756ef0de"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd34071f0a37397b22950926e6e7d533f19a1ab2e35c80a3ec230eef7195ce4c"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a5a94de598d5f66dcc4ccfd4adeb9bbd82d59e61120ddfa86a1354ef816f7094"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94112b1d706b2f9d9118c577518290919c2d702aa0b944fa06a5bcbb51101185"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"700a97074f905f1bda98d9a02e82ae673af0c2944891f2ef98e4cb67e7ff7b20"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4c67138b630902b907d7b3f016ad4ea0616a513c495ef27c1cd1d94f3a384f26"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b1081f56f0a3af67e91e5680db086cf13717e05c05e118fa052feec5d8a1ce04"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"542e23892ba353f77371dcb55052c25b6875fcfc00ebfceb34ca6229b2fa0022"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5a967808aaef120721801ba6511c37ec1d25ecc652259d2f58568de53ddb1f3"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6eef681d5b86685b36e8b291c14fbd635c7e7e984c00467a6bf9ac3b39f038f5"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d23147f2465a7915d17bb6d934b1e91909280526463337c5497e9397dd29231"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eca807be79b03a5e06316a66692935e5593f2acaf69d791360a63dfe20b1bd38"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd618ad414591d7c01c6fd73c1779d673110d97bb396b6f2c631b6c046822b4f"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ef0f2d86a1246c69a361c6c01289e8a07a9743e364b6bd857635551c7946c151"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3540cdfa0b0393a899495a0b307b8c19baebc7a815c27b08374fa31a51f308e4"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fc076a9b9b66568390e779fd1ab432d3c1b559ae395b90f9beb13640a5c10036"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"418ce3b3af5ada97b87950a064e02fd57a4653bd649a3059e9aa55e7cc31b72c"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dbdbce237c43bdd302d72cb0698fb50e853b76275cb21f19d8d60e569daabc11"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5670a7ac73ccca4ef7b01a196146bac1b8586f1715c127c8852731b10fc58f8e"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"37539621a9e76fe8d8ebc308d968e4e8865f549c0b8a29727581b9cb7b70643b"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"40874717045e5eee4757d307f5cf1b4ca19067e537781145a8d917273f90c8b2"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ed059458dc0d864f79fffc2c8cd3f09ac2213f256b255ba1e07734350228541"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4db7f612f9b6841bb2f5a205fce0a08baecef46ffc3bed39be322f7e605be9f2"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0cc7d913e926141ddbb2d327e1d6da37d2f95c9c63f8caa6bba65095c155250f"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"29daff7dfcdf78285f8c8e051c8d45bcc1407ba435f86da68a3e14fffaa21279"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bebce7e627af9970374c34db5b5916f7f650fe938310a0c443ad39019aadfd06"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5a2a44928b2194f2c984a23a3f3f3252d5104f93227415c41048437be7b671a"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b700af809ef23e9d6c0c5f3f2c49c84af9027c5e4aa2ca0c83e1b00c801fbc2d"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2738ba2918b4689788880f6c5bc97cae01df7d5cf482a23312ea459327e73086"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5659abfd27102f0a21bba5ae9e196749bf4bf45a0e2a55c8125b0316539f82a"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"5e2e37bcd2b281001c8d110577c50fb62b502bc57455ebef9fd8f8e180d47c38"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2adcd5a52461d5797eec3461f34dc2c90251b9b58cbd2c77c1064031d97b2b25"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d0e77537b00ea8c7dd94b5cf31b8b57aa9a4ff007f51681f9a87eed57b9feaf"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1ff3adf75825fe58d728068c9cf707921a1af4457254f1ff8e0084c5b7a7487"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6580d0dda31ca34af771b5ebd438d4e638220d127b3ecc37874bd6ef00c9de2"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"29eb22530b6bf73e87e0afa135ae98baac04d882593b9f00157cd0c7c2f51626"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7178d5d87f7207c795cc06a9f289721fb1be9ad314cdd446e5c13593770af607"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"376e7d1492d9df533b74a613c73b041786728061434b6f9a68216fee6e663f57"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05847366655671122fb9bc088112ac742f92a6eb52f94670da8201166244ad5c"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c3e1d566cff5a446836a8594bd70888a90baca987fe9e98b6c650b7bd360b85"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4079b0223a425426ff4c8effdb7c785f2d304e6f1b50767d9b707d9d5dfc55e5"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e505b0a41036f66c00059cb0d537e39a93304ba64a1d22247450bbc6879b8831"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2e18b8c7694f169021c6fa3040a9fb7cf13db70f3ac177de68de55d72eab4f82"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"201d3102270b154f2499ae11b91d41e42069ea678e9b29ca80edc847cd1c58ce"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"cfc6916752720527adc0ddc09a8c3f1a8e7583f737764aeeb752a43a26167149"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"43fd0589203ec07e10334ed77494b9266ae70f5bba49415dd342577c849b2c0d"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"f19eb2262d10b3021a5dbdb26f62679b883d95ddda06f7eb21c4948f3c0e2c32"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"3eb03552febc7093bd2acc6ff15f91408fc36bc33a767af7497049c26f07c350"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"4c544835b94ee9bd1c0020ea5df6cd163aacc02cb966b08df3abe48928e982ef"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"68cb0417236724ef7302b3a175095ed5f7ef268fcb7f83bd5bad24ed11d6c767"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"d12c6f86d0408d308ddc6e053738aca844a373adb1a1528fce7420ea4a505231"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"6291dd71bce3ca8e8ffa65fd3349037db416f6b64db3b85b4c8bbe6add5d0f9a"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"668ae95d75dd6581290b116f66b487773e992d7693e52784c9bf0465aabe6498"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"0b102bbc99be5cbb6c16780f1f2c0bfc06678145b8210383b88ac8ae17e73963"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"560ed785a3f28c98fa122d0774d94bf9ce975c21b3251c5fb9a4efd02b39b3a6"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"1f5248788ceae8ce4ba092cd11eada0c76d182fe8228c4011e574116c9594315"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cebab4c9af2c4b96ccd1b684c29002e384d9ee351b0d7077eba6c19c2d02e821"},"taxa":[{"id":"CWE-116","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a55a0b24236b4b3a6f3e995487e97ae6a711b097289f01f7f675cfc71621ee63"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"911ee45c9be51d343c0a324ea8e3ff6d6cd063f759f2f14d59f52f5e029fe192"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"352e105f21da29e2e3b3800781f2a14c0654094d7827a383d0bb262b62fc3236"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b808caa99add006aa123d07f1b6a484fa633caf484d490d7cde3fa21b3dda34c"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e300ff0042cc91ca72d526dda406d34e8c5999345b92c71b492f4531a9bd64a0"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94ffc53ddf5f64584858796cec71d74d85e00b2ddec070bf805acd6c72edf16e"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e35831b90baa9de07150f91dd71b268b698f075c3f2f8f65582a6b4ced6437c"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e2b793b29504d252be56b6eaf48d39dbe4bb6d847b18787f1075242cad2e42ff"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ddb96421f6a4aab1bb487875a4bbae397a07584089e1933ebf94646a651d907"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e55c793d3e7b62f182dc3b847bd3125ec300c9bb962a0d812eff3404ebef58f3"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f405737e27f454384cbfa054e80fd99b719d6e646b000adba4fed84683edfcad"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43be8cc2a71a2a9ed7340586ebefc71bafccf0e1f6da7207a6a1d69b0b582884"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a643f36b3ea734699626f6a7a870d99b2e7028a217fba339dfc213024567ff9"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"47ebbbb430dcd40566456bb1e010947d29d5d4e17a8991a2669981b5282c9b3c"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac14fa18ded30ddb0ffe9cf6995b78c9bb3e7df87bdb0370dca2059f385f2758"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66206d35ac70f8cacdc19784aa37020373b80bf319f9987fb690f2e056fbf29f"},"properties":{"dependency":{"package":"maplibre-gl","version":"4.7.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"critical","fixedVersion":"6.4.1","relation":"transitive","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":"29827ff1862f4841c892ec8b8867f048f1bfa9d96110dfe90e22961d0aa8306d"},"properties":{"dependency":{"package":"shell-quote","version":"1.8.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"1.8.4","relation":"transitive","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":"d0750c389d9c152bf1d4e31dfc91f23aff8c134e832845da27b3738c33162b18"},"properties":{"dependency":{"package":"@fastify/busboy","version":"2.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.2.1","relation":"transitive","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":"3571bcba739946c2b1aeb37806dbba2840c0c6ca48db84a50ce6ff8250f53d1a"},"properties":{"dependency":{"package":"@modelcontextprotocol/sdk","version":"1.17.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.26.0","relation":"transitive","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":"2eae5ae78d85cd537b0fb3020ddcfb60e7b62739c2b4fe6fee05aac434877c13"},"properties":{"dependency":{"package":"body-parser","version":"2.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"2.4.0","relation":"transitive","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":"d88115441333a1a360d0d3b28a43abb317a63b24caf81af36f49c52554728482"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.1.16","relation":"transitive","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":"2cd42473d54422eeb9592313756021f9c58757cdeedbdf5c21bd7d42a9f1fbf7"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.1.2","relation":"transitive","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":"865676268cdeeb3ce02e07ce4bad75cb3920806eebab30cd8952320afa236f5e"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.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]"],"severity":"high","fixedVersion":"5.0.7","relation":"transitive","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":"f88fc00ec7861a56df42bb26114ca872e3309402838f7cfa4c001103d41b71a1"},"properties":{"dependency":{"package":"dompurify","version":"2.5.9","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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.4.17","relation":"separate-copy","declaredRange":"^3.4.17","reachability":{"kind":"production","file":"frontend/src/plugins/core/sanitize-html.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":"8cebd965383fbf6ec5aa075ac5961d71615ca803fb60541206693fa7a1c8ca18"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.1.6","relation":"transitive","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":"bc0d4bfbc2dbf13b7b4678c7f750f00c9c46698f61534d37a6a18fd133b243d5"},"properties":{"dependency":{"package":"flatted","version":"3.3.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.4.0","relation":"transitive","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":"685cba4514570b53bf9bc85812fa54c07fec7b3f62fc67d4712c038e9ec2e605"},"properties":{"dependency":{"package":"js-yaml","version":"3.14.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.15.2","relation":"transitive","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":"2a14ea48d0884c57b3b8de5e1ecaef3cfa17da6b30b57c3a8be999de1330b2be"},"properties":{"dependency":{"package":"lodash","version":"4.17.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.18.0","relation":"transitive","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":"55b1a079317bb294024b9cebe858d5a3f0c259f9a69ec48718f9536ca7f3ba4c"},"properties":{"dependency":{"package":"minimatch","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.1.4","relation":"transitive","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":"0d669b49d9475bc6e6f668de35a4f496d6adf21b3102b16ff2f4435068479cb9"},"properties":{"dependency":{"package":"minimatch","version":"5.1.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"5.1.8","relation":"transitive","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":"b51077f36dc8e2874bfb81c941e9ed998853192f5e23b4d38c7b847204db0e62"},"properties":{"dependency":{"package":"minimatch","version":"9.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"9.0.7","relation":"transitive","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":"98f5b7f1cc7ab72c7ef988be1ab835626c9ba93796c264fb44a05726fc7d8dd6"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.3.2","relation":"transitive","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":"74544f0ae015218092291d7247f32133cfb63f4982f3161e4a20e7f4b9d838a4"},"properties":{"dependency":{"package":"probe-image-size","version":"7.2.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"7.4.0","relation":"transitive","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":"549bcf508709afd19b2bed6db704d7a1425c76c084a0453fcd8e812b00abc0f5"},"properties":{"dependency":{"package":"rollup","version":"4.50.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.59.0","relation":"transitive","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":"c3daaf0e069f3a0b7fb230083a3a0735bedda4ec31cb8c4ba371fe51ead279c6"},"properties":{"dependency":{"package":"undici","version":"5.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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]"],"severity":"high","fixedVersion":"6.29.1","relation":"transitive","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":"781527acf0fea0a0aaa24d4277461c99b41178a4f477ac6d4c258837b94afcb4"},"properties":{"dependency":{"package":"undici","version":"7.29.1","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]"],"severity":"high","fixedVersion":"7.30.1","relation":"transitive","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":"900ac4454bcefe5f522d5b5b7ff820b1905884ed5f0923039986333b832e3cd2"},"properties":{"dependency":{"package":"vega-expression","version":"2.6.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"5.2.1","relation":"transitive","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":"af3a18cf730f6276ad50ac81337c95bc6659e9de68697e5d39209e4ecd015b5a"},"properties":{"dependency":{"package":"zod","version":"3.25.76","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.6.6","relation":"separate-copy","declaredRange":"^4.6.7","reachability":{"kind":"production","file":"frontend/scripts/check-ai-sdk-compatibility.ts","line":12}}}},{"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":"11a8858958f6af7f2809c36538a0c7dba6a1fa7cb81360e64b1ca91be4e8ee1b"},"properties":{"dependency":{"package":"@vitest/mocker","version":"4.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"4.1.12","relation":"transitive","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":"3e28dd2da9a40e794e9cb9bb48d649ff80832ed5b9964b8392540d4033c64d16"},"properties":{"dependency":{"package":"colord","version":"2.9.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.9.4","relation":"transitive","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":"ea7e5354ab7cfc90dd177dde60810f39ea3e10b3fe5c807ca0b2b906b7004ac5"},"properties":{"dependency":{"package":"glob","version":"10.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"14.0.2","relation":"transitive","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":"4d3946b356f4dbe198e5d0c118bf0457e2d55e19062cdf7bdef1cdf875aa120e"},"properties":{"dependency":{"package":"glob","version":"13.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"14.0.2","relation":"transitive","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":"77595ddeb2a6b879721911aadde164fd7862ca58273f1b37abcf5a8d19439247"},"properties":{"dependency":{"package":"mdast-util-to-hast","version":"13.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"13.2.1","relation":"transitive","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":"c3bac0b956cc7625db5ffaa04443fc36030c2af44043a6f2dfd365abaf694f40"},"properties":{"dependency":{"package":"minimatch","version":"10.2.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"11.0.1","relation":"transitive","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":"932a3bfecc4fdb553659a83b676fe51d69a354f33acdb515911e099d90c2a373"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.0.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"6.1.5","relation":"transitive","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":"8a57eab2125a83bac1a037585c1deae98907ba83f93aa61c13b5779f77ed4027"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"7.1.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"7.1.6","relation":"transitive","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":"2a10bf30330aa4cd034a62b84eec735a20fec1e53a688411a12bc03e86bfe06e"},"properties":{"dependency":{"package":"protocol-buffers-schema","version":"3.6.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"3.6.1","relation":"transitive","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":"f3b934c074fd0d26b7c2fd3255f1618b9d1cceecf4321bc1f2a4dd3d52789855"},"properties":{"dependency":{"package":"qs","version":"6.15.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"6.16.0","relation":"transitive","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":"18e45b5679784d28c8f73fad1a460dc5a339e58a975281ec8eac42099032c2fc"},"properties":{"dependency":{"package":"qs","version":"6.5.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"6.16.0","relation":"transitive","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":"2a1187aa88b5f103d60aad5310ba3f08326d5bc366c9bdf6b5ed532e5987856d"},"properties":{"dependency":{"package":"request","version":"2.88.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","relation":"transitive","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":"8b5b392823fe38441da2092e714b8d973e2c00629222139b650b3361bc61fd30"},"properties":{"dependency":{"package":"tough-cookie","version":"2.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"4.1.3","relation":"transitive","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":"bcaff5d1e287866fb15ab08f33c0744f85cfc07f596d7af736c916f57cc95099"},"properties":{"dependency":{"package":"uuid","version":"3.4.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"severity":"medium","fixedVersion":"11.1.1","relation":"transitive","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":"61e867f28bdde15b6b441a5b95da341ed5f05f31a7a4b262f16f511fe37c51a5"},"properties":{"dependency":{"package":"vega-util","version":"1.10.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","SNYK-JS-VEGAUTIL-559223"],"severity":"medium","fixedVersion":"1.13.1","relation":"transitive","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":"6d6d227640a7d85a23b0ab2508baf56d306cc780c7752620f7f0cf41a51c2f14"},"properties":{"dependency":{"package":"yargs-parser","version":"4.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","SNYK-JS-YARGSPARSER-560381"],"severity":"medium","fixedVersion":"5.0.1","relation":"transitive","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":"f392b1419f96aa208ac2115d3c34c2f00540ad0c5381e81423f8727e54319f35"},"properties":{"dependency":{"package":"@babel/core","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"7.29.6","relation":"transitive","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":"d8884977fb5db81074778c0c1d8e66cf2219fb89e44e4956024b365306db135d"},"properties":{"dependency":{"package":"diff","version":"8.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"8.0.3","relation":"transitive","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":"3f54d1f4607fdaea22194262dabcf05db6136d2d813d8619ac129c6b6f33edda"},"properties":{"dependency":{"package":"esbuild","version":"0.27.3","advisory":"[GHSA redacted]","severity":"low","fixedVersion":"0.28.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"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":"456d2c3f511799653c765ed1632fec68481d07b1aa9db4d76a6f5dab8c714fd8"},"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":"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":"ccc0cc717a360059224d480b2bc872b7f88a881960a07fa78798e15be3c752b9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 19 of 1280 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 1280 of the 2630 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: marimo/_ai/_tools/tools/cells.py, frontend/src/components/icons/marimo-icons.tsx, frontend/src/core/codemirror/lsp/normalize-markdown-math.ts, marimo/_ai/_tools/tools/dependency_graph.py, marimo/_smoke_tests/issues/1033.py, marimo/_session/kernel_exit.py, frontend/src/components/sort/SortableCellsProvider.tsx, frontend/src/plugins/impl/plotly/Plot.tsx (and 11 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ai/_tools/tools/cells.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb261890e859029932921f91cd94b4c95e132d21bdfecd8ee6b36351015d7541"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/icons/marimo-icons.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1921c7f87abe3f6b08d4858d172ef8b84004d2b218f2021cfcb1b4a7defe3fa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/lsp/normalize-markdown-math.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ebaa7b8c85d756947b45564bf86ba1ffabec5146f17b91b33a176fb58d88ef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ai/_tools/tools/dependency_graph.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"568ef8e9e1da381818ac0e4a9123af4b583c8c5ec6fe9686ad1318fcf8b82d2e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/issues/1033.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8ea814da7113858d0ce18577ff6b7ba355c5e382c967c73e0c9abcbc2a183c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_session/kernel_exit.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da5ab15b641e032213d5f02bda4b10047446e0a748939ca8f6510e718e02e0a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/sort/SortableCellsProvider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b5d39228ba62b6a2777cb84bf8bdab3e3cff6ce5e604c2d89bdfee74446481"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/plotly/Plot.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"887b27a593fac79b8bc4afc8dc85774bf25efcd51f2336da6e0f6a37ca58d838"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ai/_tools/tools/lint.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1984858fda8847b6ea2262353dedba62309a9954c149ad8f254b79060b89f163"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/sql/ibis_backend_catalog.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74c56bcfc726b890b5dee40d49fa23940fbf7d1edfa356c5acff629c518b287"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/ibis_formatting.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"814428a062a4b692aaa2ae0857a0d32f2ba3764ae7cab26d3a335c6e80b8439e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/cell-selection/feature.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0f6a1cb06c6c3a746fe1e9f46c9aa708ddc24343c7c631f6b87995c9effed8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/hooks/useInputHistory.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2434b7a5c78527d60635de7dd3568e90258d21e7c0f7e0af81516ad4db80df6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_mcp/server/exceptions.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74886a895a2786102f68781bdae547b76f73687bcc0f916d49852fab5610c621"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ai/_tools/utils/output_cleaning.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b2f15c63b1777db10e0c55fb51638929c49fb64e29c54c12c7839376328d05"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/keymaps/vimrc.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"061b29b8dc01ab58ba4f47ca04a0f1ea780046150774138a50695f68c533fab6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/dropdowns.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef3ff3dd8d9566b62ad6d851ee6673dc901ed8513de233388570af652a682b0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/errors/traceback-modal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9629f3327b19e67b1713530998028070bfb7fd823320806340e4e86da415e49e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_mcp/server/_prompts/prompts/errors.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2084ca2c6dbe7942c4817daee6398828fe4f48a424c7300b0bb0ff5bd5bec6c"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: cell-array.tsx \u2194 cell.stories.tsx: \u0060frontend/src/components/editor/renderers/cell-array.tsx\u0060 (context components) and \u0060frontend/src/stories/cell.stories.tsx\u0060 (context stories) sit in DIFFERENT parts of the tree yet change together 50% of the time (18 of the 36 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 18 shared commits counted here, the most recent 3 are \u0060cea1fef0\u0060 fix: setup cell can be focused / enter command mode (#6645); \u0060863fec4e\u0060 Refactor \u0060CellArray\u0060/\u0060Cell\u0060 to use atom-based state management (#5897) (at that commit the file was still \u0060frontend/src/components/editor/renderers/CellArray.tsx\u0060); \u0060c29afca6\u0060 fix: remove autoscroll (#5344) (at that commit the file was still \u0060frontend/src/components/editor/renderers/CellArray.tsx\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/renderers/cell-array.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2629bd75522922e7326f013a3ac798f5529ea583d8752d8845022ddc603a3e42"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: DataTablePlugin.tsx \u2194 dataframe.stories.tsx: \u0060frontend/src/plugins/impl/DataTablePlugin.tsx\u0060 (context plugins) and \u0060frontend/src/stories/dataframe.stories.tsx\u0060 (context stories) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060143b4cf7\u0060 feat: add GeoJSON export for tables and dataframes (#11116); \u006054a3b92b\u0060 feat: export geometry columns as GeoParquet (#11063); \u0060b65bfb48\u0060 perf(table): lazy download-size RPC \u002B first-page extrapolation (#9691) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/DataTablePlugin.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d17993c8f7be492ba42510bbe2c6db41f9bf1f18f99dbe92608234c8ce9e39c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: kernel_context.py \u2194 script_context.py: \u0060marimo/_runtime/context/kernel_context.py\u0060 and \u0060marimo/_runtime/context/script_context.py\u0060 change together 79% of the time (15 of the 19 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 15 shared commits counted here, the most recent 3 are \u0060cb68a52f\u0060 feat(cache): default persistent caching to the lazy loader (#11403); \u006055e2a22f\u0060 feat(cache): sanitize signing config from untrusted layers (#10525); \u00603dbe26fe\u0060 refactor(cache): introduce SigningPolicy and rename mode to verificat\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/context/kernel_context.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5083d3debf640f6dab885ebe9c825570f73c9f0cf148892a997751d418e7ae32"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MarimoErrorOutput.tsx \u2194 errors.py: \u0060frontend/src/components/editor/output/MarimoErrorOutput.tsx\u0060 and \u0060marimo/_messaging/errors.py\u0060 change together 69% of the time (9 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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 9 shared commits counted here, the most recent 3 are \u006015ed710d\u0060 feat: support lazy imports in setup cells (#11431); \u0060e2e1556e\u0060 feat: Wrap and pass SQL Errors (#6498); \u0060143620ff\u0060 mep/8: Setup cell protections (#4382) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/MarimoErrorOutput.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cff256a211ea5c530571799f7a1d957597d491e97e91a634abaad5a30460deb"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: edit-app.tsx \u2194 run-app.tsx: \u0060frontend/src/core/edit-app.tsx\u0060 and \u0060frontend/src/core/run-app.tsx\u0060 change together 67% of the time (8 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency 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 8 shared commits counted here, the most recent 3 are \u0060e7049767\u0060 Initialize cells from the host document (#11532); \u00609bc92717\u0060 Consume host events through \u0060NotebookClient\u0060 (#11305); \u006072bda05d\u0060 feat(frontend): introduce progressive loading for wasm (#10044) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/edit-app.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a3ac0a40a7ef5e2fcbd64b7c984c1a2bed4968a6249d766e21d10c3482247f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: dataflow.py \u2194 markdown.py: \u0060marimo/_tutorials/dataflow.py\u0060 and \u0060marimo/_tutorials/markdown.py\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency 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 7 shared commits counted here, the most recent 3 are \u0060f9f475db\u0060 Bump matplotlib pin in tutorials to avoid Path.__deepcopy__ recursion\u2026; \u0060373fe21b\u0060 feat: marimo new prompt.txt (#4426); \u00606b0c5fd9\u0060 fix: add tutorial dependencies  (#4368) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_tutorials/dataflow.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f4db1890f60c88d7223591c003ebd341ecf5ae5d602e6c55b73861432293e2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: plugins.ts \u2194 __init__.py: \u0060frontend/src/plugins/plugins.ts\u0060 and \u0060marimo/_plugins/ui/__init__.py\u0060 change together 62% of the time (13 of the 21 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 13 shared commits counted here, the most recent 3 are \u00606e6d801e\u0060 feat: mo.ui.matrix() (#8354); \u0060a0ba6041\u0060 Add Panel support (#2719); \u0060c461eb59\u0060 experimental: mo.ui.data_editor (#2567) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/plugins.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d48b028f91b7da7159ce1c05187dfa76f91c6a5e64a8e81ec6ac6afbbefcc0a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: cell-editor.tsx \u2194 utils.ts: \u0060frontend/src/components/editor/cell/code/cell-editor.tsx\u0060 and \u0060frontend/src/core/codemirror/language/utils.ts\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006035f44056\u0060 fix: [rtc] edge cases for auto-run and focus (#4861); \u00603f2d4523\u0060 Revert \u0022improve: Move highlighted code to newly created cells (#2484)\u0022; \u006025afc557\u0060 improve: Move highlighted code to newly created cells (#2484) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/cell/code/cell-editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0127b5c15bc130ef01c7209bfb299590f2f638c67f875aa7956ac6df67f80477"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: user-config-form.tsx \u2194 feature-flag.tsx: \u0060frontend/src/components/app-config/user-config-form.tsx\u0060 and \u0060frontend/src/core/config/feature-flag.tsx\u0060 change together 59% of the time (27 of the 46 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 27 shared commits counted here, the most recent 3 are \u0060f8be7db3\u0060 feat: experimental line_timing \u2014 green active-line highlight \u002B per-li\u2026; \u0060cc265db2\u0060 remove feat flag for storage inspector (#8987); \u006014e78025\u0060 fix: dont rasterize images in the /pdf endpoint (#8558) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/app-config/user-config-form.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4a3825b44aec06c7ec03d69f0864ab6e8da64f34fe74aeba502facb3e06b33"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: default_table.py \u2194 ibis_table.py: \u0060marimo/_plugins/ui/_impl/tables/default_table.py\u0060 and \u0060marimo/_plugins/ui/_impl/tables/ibis_table.py\u0060 change together 57% of the time (8 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 8 shared commits counted here, the most recent 3 are \u006037976952\u0060 improvement: use backend binning for numeric columns (#5669); \u006046e8140d\u0060 chore: refactor col summaries (#5014); \u00609c072b7d\u0060 feat: add col filtering (#4531) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/tables/default_table.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c36ef2a6cb8a827321fa61d377a55c8339ab767cfb237caf24dfbb432295c1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: ai-provider-icon.tsx, config.py, config.py: 3 files \u2014 \u0060frontend/src/components/ai/ai-provider-icon.tsx\u0060, \u0060marimo/_config/config.py\u0060, \u0060marimo/_server/ai/config.py\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ai/ai-provider-icon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"918365bcbfbc20806df87fece30414235c40c44f0f8b9fa2f31b3eda729a785c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: data-table.tsx \u2194 row-viewer.tsx: \u0060frontend/src/components/data-table/data-table.tsx\u0060 and \u0060frontend/src/components/data-table/row-viewer-panel/row-viewer.tsx\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00606ca62c81\u0060 adjust styles for table (#8963); \u00609d64f844\u0060 feat: unify row viewer and column explorer (#8905); \u00607942ddae\u0060 improvement: selectable row viewer (#5147) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/data-table.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99e32e9b9f235ccf5a68931d28a1aea8328a914e01c9682528e472ed4cf4d73"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AnyWidgetPlugin.tsx \u2194 model.ts: \u0060frontend/src/plugins/impl/anywidget/AnyWidgetPlugin.tsx\u0060 and \u0060frontend/src/plugins/impl/anywidget/model.ts\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency 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 6 shared commits counted here, the most recent 3 are \u0060f7b1571e\u0060 fix: anywidget refresh value (#9454); \u00606c080985\u0060 Separate anywidget Model from widget binding lifecycle (#8156); \u0060e9741235\u0060 Unify handling of widget state/buffers/bufferPaths (#7441) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/anywidget/AnyWidgetPlugin.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d914620672f89d3c0eafcf5faa0b95c42920e47357f85648511931bcf0cb2a9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: pair-with-agent-modal.tsx \u2194 commands.py: \u0060frontend/src/components/editor/actions/pair-with-agent-modal.tsx\u0060 and \u0060marimo/_cli/pair/commands.py\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060a5d03aa6\u0060 feat(pair): target notebooks by stable session ID (#11013); \u00604c64fc40\u0060 feat(pair): add opt-in CLI prompts for agent pairing (#10889); \u00603e44bbca\u0060 fix(pair): use --file path instead of --session for pair prompt (#10367) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/actions/pair-with-agent-modal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0898ac69652fe95d0dad1a786da56adc1e00630290b8d1d332a335681747d852"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: commands.py \u2194 commands.py: \u0060marimo/_cli/convert/commands.py\u0060 and \u0060marimo/_cli/export/commands.py\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006095a290be\u0060 Ask for confirmation if file name already exist instead of overriding\u2026; \u0060fa5ed75b\u0060 chore: use Path over open (#4005); \u0060d7c0e43d\u0060 cli: better support for bash completion (#3230) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_cli/convert/commands.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3587079d233fe204ae3d61280128a683820d8f2d05269db42e79a48c3b676f51"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: lsp.py \u2194 index.ts: \u0060marimo/_server/lsp.py\u0060 and \u0060packages/lsp/index.ts\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006048eb3f83\u0060 fix: secure language server websocket listeners (#10979); \u006021cfe3ea\u0060 fix: LSP servers not stopping gracefully on shutdown (#9084); \u0060353bef38\u0060 fix: kill LSP child processes on shutdown to prevent memory leak (#8927) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/lsp.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49fbcfaad123745db1ff546c3c010ab35c7a58a971aeeb43c53c193633ffc68"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: cell-array.tsx \u2194 types.ts: \u0060frontend/src/components/editor/renderers/cell-array.tsx\u0060 and \u0060frontend/src/core/cells/types.ts\u0060 change together 53% of the time (10 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060b0eee6eb\u0060 improvement: start markdown cells with hidden code (#5627) (at that commit the file was still \u0060frontend/src/components/editor/renderers/CellArray.tsx\u0060); \u0060c04aaefc\u0060 mep/8: frontend function hints (#4025) (at that commit the file was still \u0060frontend/src/components/editor/renderers/CellArray.tsx\u0060); \u0060de49311d\u0060 improvement: show last run in cell indicator (#2954) (at that commit the file was still \u0060frontend/src/components/editor/renderers/CellArray.tsx\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/renderers/cell-array.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cec630bf14881e93450cb6451e48f57ad1a752e8f535d7521981d2719f1a208"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: bootstrap.ts \u2194 worker.ts: \u0060frontend/src/core/wasm/worker/bootstrap.ts\u0060 and \u0060frontend/src/core/wasm/worker/worker.ts\u0060 change together 52% of the time (16 of the 31 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 16 shared commits counted here, the most recent 3 are \u006054bb253c\u0060 Prepare WASM sessions before starting execution (#11520); \u006030ad03b0\u0060 Follow the WASM notebook through its host stream (#11517); \u0060356a2664\u0060 Serve notebook edits in the WASM worker (#11488) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/wasm/worker/bootstrap.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22af8c5629a11adf55b2fd20b84dcd6874a07880b648f6e96103aabf5fbb6f71"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DataTablePlugin.tsx \u2194 ibis_table.py: \u0060frontend/src/plugins/impl/DataTablePlugin.tsx\u0060 and \u0060marimo/_plugins/ui/_impl/tables/ibis_table.py\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00607eaa8928\u0060 improvement: experimental backend aggregations in table charts (#5704); \u006037976952\u0060 improvement: use backend binning for numeric columns (#5669); \u006046e8140d\u0060 chore: refactor col summaries (#5014) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/DataTablePlugin.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de115923cab21821e848b2be2e8e5718a3fb51b14a4e5f99ae5c47d1f9af62f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: __init__.py \u2194 builder.py: \u0060marimo/__init__.py\u0060 and \u0060marimo/_output/builder.py\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006017631414\u0060 Add \u0060mo.inspect\u0060 for rich object introspection (#5936); \u00607cf556ee\u0060 feat: mo.icon (#619); \u00606c62bbca\u0060 feat: mo.video (#234) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/__init__.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3793b871253e4a1c252450e3426106fae4231ee9cbf1192ed80fd3f8770f38"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: export-actions.tsx \u2194 dataframe.py: \u0060frontend/src/components/data-table/export-actions.tsx\u0060 and \u0060marimo/_plugins/ui/_impl/dataframes/dataframe.py\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060143b4cf7\u0060 feat: add GeoJSON export for tables and dataframes (#11116); \u006054a3b92b\u0060 feat: export geometry columns as GeoParquet (#11063); \u0060bfa96392\u0060 feat: add shared table export dialog (#11029) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/export-actions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa6004d70eb374e60087ad77040ee48e0b251076b0d46c4d874b5709906688b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: array.py \u2194 batch.py: \u0060marimo/_plugins/ui/_impl/array.py\u0060 and \u0060marimo/_plugins/ui/_impl/batch.py\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060bc203a43\u0060 fix(form): unify Ctrl\u002BEnter, Shift\u002BEnter and Submit button behavior (\u2026; \u00602934e398\u0060 fix: higher-order components should call \u0060on_update_completion()\u0060 (#3\u2026; \u0060d7a062ab\u0060 feat: add reactive execution on \u0060ui.array\u0060 and \u0060ui.dictionary\u0060\u0027s cont\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/array.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7a635b25b08114708a29c83dc340e149dcd39c56fab034341669e84d345160"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ad4701c91f7eaa24aa7b7536975da3068c18dd1ab098025ae5c285286432c8e"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/islands/__demo__/output.html"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead4e292a562dd3ebd9c834b143cd091cd2f1c7f9f023fc39b3d451ce3189af2"}},{"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/editor/file-tree/renderers.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50650db8bac0682b02e21eeb4f47232ec17463b5ad8f6cd5883cc6cbd14da33"}},{"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/editor/output/VideoOutput.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5bb14c463777d3376fe87aaa87c5d2244732ad72e2a141e3764637bf8f6c0b"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/markdown/completions.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1d71fa558bf1e473793621b1acafaf00f85684c8a5f7f42df5e72ef282a624"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/matplotlib/matplotlib-renderer.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd4fd5a8a558676f07df938597c3818088b7152dec2869a2193484a1bd4bba5"}},{"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/chat/acp/agent-panel.tsx"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"776214829688041f976489f85b28ed879c0703a91bbb742840239c5ffdeb599e"}},{"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/chat/acp/model-selector.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9dc10ee55c8e1162d84433a039c67a4b928871aacb51857f03de97eb6302e57"}},{"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/data-table/SearchBar.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2ac737540c4177298496714d384116c0a585375c3462446c7e8a913a29f9cd"}},{"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/data-table/charts/components/chart-items.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc90afebddcc916c35051b67f2638f3a454db08fe09a971d8122190a1d3219a1"}},{"ruleId":"AC2","level":"error","message":{"text":"Editable \u003Cspan\u003E without an accessible name: An element made editable (contenteditable, or role=\u0022textbox\u0022/\u0022searchbox\u0022 with a tab stop or key handling) is a text-entry control, and it has no aria-label, no aria-labelledby and no title, so assistive tech announces an unnamed edit field. Point aria-labelledby at its visible caption, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/actions/name-cell-input.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ceec88879330d0f593540941b3a3d18e568af0be0e50956b3275ea677435ba"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/panels/packages-panel.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5358abb014e45e5dfcc80efbd00218f4198c778959480f232d160711ca049bc"}},{"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/editor/chrome/panels/write-secret-modal.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f67d4ba42e19b26a842c0c1b3a7c6096f7d2433b75a62a4cf798e976b33e49"}},{"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/editor/connections/components.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9613ef087ae4dd0ce04e5ee5a5d6dadb78fde94d606ddbddf17d2c72bbd075d"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/notebook-cell.tsx"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"8879b9b45d24adaa223eb5512549cbc571fff04ca04f5753ddc05012c30ac7cc"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/notebook-cell.tsx"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1e392e2d55845b127f3e30446010d95d972888c4e88f371caab692c25b16e5"}},{"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/editor/renderers/layout-select.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe55a0d9973989009fabc83f798fcf4dc2df2cd9107e1964c5ff774b2025a55"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CCombobox\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/forms/switchable-multi-select.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"caffa287ab6b7b6193a9e6100836fb69b40487978778a6f8576b439a16dd3ec6"}},{"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/forms/switchable-multi-select.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f18087bb25983d8a60edc0aa20c44b998f7e597c93a5269afd0e558c36b7b8a"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CRACInput\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/ui/number-field.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e034a74d4a9184c718466b9d5f17ecbafc3283d6bea668c9df19329fdbc251"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSearchInput\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/variables/variables-table.tsx"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc34c969a2b86d6f53c14759460bcf1fcc3d081b168898e6af200d1ee21c426"}},{"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/core/codemirror/language/panel/sql.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c9d5302dded8529f15bac354d5c2e8977d0325a818fddb43d806ab524e1b8d"}},{"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/plugins/impl/data-explorer/components/column-summary.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"621f907d76ce9b1f25b1909bb3611fac7c696d16d9b483971d5fe2fa0c1b4b92"}},{"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/plugins/impl/data-explorer/components/query-form.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72f6483359e65235f6cb9e6fe1961a115d499b557f0f087967b6122d0939341"}},{"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/plugins/impl/data-explorer/components/query-form.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c159c74d456daafc80ce626636d2165d7b9d6e22ba7eecd534d4a7727e40347"}},{"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/plugins/impl/data-explorer/components/query-form.tsx"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"929ee12d53eec0eb26e902086f7d53c19f0ca55ce649f2ec8450623ef83fe9f7"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/islands/__demo__/index.html"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cb8d007a8d5451ca25d506bfbf2750d5ee9ea39fd4e1dd62f0805950576e67"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/islands/__demo__/index.html"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"53902e7521995d115e9ba6f540ddb07fb51089f55c26ee84489b5a5b149d10fb"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/islands/__demo__/output.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7be5aa2c866a353737959cf76f09a4ef5f66a0de907d39b640f3c4171155b6"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/islands/__demo__/output.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdeb4f4f3f2af9bcee6c356e76af3517cdddffcfa160f10b7f6a8abe5beaf97"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/package-alert.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"579fb953f32bc973df85a0ad7e1d41b059257a3b66c514118b4fb7efce12456a"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .cursor-pointer with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ai/ai-model-dropdown.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bb40ba4204d1618ff35b21e62430ef86f7585e91402e62740be073d5cf4dd7"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .cursor-pointer with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ai/ai-model-dropdown.tsx"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5221af9fe9be4b7474435fe7a86b1869fc4edd513a2fcd311bcaf2cc39a9f4b"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .cursor-pointer with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/app-config/ai-config.tsx"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96cf2d7932ed1403ef48b3b39294d442375a55d09d2a2e381302309e31efb2b"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .cursor-pointer with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/chat/acp/blocks.tsx"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e4b65aef0787d00dc0def66c536bdf6ad7238c000f3b5a1b5a9cb9fe129f15"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Cdiv\u003E: This \u003Cdiv\u003E binds mouse-enter and mouse-leave and nothing else \u2014 no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}=\u00220\u0022 so the element can receive that focus."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/chat/chat-components.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a12be32d2ddcc47d50907d59b08d439be981c2fbd80c17f2b728319f332e4d6"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022alertdialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/chat/tool-call/tool-approval-card.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e90661d5589965c70e98a45733b517f37aa7284a94337287b4010a3ead689e"}},{"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/data-table/columns.tsx"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8792cbc97da742d693f29c431e4cde40d2d4e348a516b50d2913a79d4848dc"}},{"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/data-table/columns.tsx"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15154535574c2a8d6a27c902f2845d2fa155f23af13c4f76f280b9aa6452644"}},{"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/data-table/columns.tsx"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"e560127aee90caca4b30c2a264138299ede6829d309afb96ee4d68c78f0b2e8c"}},{"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/data-table/columns.tsx"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3139867a2af923ae5cdd9e43d8149bbace66ba288e6459eefde1ad1e6741bdd"}},{"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/data-table/columns.tsx"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea008d6913b9abad5d131f384e6094db8875cd347e4592f3571e754cb41df88e"}},{"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/data-table/columns.tsx"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df0db4328c5163b56116d26a1be0bf7cc162161fa8547b6fde04603199fe8c4"}},{"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/data-table/columns.tsx"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c762c91a41bccf4f8979058d9aea27952fe5f30efa305ac77ea7fc6dfa3d79"}},{"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/data-table/columns.tsx"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd28c0187f5ac0c77da8711ecef5102b4d929613d0048f551597773034692cc"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .cursor-pointer with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/url-detector.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c9cb5dec5815fb1b91ac64661cbd3ccabeefebbbd6a5f97c503b0827c0095d"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cdiv\u003E: This \u003Cdiv\u003E binds double-click and nothing else. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/cell/code/cell-editor.tsx"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3b72a4c5e780fb8917094e801eaab3aca04d51acf55eb2968d7431f21283c4"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cdiv\u003E: This \u003Cdiv\u003E binds double-click and nothing else. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/file-tree/file-search-results.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84d0b603e1ea0c0b2f0da2933cdfe3071b4877f0e1485d1c22285d13f2f6e43"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .cursor-pointer with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/links/cell-link-list.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"014aa9dda219f7927bf9d277eece694ce736d9eef6a29c6ae0751b527dbe8498"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cdiv\u003E: This \u003Cdiv\u003E binds double-click and nothing else. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/notebook-cell.tsx"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edcd8510066ff9c50e3c34d860f8bacc5af4ce73a332fd3c9f82bb34661a32d"}},{"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/pages/home-page.tsx"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef04422fcc45853d71c5712cbecce65ca93d7cbf4fd7c15f74da56d8176b82ba"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Cdiv\u003E: This \u003Cdiv\u003E binds mouse-enter and mouse-leave and nothing else \u2014 no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}=\u00220\u0022 so the element can receive that focus."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/tracing/tracing.tsx"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fe553f6aab42e1c05bf65c411972e64b85b49a80df99312665c665c3d23065"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Cspan\u003E: This \u003Cspan\u003E binds mouse-enter and mouse-leave and nothing else \u2014 no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}=\u00220\u0022 so the element can receive that focus."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/documentation/DocHoverTarget.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf3eae77b1d384214647fb5a421af5ca8c68073e461adbb9153cdceb33f7283"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .cursor-pointer with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/FileUploadPlugin.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"1892d023b7ba220f9ff58d0aa828d2fc609783bc97dafc7394564c0e1fe2a7dc"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .cursor-pointer with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/FileUploadPlugin.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16228d4c9d1bf652d930ac366c9cc55809fce41d11701d0174b36582e2c6e61"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .cursor-pointer with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/data-frames/panel.tsx"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace6d7d72f05cf830502226d9380012556cf36c7ca90165017f6b6e7f60f33ab"}},{"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/app-config/mcp-config.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44bfce17a49623e6188ad1db75a3cf02ca6c5e19121bb85e87019e7ec415af5"}},{"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/datasources/components.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f3c58a207fc955dc15825d3f16e866d40ca9489549457ce9d85c73a3e5d5c2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.5: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/datasources/components.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2846ceeddaf5d2eb5b846af840499ad89471128ddc117823285aceb45b6f8355"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/MatrixPlugin.tsx"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef9d2ef3c388827789367ed27106e37f9f56bb83dd2e242fa44bfd544efc825"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.js-plotly-plot .plotly input:focus\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/plotly/plotly.css"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"81007d062067b17d447c00e15e201841094d95da6f954517ecf2f349f154cf63"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.marimo-cell:focus-visible\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/css/app/Cell.css"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c32ad8a03624ae8241589ed9aa420ea43ffc468359466f2923535092097da5e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.cm-focused.cm-focused\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/css/app/codemirror.css"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a42d1f81c6f0d2feb1071df3ee77662a6f1dc7319d49364a7acdb7108d0d71b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.mo-slides-notes-resize\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/slides/slides.css"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6952b4e7acd9ab85c68bd5fa00c2aba4182facc7555f36de3e904e0a76df2f4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.resize-handle\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/wrapper/app-chrome.css"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f93dfa7853527ce6fd65625efc7073fbbba7e49ab2023facc1fb534928dcecc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.vega-embed .vega-actions\u0060 moves (\u0060animation-name: scale-in\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/plugins/impl/vega/vega.css"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1ffe4b0773f42283b55c197a409e75f6f0a99cad6b45368b53b07ae981374a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.markdown details summary::before\u0060 moves (\u0060transition: transform 0.2s\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/css/md.css"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3879c4a37de7001a963b9f0b01e7f6cfb38f1cb121af708986991a295a5bdd"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060progress::-webkit-progress-value\u0060 moves (\u0060transition: width 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/css/progress.css"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee99494b8ab711ec568f09a93c69439df74e1268f4d9bd1c5e0f301777293d6f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060progress::-moz-progress-bar\u0060 moves (\u0060transition: width 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/css/progress.css"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b3047d9d2313570cab5f34d17734676b16b9ccdc0ca28fc2bad5e1c0fbfa70"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.running-app-icon\u0060 moves (\u0060animation: running-app-animation 2000ms\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/css/app/Header.css"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e83b9e2b55fbd5983e43fcec94d4c3981deb363417562130569142dd1daf774"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.pa-chevron\u0060 moves (\u0060transition: transform 0.15s\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":"docs/stylesheets/extra.css"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5e2d6e8572eee755ed29810c8748f04ee792dc55acdbe18820c6ae91b41350"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: EditRequests (64 required operations): \u0060EditRequests\u0060 declares 64 required operations: \u0060sendRename\u0060, \u0060saveLayout\u0060, \u0060sendCopy\u0060, \u0060sendRunScratchpad\u0060, \u0060sendShutdown\u0060, \u0060sendFormat\u0060, \u0060sendCodeCompletionRequest\u0060, \u0060saveUserConfig\u0060, \u0060saveAppConfig\u0060, \u0060sendRestart\u0060, \u0060sendInstallMissingPackages\u0060, \u0060readCode\u0060, \u0060readSnippets\u0060, \u0060previewDatasetColumn\u0060, \u0060previewSQLTable\u0060, \u0060previewSQLTableList\u0060, \u0060previewSQLSchemaList\u0060, \u0060previewDataSourceConnection\u0060, \u0060discoverDataSources\u0060, \u0060validateSQL\u0060, \u0060openFile\u0060, \u0060getUsageStats\u0060, \u0060getEnvironmentInfo\u0060, \u0060sendPdb\u0060, \u0060sendSetBreakpoints\u0060, \u0060getFileRoots\u0060, \u0060sendListFiles\u0060, \u0060sendSearchFiles\u0060, \u0060sendCreateFileOrFolder\u0060, \u0060sendDeleteFileOrFolder\u0060, \u0060sendCopyFileOrFolder\u0060, \u0060sendRenameFileOrFolder\u0060, \u0060sendUpdateFile\u0060, \u0060sendFileDetails\u0060, \u0060openTutorial\u0060, \u0060getRecentFiles\u0060, \u0060getWorkspaceFiles\u0060, \u0060getRunningNotebooks\u0060, \u0060shutdownSession\u0060, \u0060getExportAvailability\u0060, and 24 more. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/network/types.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb68d44bb3480a81d5c08676c924bad7213a5e56e2d1d501cb87a2dbd6a281f7"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RawBridge (25 required operations): \u0060RawBridge\u0060 declares 25 required operations: \u0060put_control_request\u0060, \u0060code_complete\u0060, \u0060read_code\u0060, \u0060read_snippets\u0060, \u0060get_environment_info\u0060, \u0060format\u0060, \u0060copy\u0060, \u0060save_app_config\u0060, \u0060save_user_config\u0060, \u0060rename_file\u0060, \u0060list_files\u0060, \u0060file_roots\u0060, \u0060search_files\u0060, \u0060file_details\u0060, \u0060create_file_or_directory\u0060, \u0060delete_file_or_directory\u0060, \u0060copy_file_or_directory\u0060, \u0060move_file_or_directory\u0060, \u0060update_file\u0060, \u0060load_packages\u0060, \u0060read_file\u0060, \u0060set_interrupt_buffer\u0060, \u0060export_html\u0060, \u0060export_markdown\u0060, \u0060export_script\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/wasm/worker/types.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e900cae16783ab51a9316181cea1246e2b4d3a912babd606410b0fc8880702cd"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: TableManager (22 abstract methods): \u0060TableManager\u0060 declares 22 abstract methods: \u0060apply_formatting\u0060, \u0060supports_filters\u0060, \u0060sort_values\u0060, \u0060to_csv_str\u0060, \u0060to_json_str\u0060, \u0060to_parquet\u0060, \u0060select_rows\u0060, \u0060select_columns\u0060, \u0060select_cells\u0060, \u0060drop_columns\u0060, \u0060get_row_headers\u0060, \u0060get_field_type\u0060, \u0060take\u0060, \u0060search\u0060, \u0060get_stats\u0060, \u0060get_bin_values\u0060, \u0060get_num_rows\u0060, \u0060get_num_columns\u0060, \u0060get_column_names\u0060, \u0060get_unique_column_values\u0060, \u0060get_sample_values\u0060, \u0060calculate_top_k_rows\u0060. Counted over its \u0060@abstractmethod\u0060s (and abstract properties), once per name; concrete methods are helpers an implementer inherits, not a burden, and \u0060_\u0060-prefixed members are not counted. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/tables/table_manager.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc4cc573e4e2f474ff971b48cc50d6bb2090403da7ccfebf1901b2c1f2e3980"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Session (18 protocol members): \u0060Session\u0060 declares 18 protocol members: \u0060stable_id\u0060, \u0060notebook_sandbox\u0060, \u0060document\u0060, \u0060kernel_state\u0060, \u0060kernel_pid\u0060, \u0060kernel_exit_info\u0060, \u0060try_interrupt\u0060, \u0060rename_path\u0060, \u0060put_control_request\u0060, \u0060reply_input\u0060, \u0060disconnect_consumer\u0060, \u0060disconnect_main_consumer\u0060, \u0060connect_consumer\u0060, \u0060connection_state\u0060, \u0060notify\u0060, \u0060instantiate\u0060, \u0060scoped\u0060, \u0060close\u0060. Counted over its public methods and properties, once per name \u2014 a \u0060typing.Protocol\u0060 is satisfied structurally, so every one of them is an operation each implementer must provide and each consumer depends on; \u0060_\u0060-prefixed members, static methods and data attributes are not counted, and an \u0060@overload\u0060 family is one operation. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_session/types.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21f9adee540c5daf47a3de5c3c6cf461ba019281f3a2f6cc7c5ca0642c6cc5f"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/guides/deploying/deploying_kubernetes.md names Python 3.9 or later, but protocols/host/conformance/pyproject.toml:5 requires \u0060requires-python = \u0022\u003E=3.11\u0022\u0060 (the lowest of 2 declarations): the package does not install on Python 3.9. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/guides/deploying/deploying_kubernetes.md"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82e322c842306f241ad98844bba46ae9c5ab590177cde0d37a65428d262da75"}},{"ruleId":"P12","level":"warning","message":{"text":"Tests run only outside the merge gate: \u0060pnpm --dir packages/llm-info test\u0060 is the only CI command that runs 74 test(s) in 5 file(s) (e.g. \u0060packages/llm-info/src/__tests__/cli.test.ts\u0060, \u0060packages/llm-info/src/__tests__/json-structure.test.ts\u0060), and the workflow runs only on a schedule \u2014 a failure there is found after the change merged, when the only remedy is a revert. Run them on pull requests (or in the merge queue)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/sync-llm-info.yml"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bc97e7d1ada7d66a19e7bd6048bb7a1158ef46ce4463521068570f37e2a6f8"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage reaches no merge: \u0060codecov/codecov-action\u0060 uploads coverage, but its condition requires \u0060github.event_name == \u0027push\u0027\u0060: no pull request ever reports coverage for \u0060.\u0060, and nothing that runs on one enforces a floor \u2014 the number can fall and every change still merges. Upload (or enforce the floor) on pull requests too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/test_be.yaml"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"c286c26ea7d0437ff54b28b40d8989727cef22095da2759a0bbb369b254c231b"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060frontend\u0060 is a workspace package with 6806 test(s) in 637 file(s) (e.g. \u0060frontend/e2e-tests/accessibility.spec.ts\u0060, \u0060frontend/e2e-tests/badButton.spec.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/package.json"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f9e748033e9fc62dea62681ab41b2f3b8b11538708ff014b4eb7fc2ce7ca99"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/client\u0060 is a workspace package with 114 test(s) in 12 file(s) (e.g. \u0060packages/client/src/__tests__/catalog-events.test.ts\u0060, \u0060packages/client/src/__tests__/catalog-reducer.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/package.json"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"638fa2ff51f4a21b6311333994d796905dcfaecc8427e52e3adfaec21d9b0eb2"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/lsp\u0060 is a workspace package with 16 test(s) in 2 file(s) (e.g. \u0060packages/lsp/index.test.ts\u0060, \u0060packages/lsp/websocket-server.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/lsp/package.json"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3a23061daa4770d6781853aad79e51804eb9bfc032c135a95fe3b214922a69"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/smart-cells\u0060 is a workspace package with 82 test(s) in 5 file(s) (e.g. \u0060packages/smart-cells/src/__tests__/index.test.ts\u0060, \u0060packages/smart-cells/src/__tests__/markdown-parser.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/smart-cells/package.json"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84d2aa4436e13bac00ff62a0b6f88f831992795a301275b41bf799540d2ecf0"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 5/6 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060docs\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060frontend/src/utils/tracer.ts\u0060 reports through \u0060console.*\u0060 at line 93 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/utils/tracer.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a6419940ba008e963a85cc61c58400129fdfb8f9ca698e01a21c3a397a9240"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060frontend/src/core/islands/bridge.ts\u0060 reports through \u0060console.*\u0060 at line 58 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/islands/bridge.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee17f72806f6baf88e083680c33ace273e99f05e95cea9cb8c856f4297a6f1a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060frontend/src/core/cells/logs.ts\u0060 reports through \u0060console.*\u0060 at line 159 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/cells/logs.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d6bf6ee920911b79e3a1218640b7702b477948bb169920ba033c27478f7ddc"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060frontend/e2e-tests/global-teardown.ts\u0060 reports through \u0060console.*\u0060 at line 86 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/e2e-tests/global-teardown.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"22003f161d54de4e6b4b03367e97895958fae527e4e3235859a065f33ecb3f76"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060frontend/e2e-tests/global-teardown.ts\u0060 reports through \u0060console.*\u0060 at line 91 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/e2e-tests/global-teardown.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a8dada6650964d56dab4cb68698b1e4661d57330a3d3b52208c11088a44dc2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060frontend/e2e-tests/global-teardown.ts\u0060 reports through \u0060console.*\u0060 at line 96 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/e2e-tests/global-teardown.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"64017612a9355d071e08271babfee0a3b14b95bc0d20186769baba49bbf71bd8"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060frontend/e2e-tests/global-teardown.ts\u0060 reports through \u0060console.*\u0060 at line 98 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/e2e-tests/global-teardown.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f98ce5404d330b35025127cc050f364053577aa449eb77ff9123a8c26371fe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/llm-info/src/simple_logger.ts\u0060 reports through \u0060console.*\u0060 at line 28 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/llm-info/src/simple_logger.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd426616a6b144e66570dfd6962d7d928cecb929b8443b938bf6106c16965902"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/llm-info/src/simple_logger.ts\u0060 reports through \u0060console.*\u0060 at line 31 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/llm-info/src/simple_logger.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"163b784e03740550b26747a19f86a4044693c8aec7a6770880c02f075ea10df5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/llm-info/src/simple_logger.ts\u0060 reports through \u0060console.*\u0060 at line 34 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/llm-info/src/simple_logger.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0df2407eba50642c84e55fb63a8810265edf3ac9b79d85a2212124bc55e020f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/llm-info/src/simple_logger.ts\u0060 reports through \u0060console.*\u0060 at line 37 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/llm-info/src/simple_logger.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e8859b8a5c80372d413077736a815157c8e0f027e97f35d925f45fb6e0c0a3"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add bandit, \u0060semgrep --config=p/python\u0060, or CodeQL\u0027s python pack as a CI step. What was searched, so you can tell an absence from a miss: the 32 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/cla.yml"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\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":"marimo/_cli/convert/utils.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbd53b5a149bc5a051c8133d0dc9e93f21c0dffa02c3923daec6f7348b77791"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\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":"marimo/_cli/convert/utils.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5a70d9a29d0edd5cc9ae46010fa5e81e938a819dc8502785eb7b23f5054d84"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\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":"marimo/_cli/files/file_path.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7fa20e1fc5bde40f35ccbe8d7631f1012b2f4ce262b18351505226a05adc63"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\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":"marimo/_cli/files/file_path.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e892d6af6b7c6b3131079996fcf36be8b9e737b8fdfcafa14371f48f0320492"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\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":"marimo/_cli/files/file_path.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e90d8c6035f4bd7c784f851706c869181aaa277d0d95b546aae6710d3a16598"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\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":"marimo/_cli/files/file_path.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafccac703dedb9ccb01c525fa55a012099ca35867c808f32450369496651346"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\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":"marimo/_cli/files/file_path.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"af29228fd66c855f70a732fe9b59b282f1021641198cd6ee6b7d7c5db033288f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\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":"marimo/_cli/files/file_path.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"a611cc953e4581cfc838c65f4aebcb99ca90de9ef27c6b580a73d422d23a8d92"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\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":"marimo/_export/exporter.py"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"a884ca160635a9d5b8311f212fa76f107d7dceaff325b48248be39693fbf3532"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urlopen(\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":"marimo/_output/md.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbd9cddbf1d209cd51ac5e055e229c1aee9abb8c38c2ef2d85e80e61990ad1b"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urllib.request.urlopen(\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":"marimo/_plugins/ui/_impl/altair_chart.py"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"01471b2d04b59546e1393e232410cc6603bd3a7fe20f8ca74d31975f1d79f204"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urllib.request.urlopen(\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":"marimo/_runtime/_wasm/_fetch.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"97df0e245c9aa07cdbe1f969d60ff6f94ed6c033e9f7450a3eb3fab9607b32e2"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urllib.request.urlopen(\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":"marimo/_save/loaders/lazy.py"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f73e40352210b3e6caee2a2f6c933bed4b723a3fa9306e16bb5fc31f449f33"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urllib.request.urlopen(\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":"marimo/_save/stores/rest.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce03a557d913c71267ccac9771a8ac80237de7111e7e828d6976fcca4bcb6400"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urllib.request.urlopen(\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":"marimo/_save/stores/rest.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9ca25adc76a0cd83711751c3fd6209173b0c591bcef9b6127bd682a50af210"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urllib.request.urlopen(\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":"marimo/_save/stores/rest.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd60d3aa826e47313939350885837ab7ddffd3d6bac8b5d8c9e92acc5031d2c2"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urllib.request.urlopen(\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":"marimo/_save/stores/rest.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b8f231acc43fa0fd5902d2f527490f1a2652618c5b8abc23252de62c8e82b0"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\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":"marimo/_server/api/endpoints/assets.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"36704d78beb66b89a9dc74af4f6e9197afc8a6f67620741f428b555c9e5a7b3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 13 sibling directories (18 clone groups): 18 duplicated blocks under frontend/src/components/ have copies in at least two of the sibling directories app-config, chat, data-table, datasources, dependency-graph, editor (\u002B7 more sibling(s) not listed) \u2014 5 of them are reported below, and 13 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 18 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 18 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 18 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/data-table/filter-pill-editor.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5975762be7b316d8809ef783a7a36221a2d2f5b922291f99d0008e56ea36030"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (17 clone groups): 17 duplicated blocks under frontend/src/ have copies in at least two of the sibling directories components, core, plugins, utils \u2014 8 of them are reported below, and 9 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 17 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 17 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 17 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/editor/file-tree/upload.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7687d83d38befc2bcbd45a2230c0bae08cbcb1c868a752133a3b9f2fecb72ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 8 sibling directories (10 clone groups): 10 duplicated blocks under frontend/src/core/ have copies in at least two of the sibling directories ai, codemirror, datasets, islands, saving, session (\u002B2 more sibling(s) not listed) \u2014 7 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 10 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 10 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 10 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/core/ai/context/providers/cell-output.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5603b907339d0e26563b46b211f81e96ec695b4e9917415615e6e4a368d564cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (146 matched lines \u00D7 2 locations): frontend/src/components/ui/context-menu.tsx:29 \u00B7 frontend/src/components/ui/dropdown-menu.tsx:25 \u2014 the two spans are one implementation copied and then locally edited \u2014 887 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/context-menu.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a227bbda532ee75077bb525ac9775747437c44c67efb5a53efb32c54ace57ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (119 matched lines \u00D7 2 locations): frontend/src/components/editor/notebook-cell.tsx:411 \u00B7 frontend/src/components/editor/notebook-cell.tsx:1064 \u2014 the two spans are one implementation copied and then locally edited \u2014 606 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/editor/notebook-cell.tsx"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5f7c4b723469214eab47aac5d0093ce74b047eeb0f4d6d911d812be40d7e49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (76 matched lines \u00D7 2 locations): frontend/src/core/network/requests-network.ts:159 \u00B7 frontend/src/core/network/requests-network.ts:263 \u2014 the two spans are one implementation copied and then locally edited \u2014 341 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/core/network/requests-network.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da2ae057013bf20bd0accad78da07d40576396073f40ff31e761c569e77ba2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (51 matched lines \u00D7 2 locations): frontend/src/components/editor/connections/form-renderers.tsx:83 \u00B7 frontend/src/components/editor/connections/form-renderers.tsx:147 \u2014 the two spans are one implementation copied and then locally edited \u2014 262 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/editor/connections/form-renderers.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5584cbda5f73dd62d21f123d8b3eb4a9a1077ad73266d468d254d074bc2a3b9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (51 matched lines \u00D7 2 locations): frontend/src/plugins/impl/data-editor/components.tsx:26 \u00B7 frontend/src/plugins/impl/data-editor/components.tsx:88 \u2014 the two spans are one implementation copied and then locally edited \u2014 240 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/plugins/impl/data-editor/components.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a2612d2c05c8412b76258c012ac640ff2545e41ba9e852a8a2e9d0fb449494"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (48 matched lines \u00D7 2 locations): frontend/src/components/editor/cell/CellStatus.tsx:60 \u00B7 frontend/src/components/editor/cell/CellStatus.tsx:137 \u2014 the two spans are one implementation copied and then locally edited \u2014 175 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/editor/cell/CellStatus.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3627c75aec819c4809490a7328ef1b65948f9fef20062a8147fd090531501cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (47 matched lines \u00D7 2 locations): frontend/src/core/codemirror/go-to-definition/commands.ts:280 \u00B7 frontend/src/core/codemirror/reactive-references/analyzer.ts:209 \u2014 the two spans are one implementation copied and then locally edited \u2014 219 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/core/codemirror/go-to-definition/commands.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dec8815e43b2c30a8d68ec4e01731fe4b283c1b2d44e153ec2b7ab9c82d6fcc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (46 matched lines \u00D7 2 locations): frontend/src/components/editor/actions/useConfigActions.tsx:39 \u00B7 frontend/src/components/editor/actions/useConfigActions.tsx:86 \u2014 the two spans are one implementation copied and then locally edited \u2014 158 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/editor/actions/useConfigActions.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1de61fe898280c9773f271d6c293a27f2f2b783b5bdefbc35677426385ef9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2 locations): frontend/src/components/ui/input.tsx:49 \u00B7 frontend/src/components/ui/textarea.tsx:24 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ui/input.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0731fa8977aa456f3f8a7cf928827e84ee91579a025a7a45ab2b1649f807303"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (38 matched lines \u00D7 2 locations): frontend/src/plugins/impl/DatePickerPlugin.tsx:10 \u00B7 frontend/src/plugins/impl/DateTimePickerPlugin.tsx:10 \u2014 the two spans are one implementation copied and then locally edited \u2014 234 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/plugins/impl/DatePickerPlugin.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ba854424682e4665484521214dfa9db17c60126292087e8cdff729f71a302e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (36 matched lines \u00D7 2 locations): frontend/src/components/editor/KernelStartupErrorModal.tsx:31 \u00B7 frontend/src/components/editor/errors/traceback-modal.tsx:37 \u2014 the two spans are one implementation copied and then locally edited \u2014 154 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/editor/KernelStartupErrorModal.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7965238e97f4e8f6df344e7ce86856cea6d8d98177daa5dfd7e4f8a046077178"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (35 matched lines \u00D7 2 locations): frontend/src/components/data-table/range-focus/atoms.ts:103 \u00B7 frontend/src/components/data-table/range-focus/atoms.ts:249 \u2014 the two spans are one implementation copied and then locally edited \u2014 129 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/data-table/range-focus/atoms.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1071606c0e674b2cb2c0a0c5cf5f972632a163173afad1db620afd50f1827e02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): frontend/src/components/editor/actions/export-dialog/format-options.tsx:392 \u00B7 frontend/src/components/editor/actions/export-dialog/format-options.tsx:444 \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/editor/actions/export-dialog/format-options.tsx"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d9dbe483d9952ea57bd85e53f2af74ef1dd1c2e1186ac9334c81a6465b3329"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): frontend/src/components/ui/date-picker.tsx:83 \u00B7 frontend/src/components/ui/date-picker.tsx:152 \u2014 both copies are in the same file, so extract the block 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/ui/date-picker.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9ee060d4fb24d13dfafc9d3dc5a8cba45746738f1d905f5e5c642d526fe3ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): frontend/src/core/codemirror/cells/debugger-decorations.ts:41 \u00B7 frontend/src/core/codemirror/cells/line-timing-decorations.ts:105 \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/core/codemirror/cells/debugger-decorations.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e16986e52ba93273366fb19a6a512604539bba1287440166ec2c0539f990453"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): frontend/src/plugins/impl/RangeSliderPlugin.tsx:35 \u00B7 frontend/src/plugins/impl/SliderPlugin.tsx:41 \u2014 the two spans are one implementation copied and then locally edited \u2014 208 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/plugins/impl/RangeSliderPlugin.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e1ab2d1090ef9a70a5ac4aadf9ac7c64730bbd8c1a2eae3d32c5aa36aedf58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): frontend/src/components/editor/chrome/wrapper/app-chrome.tsx:140 \u00B7 frontend/src/components/editor/chrome/wrapper/sidebar.tsx:54 \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/editor/chrome/wrapper/app-chrome.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"606b79f88173f918f878040ef0099aea2e65c44330f96bd15617cf5d05e409f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 3 locations): frontend/src/components/ui/alert-dialog.tsx:64 \u00B7 frontend/src/components/ui/dialog.tsx:89 \u00B7 frontend/src/components/ui/sheet.tsx:78 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ui/alert-dialog.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"04307c8f0df629bc8824d1fb3bc4d5e7377352d8136bfc17013e408af35e9522"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (32 matched lines \u00D7 2 locations): frontend/src/components/editor/chrome/wrapper/footer-items/machine-stats.tsx:62 \u00B7 frontend/src/components/editor/chrome/wrapper/footer-items/machine-stats.tsx:146 \u2014 the two spans are one implementation copied and then locally edited \u2014 172 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/editor/chrome/wrapper/footer-items/machine-stats.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"361ed297ce42e17ef7967aa66b62d3b1b0667db4c2c989dd404addeada61b4fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (29 matched lines \u00D7 2 locations): frontend/src/components/app-config/user-config-form.tsx:209 \u00B7 frontend/src/components/app-config/user-config-form.tsx:340 \u2014 the two spans are one implementation copied and then locally edited \u2014 148 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/app-config/user-config-form.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7e64c3467544d90e9fa6408301598a5645c3edade566aee0cd21cd661f43fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): frontend/src/components/ui/calendar.tsx:156 \u00B7 frontend/src/components/ui/calendar.tsx:192 \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/ui/calendar.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98decf167e7f449d9104bf30092fa22defe38b98a8c54ff593c40df455925cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (27 matched lines \u00D7 2 locations): frontend/src/core/codemirror/lsp/notebook-lsp.ts:518 \u00B7 frontend/src/core/codemirror/lsp/notebook-lsp.ts:823 \u2014 the two spans are one implementation copied and then locally edited \u2014 183 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/core/codemirror/lsp/notebook-lsp.ts"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"883d06d7521b5615d8afdf7074596fcbd2b3bcfd9017dceb347c6d437e5e2401"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): frontend/src/core/packages/toast-components.tsx:82 \u00B7 frontend/src/core/packages/toast-components.tsx:110 \u2014 both copies are in the same file, so extract the block 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/core/packages/toast-components.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe063c37253f40860a3ee267d981d5b7b2d5bc03f35e16ab5fe3e13746fe4d70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): frontend/lint/marimo-plugin.js:20 \u00B7 frontend/lint/marimo-plugin.js:57 \u2014 both copies are in the same file, so extract the block 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/lint/marimo-plugin.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e68b217261da01850c86f6ee828519c371e06e5fb95e64f0792442aad0e8f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 4 locations): frontend/src/components/app-config/user-config-form.tsx:637 \u00B7 frontend/src/components/app-config/user-config-form.tsx:677 \u00B7 frontend/src/components/app-config/user-config-form.tsx:717 \u00B7 frontend/src/components/app-config/user-config-form.tsx:756 \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/app-config/user-config-form.tsx"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"4920db2c75156aea9ecc39a4d7279ca592b646ccf45ba24c35d08d044866505d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): frontend/src/core/codemirror/markdown/commands.ts:273 \u00B7 frontend/src/core/codemirror/markdown/commands.ts:396 \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/core/codemirror/markdown/commands.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4eb8929e3154780d057e27570931b83258cc53fa15ee0fb6a1eeb0902db5a07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3 locations): frontend/src/components/app-config/data-form.tsx:119 \u00B7 frontend/src/components/app-config/data-form.tsx:154 \u00B7 frontend/src/components/app-config/user-config-form.tsx:375 \u2014 the 3 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/app-config/data-form.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d609424cf578ee42acfbf01b499bcaf2c84508f65e9e9c00ae6703e2d2635171"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): frontend/src/components/editor/file-tree/upload.tsx:58 \u00B7 frontend/src/plugins/impl/FileUploadPlugin.tsx:127 \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/editor/file-tree/upload.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"07dcaf3d828cd58c32e644b60d5d30639c0d09793c69358f5c92458fa87545b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): frontend/src/components/ui/fullscreen.tsx:118 \u00B7 frontend/src/components/ui/fullscreen.tsx:171 \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/ui/fullscreen.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"40df64d5497b308513484c2d2bdbbc77574ec77dbba62cd992c45242989f2775"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): frontend/src/components/ui/input.tsx:172 \u00B7 frontend/src/components/ui/textarea.tsx:62 \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/ui/input.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b36dfdf03096f1b095e78620ffbee7ff63e66e1babbb6760f2703a0d45778fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): frontend/src/core/codemirror/markdown/completions.ts:6 \u00B7 frontend/src/core/codemirror/markdown/completions.ts:53 \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/core/codemirror/markdown/completions.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d649b479d116b97e48847a957695dbe1332cee22e2dca7fc3acedb7d1e6033"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): frontend/src/components/editor/chrome/panels/dependency-graph-panel.tsx:27 \u00B7 frontend/src/components/editor/chrome/wrapper/app-chrome.tsx:351 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/panels/dependency-graph-panel.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bce254012ac3778a0f4e5f09aff5a4ba541e717360bc760c4f72db08b32a88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): frontend/src/components/ui/range-slider.tsx:171 \u00B7 frontend/src/components/ui/range-slider.tsx:195 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ui/range-slider.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b72bb977ae535cd3284e20216c1f5f092857eaac0979beb48743d6e01bddd2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): frontend/src/plugins/impl/DataTablePlugin.tsx:322 \u00B7 frontend/src/plugins/impl/data-frames/DataFramePlugin.tsx:135 \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/plugins/impl/DataTablePlugin.tsx"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"d536543c1a0735f6a7c6e202d06211df91c7332d7b41dcd242f6aac4e7830e4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): frontend/src/core/codemirror/language/embedded/latex.ts:131 \u00B7 frontend/src/core/codemirror/language/embedded/latex.ts:155 \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/core/codemirror/language/embedded/latex.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"30054aceed422d3ca606693fe568460fe0ce09ae0b4893786c360958223cd68f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): frontend/src/components/editor/file-tree/file-operations.tsx:218 \u00B7 frontend/src/components/editor/file-tree/file-operations.tsx:240 \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/editor/file-tree/file-operations.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd422360272112953556e133ecf9c179d6680545f8d6a6ff291a8b86f402372c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): frontend/src/components/editor/output/MarimoErrorOutput.tsx:47 \u00B7 frontend/src/components/editor/output/MarimoTracebackOutput.tsx:122 \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/editor/output/MarimoErrorOutput.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb297179006ad8397ce4a2f0a6eb1ae41598e3795da06c967464351c9b1999c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): frontend/src/components/icons/marimo-icons.tsx:67 \u00B7 frontend/src/components/icons/marimo-icons.tsx:97 \u2014 the two spans are one implementation copied and then locally edited \u2014 80 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/icons/marimo-icons.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05eaaa1a35c2ffd2b40761546f9290dce81216f3d1f829210bc56034ec0e907"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): frontend/src/core/codemirror/cells/extensions.ts:240 \u00B7 frontend/src/core/codemirror/cells/extensions.ts:261 \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/core/codemirror/cells/extensions.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cf67ff1669138bf56ca625ac6527ebae0946f98e5e35ad45f63f0bb9697d5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): frontend/src/core/codemirror/language/embedded/latex.ts:179 \u00B7 frontend/src/core/codemirror/language/embedded/latex.ts:202 \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/core/codemirror/language/embedded/latex.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d906e8e53efb038b10364d99bab4c12dafb16826d1570e6dd0e889ef07e66a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): frontend/src/core/codemirror/language/languages/sql/renderers.tsx:392 \u00B7 frontend/src/core/codemirror/language/languages/sql/renderers.tsx:457 \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/core/codemirror/language/languages/sql/renderers.tsx"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"562b5319fd7e1e4d18c425d7fede16439fff72bc324f7a9959495d19a7d10a9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): frontend/src/plugins/impl/DateRangePlugin.tsx:29 \u00B7 frontend/src/plugins/impl/DateTimePickerPlugin.tsx:31 \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/plugins/impl/DateRangePlugin.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2da294a73514e93c6fcb593bf0fac4ff811d874878e8c0ee7f868a9fc63aaa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): frontend/src/plugins/impl/TextAreaPlugin.tsx:67 \u00B7 frontend/src/plugins/impl/TextAreaPlugin.tsx:95 \u00B7 frontend/src/plugins/impl/TextAreaPlugin.tsx:123 \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/plugins/impl/TextAreaPlugin.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75e17c2cc835801b1255365e734ab62af9d445aeac3aa93834fc1e923a76405"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): frontend/src/components/data-table/cell-hover-text/feature.ts:16 \u00B7 frontend/src/components/data-table/cell-styling/feature.ts:16 \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/data-table/cell-hover-text/feature.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8856095ec4c322f4ca1744e2a8cbbdad041b5a022a583e3f75c59a2876659613"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): frontend/src/components/editor/actions/useNotebookActions.tsx:476 \u00B7 frontend/src/components/editor/actions/useNotebookActions.tsx:511 \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/editor/actions/useNotebookActions.tsx"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8347da4daaca0c1e7feedcaf8ecc7b559372b1bffba99cde497eabc275a7176"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): frontend/src/components/editor/alerts/stdin-blocking-alert.tsx:12 \u00B7 frontend/src/components/editor/stdin-blocking-alert.tsx:13 \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/editor/alerts/stdin-blocking-alert.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8d5d2f821d585817ce5a86ffe1a94e727c28b5315e4353f9a9d7cb3a287f78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): frontend/src/components/editor/navigation/clipboard.ts:83 \u00B7 frontend/src/components/editor/navigation/clipboard.ts:111 \u2014 the two spans are one implementation copied and then locally edited \u2014 101 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/editor/navigation/clipboard.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabcc7bdca9dfa4568e794b45129912011529c90eea786840c258911886d5317"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): frontend/src/components/ui/date-input.tsx:67 \u00B7 frontend/src/components/ui/date-input.tsx:101 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ui/date-input.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb13edf6a1616cdf66e26731286420de0d1df5d71cd781f1e54ef7c5f2760567"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): frontend/lint/module-entry.js:14 \u00B7 frontend/lint/replica-imports.js:13 \u2014 the two spans are one implementation copied and then locally edited \u2014 134 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/lint/module-entry.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8723506eaaffea1dcdaa2c30e6415de5f790402dc103e2789ddf946430cc3cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): frontend/src/components/app-config/user-config-form.tsx:291 \u00B7 frontend/src/components/app-config/user-config-form.tsx:310 \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/app-config/user-config-form.tsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3d21eb015b08ea30e071d036875d0848adb30df42819ab8b88deaa32b24691"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): frontend/src/components/app-config/user-config-form.tsx:738 \u00B7 frontend/src/components/app-config/user-config-form.tsx:777 \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/app-config/user-config-form.tsx"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d27bdb5fee19731054027387dadf870e39cef08613964185e7dac17bddb5ffa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): frontend/src/components/dependency-graph/utils/changes.ts:11 \u00B7 frontend/src/components/dependency-graph/utils/changes.ts:33 \u2014 both copies are in the same file, so extract the block 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/dependency-graph/utils/changes.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efafb728aa345daf523ebbbc6dc131c55157d2dee859e5eae360df4a80255a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): frontend/src/components/editor/cell/cell-actions.tsx:132 \u00B7 frontend/src/components/editor/cell/cell-context-menu.tsx:238 \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/editor/cell/cell-actions.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"031c3c91f2d9a7d6395fa32ad7c2b67654af3c9fe63beaefdc59cb04e61926ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): frontend/src/core/codemirror/copilot/extension.ts:52 \u00B7 frontend/src/core/codemirror/copilot/extension.ts:98 \u2014 the two spans are one implementation copied and then locally edited \u2014 84 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/core/codemirror/copilot/extension.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6a5c19cf963c90b07745ac180989d109b4aef090c56b789ba11e4142763de3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): frontend/src/core/codemirror/language/languages/markdown.ts:57 \u00B7 frontend/src/core/codemirror/language/languages/sql/sql.ts:143 \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/core/codemirror/language/languages/markdown.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cf66d6522fbe0fabee7bb9076623c4be4c60958202bd88a34ce4271fc6fa46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): frontend/src/components/data-table/filters/format.ts:35 \u00B7 frontend/src/components/data-table/filters/format.ts:101 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 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/data-table/filters/format.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b830f54389eeea598c0558f09376cdd569a80b6234d4fba552afda7be47db2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): frontend/src/components/dependency-graph/minimap-content.tsx:192 \u00B7 frontend/src/components/dependency-graph/minimap-content.tsx:212 \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/dependency-graph/minimap-content.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8565409c3b3ac7c41d62ad9e3e5ce651bb512760409a79a4bd475d7bae51487"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): frontend/src/components/editor/cell/CellStatus.tsx:162 \u00B7 frontend/src/components/editor/cell/CellStatus.tsx:185 \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/editor/cell/CellStatus.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d835ebb8f7843824471ac526d1a361835a081278bc0562e0903bd7307581327"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): frontend/src/components/editor/cell/PendingDeleteConfirmation.tsx:94 \u00B7 frontend/src/components/editor/navigation/multi-cell-action-toolbar.tsx:370 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/cell/PendingDeleteConfirmation.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabaa5cf972e6add58e7ac544430e51c71a1baaef77fe4d83511ad77b0d2f85c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): frontend/src/components/editor/chrome/state.ts:118 \u00B7 frontend/src/components/editor/chrome/state.ts:137 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 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/editor/chrome/state.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbf040fb8a6047fcb060d0c977dea129283ffe2fd66a07ce8bcb2e192cfbc10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): frontend/src/components/editor/connections/database/add-database-form.tsx:231 \u00B7 frontend/src/components/editor/connections/database/add-database-form.tsx:251 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/connections/database/add-database-form.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc96c20d6108ba63bd22f9723372a06db5cbcb70d8ac81e858290b3a4d89467"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): frontend/src/core/ai/context/providers/file.ts:84 \u00B7 frontend/src/core/ai/context/providers/file.ts:144 \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/core/ai/context/providers/file.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cfa8ea6d52a20f021c38a4e760663339cb40a229ceebe1f2e9ed694adcbc1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): frontend/src/core/codemirror/keymaps/vim.ts:221 \u00B7 frontend/src/core/codemirror/keymaps/vim.ts:242 \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/core/codemirror/keymaps/vim.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c9069fd6fb6c977cd1a787115801dab6e77deb4c64c8ba260aecf224f2abeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): frontend/src/core/codemirror/language/languages/sql/renderers.tsx:241 \u00B7 frontend/src/core/codemirror/language/languages/sql/renderers.tsx:261 \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/core/codemirror/language/languages/sql/renderers.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"9865a2f68dc4d2f0f5da71b087e2b188c248e186c7c1f2fa6b6cef11a65af775"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): frontend/src/core/codemirror/reactive-references/analyzer.ts:238 \u00B7 frontend/src/core/codemirror/reactive-references/analyzer.ts:315 \u00B7 frontend/src/core/codemirror/reactive-references/analyzer.ts:340 \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/core/codemirror/reactive-references/analyzer.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2aa27d712baea18adc4b65235cf03785ec379d04bce9bf7e631973b57cf0539"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): frontend/src/core/network/requests-network.ts:75 \u00B7 frontend/src/core/network/requests-network.ts:138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/network/requests-network.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b939940c404d54491ad07c21228029e635ef57a55cc31d7f4271e05c4c4c17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): frontend/src/components/editor/chrome/wrapper/app-chrome.tsx:423 \u00B7 frontend/src/components/editor/chrome/wrapper/app-chrome.tsx:583 \u2014 both copies are in the same file, so extract the block 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/editor/chrome/wrapper/app-chrome.tsx"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8082af5e5558c783b641e8c1a902e7c5e4f05bc22c359550e7df81c8deadd8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): frontend/src/components/editor/package-alert.tsx:612 \u00B7 frontend/src/components/editor/package-alert.tsx:662 \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/editor/package-alert.tsx"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"22fe6644a76af8ad4f6de5a2750ff7f3938caf84b58542371b16a33283456ad0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): frontend/src/components/shortcuts/renderShortcut.tsx:28 \u00B7 frontend/src/components/shortcuts/renderShortcut.tsx:73 \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/shortcuts/renderShortcut.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"debc778880a317379b3bcb6171b92190c42aeac017b30e2bcf218f8ccb572bef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): frontend/src/components/storage/storage-file-viewer.tsx:93 \u00B7 frontend/src/components/storage/storage-inspector.tsx:442 \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/storage/storage-file-viewer.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd76b0d3ce672913abfc84ee9424ce077e468c05f56bfb6b09390ab7b757d11c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): frontend/src/components/storage/storage-snippets.ts:75 \u00B7 frontend/src/components/storage/storage-snippets.ts:97 \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/storage/storage-snippets.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"64eeab84ee4f233bfc126b0bcb9ae84d4c3786ef6c5a9c503deca7175d85bf16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): frontend/src/components/ui/dialog.tsx:138 \u00B7 frontend/src/components/ui/select.tsx:153 \u00B7 frontend/src/components/ui/sheet.tsx:124 \u2014 the 3 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. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ui/dialog.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"031c896e8cd9f3b6c5bf7b5ea62cac3300a6e82e4a056f1ff39693f1b3fca623"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): frontend/src/core/codemirror/extensions.ts:24 \u00B7 frontend/src/core/codemirror/extensions.ts:45 \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/core/codemirror/extensions.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf50c337aa2ac2825a5f0e912738c65351a9b22c20e4ebae8023263fc1ed95d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): frontend/src/core/codemirror/reactive-references/analyzer.ts:82 \u00B7 frontend/src/core/codemirror/reactive-references/analyzer.ts:181 \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/core/codemirror/reactive-references/analyzer.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4549442bac5d909cfc2dd617e592ff6ddf6052dc35f08f85fafa606a662f883"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): frontend/src/core/executions/input.ts:39 \u00B7 frontend/src/core/executions/interrupt.ts:33 \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/core/executions/input.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ae26df2e9f01ee65fcda5be21c184d03c19360815142d532762e413a3f0c78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): frontend/src/plugins/impl/TextInputPlugin.tsx:126 \u00B7 frontend/src/plugins/impl/TextInputPlugin.tsx:145 \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/plugins/impl/TextInputPlugin.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa433dac4bb7d1ee29fd636249544f806a8aa41a98e44daeae3b444001cbc40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): frontend/src/components/app-config/ai-config.tsx:145 \u00B7 frontend/src/components/app-config/ai-config.tsx:214 \u00B7 frontend/src/components/app-config/ai-config.tsx:356 \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/app-config/ai-config.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf5c816e024fe5f236fd990d0c1d3716a6c493fd04ca76573522d4ab5bfc269"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): frontend/src/components/app-config/ai-config.tsx:779 \u00B7 frontend/src/components/app-config/ai-config.tsx:795 \u2014 both copies are in the same file, so extract the block 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/app-config/ai-config.tsx"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"50729173c8ef89b178220cd80bfbf7059b719b26bad8f7cdc813111f018a744e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): frontend/src/components/app-config/user-config-form.tsx:1250 \u00B7 frontend/src/components/app-config/user-config-form.tsx:1276 \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/app-config/user-config-form.tsx"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b82ead89bb2442febf87f3e4afe4ccc7980ccc43db3dafda0946022c37aa9b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): frontend/src/components/chat/chat-panel.tsx:556 \u00B7 frontend/src/plugins/impl/chat/chat-ui.tsx:320 \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/chat/chat-panel.tsx"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7aaea9b8408e5524a4c03d154ef2ffbfd5888f2966570cd5e4ac84dfc6dbee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): frontend/src/components/data-table/filter-pill-editor.tsx:615 \u00B7 frontend/src/components/data-table/filter-pill-editor.tsx:641 \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/data-table/filter-pill-editor.tsx"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9294ce564242166321859a47b586b42e75d67bc87cec034c0699f0db0e9046"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): frontend/src/components/data-table/filters/serialize.ts:61 \u00B7 frontend/src/components/data-table/filters/serialize.ts:92 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/filters/serialize.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac659152aeaf1acc0aee33a95f23571a847b4bd8a96f4c8929493b05ee72260"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): frontend/src/components/editor/navigation/multi-cell-action-toolbar.tsx:212 \u00B7 frontend/src/components/editor/navigation/multi-cell-action-toolbar.tsx:267 \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/editor/navigation/multi-cell-action-toolbar.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1890796c6ca5e7a79c7450f6f390ec8b9e24f460ee6b95f17197319b1566c4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): frontend/src/components/editor/navigation/navigation.ts:278 \u00B7 frontend/src/components/editor/navigation/navigation.ts:297 \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/editor/navigation/navigation.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"964991742ff545b66f62788cf3b7c754322813b84f5b173ce03fde12cecf204c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): frontend/src/components/editor/output/MarimoErrorOutput.tsx:311 \u00B7 frontend/src/components/editor/output/MarimoErrorOutput.tsx:362 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/MarimoErrorOutput.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf9e7d21d2722c97021a1d3d9d8c060569a8b367d73c133abf6c6ed11b5e336"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): frontend/src/components/ui/fullscreen.tsx:218 \u00B7 frontend/src/core/cells/ids.ts:74 \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/ui/fullscreen.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e85a3c8ae007174cb548d21dded303cd17cf9b30deea39ab7b7475ded7a1187"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): frontend/src/components/variables/variables-table.tsx:80 \u00B7 frontend/src/components/variables/variables-table.tsx:121 \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/variables/variables-table.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5de4c3a582115eae5d2e58c65ab2e4509104e22b689a1ffb5e3f48c305bb86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4 locations): frontend/src/core/ai/context/providers/cell-output.ts:130 \u00B7 frontend/src/core/ai/context/providers/error.ts:154 \u00B7 frontend/src/core/ai/context/providers/tables.ts:117 \u00B7 frontend/src/core/codemirror/completion/variable-completions.ts:34 \u2014 the 4 copies are spread across 4 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/core/ai/context/providers/cell-output.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cb5022c93aafb37cde80e297710f2c1709ead2fd5218c4853bbd2e05ecf06e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): frontend/src/core/datasets/data-source-connections.ts:260 \u00B7 frontend/src/core/datasets/data-source-connections.ts:304 \u2014 both copies are in the same file, so extract the block 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/core/datasets/data-source-connections.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d84e09f76780f9fc7c2763124edf32b690f811cc6fa941886f8e47959719d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): frontend/src/core/network/requests-network.ts:446 \u00B7 frontend/src/core/network/requests-network.ts:462 \u00B7 frontend/src/core/network/requests-network.ts:520 \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/core/network/requests-network.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e87b02301ac27126812eb8248fa054ae753e8ad695237156b777ac98b46106e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): frontend/src/plugins/impl/CheckboxPlugin.tsx:21 \u00B7 frontend/src/plugins/impl/SwitchPlugin.tsx:16 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/CheckboxPlugin.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61d0d47dbbffdce4586a91a2404d7eef2e1db859744b00e8bce6a1c58a19aed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): frontend/src/plugins/impl/data-explorer/components/column-summary.tsx:112 \u00B7 frontend/src/plugins/impl/data-explorer/components/query-form.tsx:184 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/data-explorer/components/column-summary.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"46490089c65043a9c2f6ebfea22107a9f4ab3fe942e16ee6e9a25c86acba393b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 8 locations): frontend/src/components/app-config/ai-config.tsx:1211 \u00B7 frontend/src/components/app-config/data-form.tsx:97 \u00B7 frontend/src/components/app-config/user-config-form.tsx:575 \u00B7 frontend/src/components/app-config/user-config-form.tsx:847 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/app-config/ai-config.tsx"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3623e09af945ba4fe62a15fc71238407eb7a1668e5357e6679eb4dfc9996c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): frontend/src/components/app-config/app-config-form.tsx:143 \u00B7 frontend/src/components/app-config/app-config-form.tsx:174 \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/app-config/app-config-form.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f581b2564789eec80098f24fa00fc57913fc0727b925ba7ddfd8d7b4ad76f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): frontend/src/components/data-table/TableBottomBar.tsx:107 \u00B7 frontend/src/components/data-table/TableBottomBar.tsx:125 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 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/data-table/TableBottomBar.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd7e61a187b6644330aa7710454cce68a14f1afb0cdb9b7d17514467816ba76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): frontend/src/components/data-table/export-actions.tsx:881 \u00B7 frontend/src/components/data-table/export-actions.tsx:913 \u2014 both copies are in the same file, so extract the block 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/data-table/export-actions.tsx"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2dac3c3a8d88b43c855e28548df07d01fecd9e0dd03340d9a987ca5111527c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): frontend/src/components/data-table/filter-by-values-picker.tsx:32 \u00B7 frontend/src/components/data-table/filter-by-values-picker.tsx:88 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 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/data-table/filter-by-values-picker.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"01927f57201b24a0f494ea6f171383054638b9292c1250a789419c2a76e6d1dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): frontend/src/components/editor/code/readonly-python-code.tsx:127 \u00B7 frontend/src/components/editor/code/readonly-python-code.tsx:172 \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/editor/code/readonly-python-code.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bab092f7728ccb25b4ef3d03050cb02346d405e69bace0d4b33b41acd8546ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): frontend/src/components/editor/file-tree/requesting-tree.tsx:193 \u00B7 frontend/src/components/editor/file-tree/requesting-tree.tsx:209 \u2014 both copies are in the same file, so extract the block 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/editor/file-tree/requesting-tree.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf27204f4d76a7e9a395f1b195e851dc9b1f1042b3b28bb1d897a2259dcc878"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): frontend/src/components/editor/output/console/text-rendering.tsx:119 \u00B7 frontend/src/components/editor/output/console/text-rendering.tsx:134 \u2014 both copies are in the same file, so extract the block 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/editor/output/console/text-rendering.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5146b4b51f1250b7c0fb1aca8ca54f3931a4e6b42ee11dbc5af6cf2dfcc5a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): frontend/src/components/storage/storage-inspector.tsx:694 \u00B7 frontend/src/components/storage/storage-inspector.tsx:716 \u2014 both copies are in the same file, so extract the block 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/storage/storage-inspector.tsx"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebef2284b7c2aa04cdfd6fe35fbcc1422e64bd9fe97fed03037aa667a9cc74df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): frontend/src/core/codemirror/language/languages/sql/completion-builder.ts:122 \u00B7 frontend/src/core/codemirror/language/languages/sql/completion-builder.ts:138 \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/core/codemirror/language/languages/sql/completion-builder.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"30cc625038e7b07b60443d0e403d3f9772885b0ee9ae9bb92b97258bf8eb6ae5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): frontend/src/core/datasets/request-registry.ts:34 \u00B7 frontend/src/core/storage/request-registry.ts:17 \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/core/datasets/request-registry.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c76d84e17279b14b3bb1af1c2c2827fec2d305f9f1dd1405d7c85c71108626d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): frontend/src/core/vscode/vscode-bindings.ts:36 \u00B7 frontend/src/core/vscode/vscode-bindings.ts:103 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 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/core/vscode/vscode-bindings.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c910b7c0842db7cdd4c03b86a5a0f667573578b0fa20211748f9917c22587f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): frontend/src/plugins/impl/FileUploadPlugin.tsx:202 \u00B7 frontend/src/plugins/impl/FileUploadPlugin.tsx:276 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 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/plugins/impl/FileUploadPlugin.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"682b888bd2a42122052a92d78c9092bc8a6a48cfa9c3c513df30f38374d89489"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): frontend/src/plugins/impl/data-frames/forms/renderers.tsx:228 \u00B7 frontend/src/plugins/impl/data-frames/forms/renderers.tsx:305 \u2014 both copies are in the same file, so extract the block 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/plugins/impl/data-frames/forms/renderers.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bf0949eb3e028f50f28b5ef30ca7b3afdf60e0549b1ad27afbfd87d9cff2d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): frontend/src/components/app-config/ai-config.tsx:210 \u00B7 frontend/src/components/app-config/ai-config.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/app-config/ai-config.tsx"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"4676aff0d2a311c30c824cd164b1a203c81a23666f119f0fc452847cfe0d5088"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): frontend/src/components/app-config/user-config-form.tsx:669 \u00B7 frontend/src/components/app-config/user-config-form.tsx:709 \u00B7 frontend/src/components/app-config/user-config-form.tsx:748 \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/app-config/user-config-form.tsx"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"174ee00752c4da7264006415b34c084621bf745e689dea9ca510f3450ea356f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): frontend/src/components/chat/acp/agent-panel.tsx:504 \u00B7 frontend/src/components/chat/chat-panel.tsx:671 \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/chat/acp/agent-panel.tsx"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82fbd0e144422dc74df0987c84d654e16aeafe787f76c2a1efe0e8c526a6db4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): frontend/src/components/chat/acp/agent-panel.tsx:813 \u00B7 frontend/src/components/chat/acp/agent-panel.tsx:852 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 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/chat/acp/agent-panel.tsx"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d260b1a43dce0d8eb14773b96e7be994bb566ca26f96873f56697aee5368622"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): frontend/src/components/editor/chrome/wrapper/app-chrome.tsx:456 \u00B7 frontend/src/components/editor/chrome/wrapper/app-chrome.tsx:503 \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/editor/chrome/wrapper/app-chrome.tsx"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"4683784baf1161cfda51a81fe9ec010190f0355242438e72e1afd50b85e0d438"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): frontend/src/components/editor/connections/secret-combobox.tsx:223 \u00B7 frontend/src/components/editor/connections/secret-combobox.tsx:242 \u2014 both copies are in the same file, so extract the block 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/editor/connections/secret-combobox.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0a167fc237726f4e90222762eaf42bc2d32bc9c114d6c25043f0b8bad69d69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): frontend/src/components/editor/renderers/cell-array.tsx:274 \u00B7 frontend/src/components/editor/renderers/cell-array.tsx:292 \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/editor/renderers/cell-array.tsx"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfd5b001fb1e85da21fccafab464831d88829b06557a725b3dc7e216fb2f029"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): frontend/src/components/forms/form.tsx:758 \u00B7 frontend/src/plugins/impl/data-frames/forms/renderers.tsx:456 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/forms/form.tsx"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"459f9aa94361a35af5a589b3bb688795af80447a30089e6d3e2e86e944dbcb31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): frontend/src/components/storage/storage-inspector.tsx:786 \u00B7 frontend/src/components/storage/storage-inspector.tsx:808 \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/storage/storage-inspector.tsx"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"530b46335d01f2f5fa68b2137b0ee301d99be50813a143999e4c5cefee20c427"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): frontend/src/core/codemirror/markdown/commands.ts:151 \u00B7 frontend/src/core/codemirror/markdown/commands.ts:470 \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/core/codemirror/markdown/commands.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e101b771eb37114ce3e4a414ee0e051a1a2f743d7eacf6067923322a4beb65dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): frontend/src/core/codemirror/markdown/commands.ts:186 \u00B7 frontend/src/core/codemirror/markdown/commands.ts:438 \u2014 both copies are in the same file, so extract the block 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/core/codemirror/markdown/commands.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0889b79cb958c25bca1a98d76e24f0dd72f8266f8a34346ee710a1d2f697606"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): frontend/src/core/islands/bridge.ts:348 \u00B7 frontend/src/core/wasm/bridge.ts:653 \u00B7 frontend/src/core/wasm/bridge.ts:681 \u00B7 frontend/src/core/wasm/bridge.ts:698 \u2014 the 4 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/core/islands/bridge.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58d805e2d49e2491161b4d1485436005955da117247ee2d7aa11c3af87714d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): frontend/src/plugins/core/RenderHTML.tsx:46 \u00B7 frontend/src/plugins/core/RenderHTML.tsx:61 \u2014 both copies are in the same file, so extract the block 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/plugins/core/RenderHTML.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4947f147f2aa52a885804e42655e403330688f7bce1d17110894261269498461"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): frontend/src/plugins/impl/data-frames/forms/renderers.tsx:252 \u00B7 frontend/src/plugins/impl/data-frames/forms/renderers.tsx:323 \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/plugins/impl/data-frames/forms/renderers.tsx"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"758d86037a0f4f6ca8adb39fd4804cfc31b2fdfd2242b4b4e9621b70fac8342e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 12 locations): frontend/src/components/app-config/ai-config.tsx:388 \u00B7 frontend/src/components/app-config/ai-config.tsx:1210 \u00B7 frontend/src/components/app-config/data-form.tsx:96 \u00B7 frontend/src/components/app-config/user-config-form.tsx:421 \u00B7 \u002B8 more site(s) not listed \u2014 the 12 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/app-config/ai-config.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f79fc8866bc40b873df4eb2d359b32fc8db205912710ff02a22dceb9ed9f57e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): frontend/src/components/app-config/ai-config.tsx:1420 \u00B7 frontend/src/components/app-config/data-form.tsx:135 \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/app-config/ai-config.tsx"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"c077600f5e0dc2f6ca8382f161e71de502ed77674427f5468680dc4dc2eeeee1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): frontend/src/components/app-config/app-config-form.tsx:121 \u00B7 frontend/src/components/app-config/app-config-form.tsx:156 \u2014 both copies are in the same file, so extract the block 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/app-config/app-config-form.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ca4fcebc6681cde6bbd3c8bd83cf416005038c312829fec786ff20defba913"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): frontend/src/components/app-config/user-config-form.tsx:360 \u00B7 frontend/src/components/app-config/user-config-form.tsx:914 \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/app-config/user-config-form.tsx"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"970a85dbeafb92d39438237bdd5fef098f281362cb5a6548293f1538408d1ade"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 7 locations): frontend/src/components/app-config/user-config-form.tsx:443 \u00B7 frontend/src/components/app-config/user-config-form.tsx:593 \u00B7 frontend/src/components/app-config/user-config-form.tsx:649 \u00B7 frontend/src/components/app-config/user-config-form.tsx:689 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/app-config/user-config-form.tsx"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"08846bdb76ea29a9b2c7fa6c0b6da8d01199bf537f397e8f05d9563a9ed2cb09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): frontend/src/components/data-table/range-focus/cell-selection-stats.tsx:85 \u00B7 frontend/src/components/data-table/range-focus/cell-selection-stats.tsx:101 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/range-focus/cell-selection-stats.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"310618a49b0f016807a18797d4773daa63bb20e4d2021cd84afca3dd4f221caf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): frontend/src/components/editor/actions/useNotebookActions.tsx:669 \u00B7 frontend/src/components/editor/actions/useNotebookActions.tsx:683 \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/editor/actions/useNotebookActions.tsx"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aaad906fd3ccce624c7b585c98675b59b61b824ba31b3236eb4b7f67b6bd6ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): frontend/src/components/editor/actions/useSetCodeVisibility.ts:43 \u00B7 frontend/src/components/editor/actions/useSetOutputsExpanded.ts:46 \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/editor/actions/useSetCodeVisibility.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a43f74bb5e6253a240b04728d3aa211fb90ef4c6f640e52571634736cf5b3e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): frontend/src/components/editor/chrome/wrapper/app-chrome.tsx:206 \u00B7 frontend/src/components/editor/chrome/wrapper/app-chrome.tsx:224 \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/editor/chrome/wrapper/app-chrome.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a5bb5d31812f04de733f51f220d5d80134fdac44386e415748f4fe43dbe14d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): frontend/src/components/editor/columns/sortable-column.tsx:98 \u00B7 frontend/src/components/editor/columns/sortable-column.tsx:111 \u2014 both copies are in the same file, so extract the block 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/editor/columns/sortable-column.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ad4c49746ef5c48a56a5ba402a479564733ce0cfe5321a8fcb5fe5cc1a3e1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): frontend/src/components/editor/connections/database/as-code.ts:230 \u00B7 frontend/src/components/editor/connections/database/as-code.ts:262 \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/editor/connections/database/as-code.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cff87b0b8b701e7545d74e4edc4e370a2ee31082bc3c61254e2231f6b2e240"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): frontend/src/components/forms/form.tsx:243 \u00B7 frontend/src/components/forms/form.tsx:622 \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/forms/form.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2bea25107b40354782189f3adc21cf4c86d4d952269e9d05c51b2fb13ff38e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): frontend/src/components/storage/storage-file-viewer.tsx:122 \u00B7 frontend/src/components/storage/storage-inspector.tsx:554 \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/storage/storage-file-viewer.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc75353fd54bcb5dbe49e958b6819d3846e8f8bd5ed2a78ec2e244c6698293b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): frontend/src/components/ui/calendar.tsx:37 \u00B7 frontend/src/components/ui/calendar.tsx:53 \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/ui/calendar.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b250000c39f08e4381b0cfc5768716c3d9e1bffd5701c13b4c92d44770eb6372"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 7 locations): frontend/src/components/ui/typography.tsx:87 \u00B7 frontend/src/components/ui/typography.tsx:101 \u00B7 frontend/src/components/ui/typography.tsx:118 \u00B7 frontend/src/components/ui/typography.tsx:135 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 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/ui/typography.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf3d072cd7c284c224bf93a19268fd2da0be3c1557ce4b7ac9c19b45976a813"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): frontend/src/core/codemirror/cells/extensions.ts:177 \u00B7 frontend/src/core/codemirror/cells/extensions.ts:194 \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/core/codemirror/cells/extensions.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c6e4a88afa2f77bd1d51a9753f3cefb20762e20ddc4ad61b182d84631f99a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): frontend/src/core/codemirror/language/languages/sql/renderers.tsx:335 \u00B7 frontend/src/core/codemirror/language/languages/sql/renderers.tsx:404 \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/core/codemirror/language/languages/sql/renderers.tsx"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb55244445ad1058df8b6d5dabbd62e9ac8fc77bbe4aa4b56b44b671bdf9b4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): frontend/src/core/islands/bootstrap.ts:140 \u00B7 frontend/src/core/session/useNotebookSession.tsx:418 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/islands/bootstrap.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2e90afc2656688252ce36aecf2a7ce66e56ed2d61d99a71b613620d159e0d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 10 locations): frontend/src/core/network/requests-network.ts:54 \u00B7 frontend/src/core/network/requests-network.ts:69 \u00B7 frontend/src/core/network/requests-network.ts:132 \u00B7 frontend/src/core/network/requests-network.ts:149 \u00B7 \u002B6 more site(s) not listed \u2014 all 10 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/core/network/requests-network.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aba08f4a5b3dee13b8489e83ede5fc8a3bfdccacdf00139bc246f36659794f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): frontend/src/core/network/requests-network.ts:386 \u00B7 frontend/src/core/network/requests-network.ts:412 \u00B7 frontend/src/core/network/requests-network.ts:425 \u00B7 frontend/src/core/network/requests-network.ts:438 \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/core/network/requests-network.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"910f88b4f50c106415a48789f426f61630fb24394eea2e9d347b4077d25eeaed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): frontend/src/core/static/files.ts:75 \u00B7 frontend/src/core/static/files.ts:94 \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/core/static/files.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f49b151992e5b1af600d0306f3182f2397ba606485602319327e61133a8d53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): frontend/src/plugins/impl/DictPlugin.tsx:25 \u00B7 frontend/src/plugins/impl/TabsPlugin.tsx:33 \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/plugins/impl/DictPlugin.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f5764de2bb74c8ee3a4dade877924b6c9848cbe601aac2be8ed4acdab48f2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): frontend/src/plugins/impl/MatrixPlugin.tsx:42 \u00B7 frontend/src/plugins/impl/matplotlib/MatplotlibPlugin.tsx:28 \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/plugins/impl/MatrixPlugin.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6705864d8b13f1bb5e284ea86c963587d2d446d5a2819c3d46b1ff8f0d6507"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): frontend/src/utils/once.ts:5 \u00B7 frontend/src/utils/once.ts:20 \u2014 the two spans are one implementation copied and then locally edited \u2014 104 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/utils/once.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ef9234c5bf7ca4165773c11a3eb78f726ecd164d93ce5daaded019e6287355"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): frontend/src/components/app-config/ai-config.tsx:1189 \u00B7 frontend/src/components/app-config/user-config-form.tsx:367 \u00B7 frontend/src/components/app-config/user-config-form.tsx:1015 \u2014 the 3 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/app-config/ai-config.tsx"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f250e74843a7111855ea12a3a133937e65dee5b3b52e367c1903358968e02236"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): frontend/src/components/app-config/app-config-button.tsx:40 \u00B7 frontend/src/components/editor/controls/notebook-menu-dropdown.tsx:57 \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/app-config/app-config-button.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"606a42ceafa92c26759316723b9312dbd3da051a8bad6af26ecd6de4bafe3a4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): frontend/src/components/app-config/app-config-form.tsx:96 \u00B7 frontend/src/components/app-config/user-config-form.tsx:843 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/app-config/app-config-form.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0332c97d51ab154ff6fa82921b03fb1888155bf433809b0aa043b0f8346f82e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): frontend/src/components/app-config/app-config-form.tsx:227 \u00B7 frontend/src/components/app-config/data-form.tsx:250 \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/app-config/app-config-form.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd46f9857e8fce713c9c649077febe12c4ac60be06e76a6c0107d4a3d58e63df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): frontend/src/components/chat/chat-panel.tsx:1027 \u00B7 frontend/src/plugins/impl/chat/chat-ui.tsx:525 \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/chat/chat-panel.tsx"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3275ab52aa45b6e7f96848373858c9e9bde09862a8f659d6b3ec5492f96507f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): frontend/src/components/data-table/charts/components/form-fields.tsx:279 \u00B7 frontend/src/components/data-table/charts/components/form-fields.tsx:316 \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/data-table/charts/components/form-fields.tsx"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fa9dc9b6632907a8c056df2687899978bfd6d3c1ae71ca43ad8ad521e68d94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): frontend/src/components/data-table/column-summary/chart-spec-model.tsx:257 \u00B7 frontend/src/components/data-table/column-summary/chart-spec-model.tsx:408 \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/data-table/column-summary/chart-spec-model.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ce129d4bf853d538b4292331f82be248c11ca7775724ac2d4de60c1b8c4820"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): frontend/src/components/datasources/column-preview.tsx:249 \u00B7 frontend/src/components/editor/cell/useAddCell.ts:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 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/datasources/column-preview.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fa644bd5248687e5cf344d185368b09cfa65ae1d65d523039d03ff3eebc42f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): frontend/src/components/dependency-graph/panels.tsx:160 \u00B7 frontend/src/components/dependency-graph/panels.tsx:271 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 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/dependency-graph/panels.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3af2fb33ef7a8a1242b0f4bbb2ba0bf5bce7b557f91a99eaa84a0f63951310"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): frontend/src/components/editor/ai/completion-handlers.tsx:89 \u00B7 frontend/src/components/editor/ai/completion-handlers.tsx:119 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/ai/completion-handlers.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e9c43fd438bca45a6488efc97a7a442dc0ef586b301cd00692e6452112ed32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): frontend/src/components/editor/connections/components.tsx:114 \u00B7 frontend/src/components/markdown/markdown-renderer.tsx:74 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 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/editor/connections/components.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed75baa69e30bcada8213f1feb8791846e10d922d9365ba36f68ecb2016e1a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): frontend/src/components/editor/output/MarimoErrorOutput.tsx:352 \u00B7 frontend/src/components/editor/output/MarimoErrorOutput.tsx:401 \u00B7 frontend/src/components/editor/output/MarimoErrorOutput.tsx:509 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/MarimoErrorOutput.tsx"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72083590e7a61f3eb6d4a8729580077b68e49744019734f792a028a2bf609e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): frontend/src/components/editor/output/MarimoErrorOutput.tsx:529 \u00B7 frontend/src/components/editor/output/MarimoErrorOutput.tsx:695 \u00B7 frontend/src/components/editor/output/MarimoErrorOutput.tsx:711 \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/editor/output/MarimoErrorOutput.tsx"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedc3cdffec2fb10a70d63bd683877f8e81a1abd3f33d7cbf032e52ea186fabb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): frontend/src/components/find-replace/find-replace.tsx:186 \u00B7 frontend/src/components/find-replace/find-replace.tsx:198 \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/find-replace/find-replace.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"7728707f58c3166cd245d9d288a0e296882e4c8cd79ab148858daa16279a78fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): frontend/src/components/ui/number-field.tsx:76 \u00B7 frontend/src/components/ui/number-field.tsx:88 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ui/number-field.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ded23e28d2354dc6fa6bd6084efdf10d5c78016de553aa468ed833b554722c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): frontend/src/core/codemirror/cells/extensions.ts:68 \u00B7 frontend/src/core/codemirror/cells/extensions.ts:84 \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/core/codemirror/cells/extensions.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"57309610556fe121546d6e56cbe3305998682a1f5e8b790b52b967ef26b55c7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): frontend/src/core/codemirror/find-replace/navigate.ts:39 \u00B7 frontend/src/core/codemirror/find-replace/navigate.ts:156 \u2014 the two spans are one implementation copied and then locally edited \u2014 94 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/core/codemirror/find-replace/navigate.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5996f539e79f995140f569606587b34706d195ac42842007998ade17ec5d24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): frontend/src/core/codemirror/go-to-definition/underline.ts:147 \u00B7 frontend/src/core/codemirror/go-to-definition/underline.ts:169 \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/core/codemirror/go-to-definition/underline.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf725fd5a31c5aaec1da43e6eeb945b0e74c90a774a7228aad8a1ad11ecaa853"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): frontend/src/core/islands/worker/worker.tsx:112 \u00B7 frontend/src/core/wasm/worker/worker.ts:90 \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/core/islands/worker/worker.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3650bc3374d28b336a8e1b115a23dbe0710e2257fb82c6902fe93897bd5db6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): frontend/src/core/wasm/bridge.ts:512 \u00B7 frontend/src/core/wasm/bridge.ts:585 \u00B7 frontend/src/core/wasm/bridge.ts:602 \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/core/wasm/bridge.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8011ce0123717fe381424f5178bdba41586c6db5c9da91221fcd8c1c24275ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): frontend/src/plugins/impl/DateRangePlugin.tsx:30 \u00B7 frontend/src/plugins/impl/DateTimePickerPlugin.tsx:32 \u00B7 frontend/src/plugins/impl/RadioPlugin.tsx:34 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/DateRangePlugin.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c670f7eaebd5b71f765b51f1c60d88535bbb24dc38d0d836856e16de716a85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): frontend/src/plugins/impl/MultiselectPlugin.tsx:64 \u00B7 frontend/src/plugins/impl/SearchableSelect.tsx:28 \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/plugins/impl/MultiselectPlugin.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"746784c3a842fc23ff3ec6cbff4881b01a80da71a71cd1bff694aae30654d674"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): frontend/src/plugins/impl/matplotlib/matplotlib-renderer.ts:757 \u00B7 frontend/src/plugins/impl/matplotlib/matplotlib-renderer.ts:779 \u2014 both copies are in the same file, so extract the block 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/plugins/impl/matplotlib/matplotlib-renderer.ts"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efae2bf50a0679b17185cf92de20476022c802d96af64214f59fbd0b6c12cf0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): frontend/src/plugins/impl/vega/loader.ts:31 \u00B7 frontend/src/plugins/impl/vega/loader.ts:92 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/vega/loader.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6988145d9a2e54769ba27945a0ccea55eed724baf56ad90a5bb105a1a5d6a735"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/components/data-table/add-filter-button.tsx:65 \u00B7 frontend/src/components/data-table/filter-pills.tsx:289 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/add-filter-button.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e11652d4088415a500c97ea71878e6822beabf5d13133b9a83dce15261e869"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/components/data-table/header-items.tsx:109 \u00B7 frontend/src/components/data-table/header-items.tsx:160 \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/data-table/header-items.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ccfc495bb52b603adc3e916ae7542af0efe42f4e9f8242cf99eb870e0063c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/components/data-table/pagination.tsx:131 \u00B7 frontend/src/components/data-table/pagination.tsx:164 \u2014 both copies are in the same file, so extract the block 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/data-table/pagination.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd250b4b5f9234eac1192dee90d4c30e49be0d2805837652f1716f0e7e58ade3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/components/data-table/range-focus/utils.ts:23 \u00B7 frontend/src/components/data-table/range-focus/utils.ts:103 \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/data-table/range-focus/utils.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f48fc4df4b65ccc58e4e3b4efe29821bba24b77370f3693735e420a00271bf1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): frontend/src/components/dependency-graph/dependency-graph-tree.tsx:87 \u00B7 frontend/src/components/dependency-graph/dependency-graph-tree.tsx:165 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 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/dependency-graph/dependency-graph-tree.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6af94900f24e7ff1a9bb0a690391819851d2f288b46befdabe358306cc824a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/components/dependency-graph/elements.ts:219 \u00B7 frontend/src/components/dependency-graph/elements.ts:303 \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/dependency-graph/elements.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"37241ae2bc0db1aa486630235ee14689e43dc8b88b10cba776678b028433aa85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/components/editor/chrome/wrapper/app-chrome.tsx:442 \u00B7 frontend/src/components/editor/chrome/wrapper/app-chrome.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/components/editor/chrome/wrapper/app-chrome.tsx"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"6504020422227c2f6a3e3f80dfdcb39d6c1dd41dd78e1745ce3aefba1eac006a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/components/editor/connections/database/as-code.ts:191 \u00B7 frontend/src/components/editor/connections/storage/as-code.ts:46 \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/editor/connections/database/as-code.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"74117c313df3d627d2d1f4fcf67b3c1709190cfea558fd3845fe1e27d05b09c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): frontend/src/components/editor/connections/database/as-code.ts:214 \u00B7 frontend/src/components/editor/connections/database/as-code.ts:246 \u00B7 frontend/src/components/editor/connections/database/as-code.ts:538 \u00B7 frontend/src/components/editor/connections/database/as-code.ts:894 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/connections/database/as-code.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e70caa9c2988426a463629c14adf835202361a3d4b37cbc66ba40ca1a1b57f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): frontend/src/components/editor/connections/database/schemas.ts:134 \u00B7 frontend/src/components/editor/connections/database/schemas.ts:149 \u00B7 frontend/src/components/editor/connections/database/schemas.ts:356 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Check what actually differs between the copies before collapsing them: every one of them is an argument to a \u0060object(\u2026)\u0060 call, so where these calls are a MATRIX of cases \u2014 one per input, differing precisely in the case each one pins \u2014 the repetition is the enumeration and extracting the shared part would delete cases rather than de-duplicate anything."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/connections/database/schemas.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb0d83721185bd4666ca0c48bf2a763de0ed3ddf5aa2cbdcb50a4d0f07dd74d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/components/editor/connections/paths.ts:8 \u00B7 frontend/src/components/editor/connections/secrets.ts:12 \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/editor/connections/paths.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d2b47dfc9ed5bdd56e8f0a86c1e112fa0051dc9ccb6879ba80b0a1e564f4e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/components/slides/minimap.tsx:325 \u00B7 frontend/src/components/slides/minimap.tsx:368 \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/slides/minimap.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e08da9442306a2557f9867bdb1aab0b01a5d22a0d861999f2a4089abc13459"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/components/slides/slide-cell-view.tsx:92 \u00B7 frontend/src/components/slides/slide-cell-view.tsx:197 \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/slides/slide-cell-view.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7834a9b7705236c3f5c5e130790dc5371f19271ae8893514cd9acf2107573c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/components/ui/dialog.tsx:135 \u00B7 frontend/src/components/ui/sheet.tsx:121 \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/ui/dialog.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5639b428c64b52f91b39804f6f8ccd21ce62b84d5499fa7e42307327c9aa7575"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): frontend/src/components/ui/range-slider.tsx:178 \u00B7 frontend/src/components/ui/range-slider.tsx:202 \u00B7 frontend/src/components/ui/slider.tsx:65 \u2014 the 3 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/ui/range-slider.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"6164bd3778447035ad48145893da32a265a1f75cfc93e8ea82cfd3e49f98838b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/core/cells/utils.ts:41 \u00B7 frontend/src/core/cells/utils.ts:53 \u2014 both copies are in the same file, so extract the block 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/core/cells/utils.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35b0d7f4737c6e9360ca2ff951364fd274ab7d4803813dd6f362236b94c399a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/core/codemirror/copilot/copilot-config.tsx:185 \u00B7 frontend/src/core/codemirror/copilot/copilot-config.tsx:199 \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/core/codemirror/copilot/copilot-config.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe761964d8a9fd643fcf3338e8f04459a66f9de50432b9890810fcf144bd1a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): frontend/src/core/codemirror/language/languages/python.ts:52 \u00B7 frontend/src/core/codemirror/language/languages/python.ts:160 \u00B7 frontend/src/core/codemirror/language/languages/python.ts:191 \u00B7 frontend/src/core/codemirror/language/languages/python.ts:229 \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/core/codemirror/language/languages/python.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"558b74a6feaa4433084b46ba33b0c99f3c18797080c0dff09ca5f16c55c814a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/core/codemirror/language/languages/sql/completion-builder.ts:106 \u00B7 frontend/src/core/codemirror/language/languages/sql/completion-builder.ts:118 \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/core/codemirror/language/languages/sql/completion-builder.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d675f78788beb38a730a12cc196ef7221260f42139738fe94dcecc2eb100676"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/core/codemirror/language/panel/panel.tsx:163 \u00B7 frontend/src/core/codemirror/language/panel/panel.tsx:174 \u2014 both copies are in the same file, so extract the block 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/core/codemirror/language/panel/panel.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"e339f4a8439d677d0ac5c63193755e8887afec77dd11223f519cabfb2cb083dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/core/codemirror/markdown/commands.ts:468 \u00B7 frontend/src/core/codemirror/markdown/commands.ts:492 \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/core/codemirror/markdown/commands.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db4095cd24fda914912f5c1f02cb76b580bb4e276739e5c07b180c9709e8b86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): frontend/src/core/codemirror/reactive-references/analyzer.ts:149 \u00B7 frontend/src/core/codemirror/reactive-references/analyzer.ts:244 \u00B7 frontend/src/core/codemirror/reactive-references/analyzer.ts:321 \u00B7 frontend/src/core/codemirror/reactive-references/analyzer.ts:345 \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/core/codemirror/reactive-references/analyzer.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a5f21c7257b59686983a36edb78a7e14f2f389eceebe241b8eff0f27f239ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/core/codemirror/reactive-references/analyzer.ts:332 \u00B7 frontend/src/core/codemirror/reactive-references/analyzer.ts:356 \u2014 both copies are in the same file, so extract the block 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/core/codemirror/reactive-references/analyzer.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8338dab86cbe6451ea3a2ca9dfebbea823cb89f5cb9f9f55cc207c0b83b7005"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/core/executions/interrupt.ts:31 \u00B7 frontend/src/core/executions/run.ts:86 \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/core/executions/interrupt.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0dcd3dc01bb9341da4add423a9e45a3b15de5f8346462585e7cfe3ec181f00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/core/hotkeys/shortcuts.ts:10 \u00B7 frontend/src/core/hotkeys/shortcuts.ts:28 \u2014 both copies are in the same file, so extract the block 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/core/hotkeys/shortcuts.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"274728c4630e527cda5b3c1aa3163e2dd206e9bae0b510685583925cae1b47f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/core/islands/bridge.ts:426 \u00B7 frontend/src/core/wasm/bridge.ts:784 \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/core/islands/bridge.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaec28c90d25778d9fb1a925a942231fa5dfad5b7b7ab54b208a0e95daa47af4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/core/network/api.ts:70 \u00B7 frontend/src/core/network/api.ts:113 \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/core/network/api.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d572e4d2556e97eccb611daf2a94e0e96713935bf2c53d088bcb9b12af8cc065"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): frontend/src/core/notebook/replica/resources/document.ts:62 \u00B7 frontend/src/core/notebook/replica/resources/results.ts:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 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/core/notebook/replica/resources/document.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33794c8610a65a9656c2e149461f4dbff4cef87eb6a5ee8e80cd148059e0283"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/plugins/impl/anywidget/registry.ts:174 \u00B7 frontend/src/plugins/impl/anywidget/registry.ts:254 \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/plugins/impl/anywidget/registry.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba34d57887da410eeca6996bb1f51beff4872d1548d669b2f20fc4e7d3b30c11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/plugins/impl/plotly/selection.ts:372 \u00B7 frontend/src/plugins/impl/plotly/selection.ts:387 \u2014 both copies are in the same file, so extract the block 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/plugins/impl/plotly/selection.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b628fe8798509d9bb7fbada9f9bac69d081a5ca1f7682ac9142ac28090ca6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/plugins/impl/vega/make-selectable.ts:313 \u00B7 frontend/src/plugins/impl/vega/make-selectable.ts: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/plugins/impl/vega/make-selectable.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf56445534fc4176f951df2386dd4197c57f9387a06215484dc1fb3f92786cd2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/utils/python-poet/poet.ts:117 \u00B7 frontend/src/utils/python-poet/poet.ts:135 \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/utils/python-poet/poet.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"54834c5a857d8d932478fcd57cd64668504c19b4d03a6b7657dfbb18cc6a6617"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/utils/storage/typed.ts:29 \u00B7 frontend/src/utils/storage/typed.ts:71 \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/utils/storage/typed.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8905b664077af9718d18dd2353f345a22b2f74189a98439317cf567c86af43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): frontend/src/utils/urls.ts:96 \u00B7 frontend/src/utils/urls.ts:138 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 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/utils/urls.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a0f4d6bec3d8229da7068c80573a893864821182e09268c4242100cdc46a10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): frontend/src/components/app-config/data-form.tsx:74 \u00B7 frontend/src/components/app-config/user-config-form.tsx:824 \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/app-config/data-form.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"34dca477c1bcb7edd043716c08625dba1904bc5d969b088efb98d9d26e3f871e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): frontend/src/components/app-config/data-form.tsx:245 \u00B7 frontend/src/components/app-config/user-config-form.tsx:413 \u00B7 frontend/src/components/app-config/user-config-form.tsx:566 \u00B7 frontend/src/components/app-config/user-config-form.tsx:870 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/app-config/data-form.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"a800afaf65a20ccd53d0c0e857df0d6b918969e4cfecb7d5d74be306b0fe2ba6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): frontend/src/components/app-config/user-config-form.tsx:416 \u00B7 frontend/src/components/app-config/user-config-form.tsx:569 \u00B7 frontend/src/components/app-config/user-config-form.tsx:873 \u00B7 frontend/src/components/app-config/user-config-form.tsx:1079 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/app-config/user-config-form.tsx"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f7ec1c3bd4a9f5f7c7380a4942df02b532511baa044b1868356fcb961604d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): frontend/src/components/editor/actions/useNotebookActions.tsx:325 \u00B7 frontend/src/components/editor/actions/useNotebookActions.tsx:339 \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/editor/actions/useNotebookActions.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17765c7b6b7fe0b15ceab522ab44bb21d04c9b84d3db6effe9a5c29bdd62e35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): frontend/src/components/editor/chrome/wrapper/footer-items/runtime-settings.tsx:118 \u00B7 frontend/src/components/editor/chrome/wrapper/footer-items/runtime-settings.tsx:155 \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/editor/chrome/wrapper/footer-items/runtime-settings.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8981b2de6ab29342cd8dc1f1e3d4fc37c8bb7264fa904f3bb8b7f1a6e71febd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): frontend/src/components/editor/connections/database/as-code.ts:73 \u00B7 frontend/src/components/editor/connections/storage/as-code.ts:24 \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/editor/connections/database/as-code.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a422915895a6c6cbdf541cf45145e2f3d027712b78459c436557d71b460af32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): frontend/src/components/editor/connections/database/as-code.ts:1012 \u00B7 frontend/src/components/editor/connections/database/as-code.ts:1031 \u2014 both copies are in the same file, so extract the block 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/editor/connections/database/as-code.ts"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"5782f398835c4dc98d7f9878115ef49605ec5e1518ea20cb10e55b96000a07fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): frontend/src/components/editor/connections/database/schemas.ts:170 \u00B7 frontend/src/components/editor/connections/database/schemas.ts:342 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Check what actually differs between the copies before collapsing them: every one of them is an argument to a \u0060object(\u2026)\u0060 call, so where these calls are a MATRIX of cases \u2014 one per input, differing precisely in the case each one pins \u2014 the repetition is the enumeration and extracting the shared part would delete cases rather than de-duplicate anything."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/connections/database/schemas.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e199bf5825d71bc82b4e426f2093048f9f69ac71ccdd77b28938ade2a3141bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): frontend/src/components/editor/output/MarimoErrorOutput.tsx:476 \u00B7 frontend/src/components/editor/output/MarimoErrorOutput.tsx:517 \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/editor/output/MarimoErrorOutput.tsx"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8312dc1b9297936a12651a6398a41af60eff99f1cb50cc06bf9280ebc22794b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): frontend/src/components/editor/output/MarimoErrorOutput.tsx:634 \u00B7 frontend/src/components/editor/output/MarimoErrorOutput.tsx:672 \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/editor/output/MarimoErrorOutput.tsx"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"328683f51b132146f1a375730730b6c9d3f57ea4dbd6eafac9b209c25f05c0a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): frontend/src/components/forms/form.tsx:172 \u00B7 frontend/src/components/forms/form.tsx:281 \u00B7 frontend/src/components/forms/form.tsx:606 \u00B7 frontend/src/plugins/impl/data-frames/forms/renderers.tsx:241 \u2014 the 4 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/forms/form.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd893ae3f605e472124db02007a7d5137e20b54b4a5d6738408847d13650956f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): frontend/src/components/ui/form.tsx:110 \u00B7 frontend/src/components/ui/label.tsx:13 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 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/form.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8a304c3c363b58f483fe068f8dc5c7840059db47e4cac0f3e341b3be758ea2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): frontend/src/core/codemirror/cells/extensions.ts:156 \u00B7 frontend/src/core/codemirror/cells/extensions.ts:220 \u00B7 frontend/src/core/codemirror/cells/extensions.ts:230 \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/core/codemirror/cells/extensions.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a152d7ca94f4c7325e53362b35dd0611856154dc3bb5cf1f4d31213e65d2efb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): frontend/src/core/codemirror/find-replace/navigate.ts:16 \u00B7 frontend/src/core/codemirror/find-replace/search-highlight.ts:58 \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/core/codemirror/find-replace/navigate.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3714bb8d8771a53a0ad5b350cd43655448fc4e8e658d9a84d283c298a15398"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): frontend/src/core/codemirror/reactive-references/analyzer.ts:173 \u00B7 frontend/src/core/codemirror/reactive-references/analyzer.ts:261 \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/core/codemirror/reactive-references/analyzer.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"327487fcc46937dc1038362cfea4dce363cb27ef4aeb45408c9abf8a849342d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): frontend/src/core/wasm/bridge.ts:629 \u00B7 frontend/src/core/wasm/bridge.ts:640 \u2014 both copies are in the same file, so extract the block 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/core/wasm/bridge.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9c85db371a8554b6af406d5a3fdaf1fdc7836015c59e3539a2b7f0f3fcc768"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): frontend/src/mount.tsx:245 \u00B7 frontend/src/mount.tsx:260 \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/mount.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df1c77c623077d57ec18b409660cd8d1def08946981926f43b807c533eb9d3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): frontend/src/plugins/impl/data-frames/forms/renderers.tsx:94 \u00B7 frontend/src/plugins/impl/data-frames/forms/renderers.tsx:192 \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/plugins/impl/data-frames/forms/renderers.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2e1f717ab8881ae5a329f25c08f734a447a65455c4cdd61a0df13e185f8535"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): frontend/src/plugins/impl/plotly/selection.ts:159 \u00B7 frontend/src/plugins/impl/plotly/selection.ts:177 \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/plugins/impl/plotly/selection.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf84f796f2757d7dbc31ee782c959ee2fc719c64003b2bad34d6041f9a35a99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): frontend/src/utils/dates.ts:164 \u00B7 frontend/src/utils/dates.ts:210 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 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/utils/dates.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76a903c803b4d7c73d35fd282348d2bfd043a0376a6fae59e270ab3e26a2be0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): frontend/src/components/app-config/user-config-form.tsx:564 \u00B7 frontend/src/components/app-config/user-config-form.tsx:1020 \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/app-config/user-config-form.tsx"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"404d29d892d544ada6f3e66e291737635522a828396f8f9180c977a68a52245b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): frontend/src/components/data-table/date-filter-inputs.tsx:146 \u00B7 frontend/src/components/data-table/date-filter-inputs.tsx:214 \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/data-table/date-filter-inputs.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"67808719160833c8b7dd5e5739eaeff9c05f9ce79c6755d82b474567071457c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): frontend/src/components/data-table/filter-pill-editor.tsx:475 \u00B7 frontend/src/components/data-table/filter-pill-editor.tsx:491 \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/data-table/filter-pill-editor.tsx"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73423fcd9de033af0dc5780daac7d9a9a3f6be2d85eba609ff296552422da90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): frontend/src/components/data-table/filters/format.ts:53 \u00B7 frontend/src/components/data-table/filters/format.ts:66 \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/data-table/filters/format.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"778ccc4bb5726d0dcdb0b1f035073cf1c2200baad0edc3a6af74c3dc42ce49cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): frontend/src/components/editor/connections/database/as-code.ts:1002 \u00B7 frontend/src/components/editor/connections/database/as-code.ts:1020 \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/editor/connections/database/as-code.ts"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2eefa5a31f8a03a987127c48e369cefb937cb3a8f4de7ed311c4215165fab8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): frontend/src/components/editor/notebook-cell.tsx:351 \u00B7 frontend/src/components/editor/notebook-cell.tsx:415 \u00B7 frontend/src/components/editor/notebook-cell.tsx:1068 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/notebook-cell.tsx"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe4f24fa6f6a048abc7942f1777552903fe0e9c0fdfd5a54f9d615164c2bad4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): frontend/src/components/tracing/tracing.tsx:259 \u00B7 frontend/src/plugins/impl/vega/vega-component.tsx:289 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 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/tracing/tracing.tsx"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"748d352ede4e96cc1368266d7eeef8ee061092aa30a2379525befd6015323e0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): frontend/src/components/ui/switch.tsx:36 \u00B7 frontend/src/components/ui/toggle.tsx:30 \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/switch.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48233788fd078336857fd949c0e3b13062c79f8aba4da8957c9ca9b469e2a94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): frontend/src/core/codemirror/language/panel/markdown.tsx:38 \u00B7 frontend/src/core/codemirror/language/panel/markdown.tsx:48 \u2014 both copies are in the same file, so extract the block 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/core/codemirror/language/panel/markdown.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cae27e898e081697715c2a6fdaf60fb8468a4763c8d96f5a90339fde26116f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): frontend/src/plugins/impl/DatePickerPlugin.tsx:68 \u00B7 frontend/src/plugins/impl/DateRangePlugin.tsx:76 \u00B7 frontend/src/plugins/impl/DateTimePickerPlugin.tsx:72 \u2014 the 3 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. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/DatePickerPlugin.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59cbe3bbb6c61f87e7d845ec2eb0628042fe364751c80f1afd859b0f2613305"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/generate-design-md.ts:178 \u00B7 scripts/generate-design-md.ts:189 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate-design-md.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"57448d5f96ae6028ef6b679da8ddbf70a58c05b284e205b620acd3429f453fc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): frontend/src/components/chat/chat-panel.tsx:852 \u00B7 frontend/src/components/chat/chat-panel.tsx:891 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/chat/chat-panel.tsx"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"18dce2415457afac326a147186e88c8376d88e46740471a2b0f5c214ebee29a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): frontend/src/components/chat/chat-panel.tsx:111 \u00B7 frontend/src/components/chat/user-message.tsx:25 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 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/chat/chat-panel.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"1967834f1119ff07f257139b05fb11e67d8288ef808024d73f6a23e0a473af11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): frontend/src/components/data-table/charts/components/chart-items.tsx:275 \u00B7 frontend/src/components/data-table/charts/forms/pie.tsx:18 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 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/data-table/charts/components/chart-items.tsx"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"6784f80211351ec71ca45008dad8385c6755f94a52805e131b137f2418e42b5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): frontend/src/components/editor/connections/database/as-code.ts:255 \u00B7 frontend/src/components/editor/connections/database/as-code.ts:543 \u2014 both copies are in the same file, so extract the block 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/editor/connections/database/as-code.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cddc645ae3a0a7e289e7076f41e06457dc06876e41310a2d69a8a2e0b3f41b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): frontend/src/components/editor/connections/database/as-code.ts:989 \u00B7 frontend/src/components/editor/connections/storage/as-code.ts:327 \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/editor/connections/database/as-code.ts"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"19033cd35fa6ca601b0de99dd50333ee60bfab24124e71139d00c2daf04b2756"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): frontend/src/components/editor/connections/form-renderers.tsx:154 \u00B7 frontend/src/plugins/impl/data-frames/forms/renderers.tsx:217 \u00B7 frontend/src/plugins/impl/data-frames/forms/renderers.tsx:370 \u2014 the 3 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/connections/form-renderers.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad9dfd7309363eae0f1ee970387037a73a4d0d0036190d40589164dba18e750"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): frontend/src/components/forms/form.tsx:114 \u00B7 frontend/src/components/forms/form.tsx:123 \u2014 both copies are in the same file, so extract the block 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/forms/form.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e61c1148df39f801a65a1cbb301e4f4fd51e779fb6b7be7edb056245be51192"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 28 locations): frontend/src/components/ui/accordion.tsx:9 \u00B7 frontend/src/components/ui/alert-dialog.tsx:93 \u00B7 frontend/src/components/ui/alert-dialog.tsx:105 \u00B7 frontend/src/components/ui/alert-dialog.tsx:118 \u00B7 \u002B24 more site(s) not listed \u2014 the 28 copies are spread across 12 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/ui/accordion.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7610cb094ac59a960dd918cec7b6725145cf549c37077379de51feced6e7865d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 13 locations): frontend/src/components/ui/alert-dialog.tsx:38 \u00B7 frontend/src/components/ui/alert-dialog.tsx:102 \u00B7 frontend/src/components/ui/alert-dialog.tsx:114 \u00B7 frontend/src/components/ui/alert-dialog.tsx:127 \u00B7 \u002B9 more site(s) not listed \u2014 the 13 copies are spread across 8 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/ui/alert-dialog.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bed029f84849ff6ffa89845db3ddc0c3ef4e270e909b547335a8eb7a11d3f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): frontend/src/core/ai/context/providers/error.ts:166 \u00B7 frontend/src/core/codemirror/completion/variable-completions.ts:75 \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/core/ai/context/providers/error.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8a6950e55be23426abd5c489218fe47674c25b590422674d40e3ebaff42589"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): frontend/src/core/packages/useSandboxController.ts:117 \u00B7 frontend/src/core/packages/useSandboxController.ts:152 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 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/core/packages/useSandboxController.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd036bff45618a1c78406404326d630c8fe46486b6cf6f29aa465399cdede723"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): frontend/src/plugins/impl/CheckboxPlugin.tsx:25 \u00B7 frontend/src/plugins/impl/RefreshPlugin.tsx:61 \u00B7 frontend/src/plugins/impl/SwitchPlugin.tsx:20 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/CheckboxPlugin.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0dc58f18f4553fb66232a7477abdf139f552b6fa34edd0636105de02e31c85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): frontend/src/plugins/impl/DictPlugin.tsx:48 \u00B7 frontend/src/plugins/impl/FormPlugin.tsx:236 \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/plugins/impl/DictPlugin.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d25b90b192cb82129d7dea8d0e7a75c70f9f65cfe8821d1fec7f4ae4d42809f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): frontend/src/plugins/impl/data-frames/forms/renderers.tsx:118 \u00B7 frontend/src/plugins/impl/data-frames/forms/renderers.tsx:211 \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/plugins/impl/data-frames/forms/renderers.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ebc5d8a05947373dc1a611187230afe3dc75cc6f073618a461bb37073548b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): frontend/src/components/app-config/ai-config.tsx:612 \u00B7 frontend/src/components/app-config/ai-config.tsx:1678 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/app-config/ai-config.tsx"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fc5320fcaf1a3c688c35a5c52a3f07469ea6ecc75f11566fa121e09b665c74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): frontend/src/components/datasources/datasources.tsx:774 \u00B7 frontend/src/components/datasources/datasources.tsx:918 \u2014 both copies are in the same file, so extract the block 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/datasources/datasources.tsx"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1ab8ecf925af5cea96b2eb12be3323bcd3b87bbcdf5795fa74e963499cda41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): frontend/src/components/editor/chrome/wrapper/footer-items/machine-stats.tsx:18 \u00B7 frontend/src/components/pages/home-page.tsx:87 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/wrapper/footer-items/machine-stats.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f822e86e03bb5c26237f3258ed1a3468d2add3fd562cd6d6d3a4cf0c06d264d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): frontend/src/components/editor/connections/database/as-code.ts:587 \u00B7 frontend/src/components/editor/connections/database/as-code.ts:903 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/connections/database/as-code.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"678cdaa4e508fa3a7bf878bd8e46ddf179cda77d67e17707e53f56cc8af07af8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): frontend/src/components/editor/connections/database/schemas.ts:13 \u00B7 frontend/src/components/editor/connections/database/schemas.ts:39 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/connections/database/schemas.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb710e23a760f77c8b2b4f002594566b9df415a0d31f8b7b99e98d7e20699c94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): frontend/src/components/editor/notebook-cell.tsx:353 \u00B7 frontend/src/components/editor/renderers/vertical-layout/vertical-layout.tsx:333 \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/editor/notebook-cell.tsx"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb040e5a481ce9109e2174680bad095dc6114c9ccf0b579ad67eba1b7650254c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): frontend/src/components/storage/storage-file-viewer.tsx:33 \u00B7 frontend/src/components/storage/storage-inspector.tsx:87 \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/storage/storage-file-viewer.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74c1d676cd81caac636a2121d4245bda36de131a4fe5513b6703fced54798b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): frontend/src/components/ui/checkbox.tsx:3 \u00B7 frontend/src/components/ui/navigation.tsx:4 \u00B7 frontend/src/components/ui/radio-group.tsx:3 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ui/checkbox.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d14d95d9799d83fbc3d2a73e61b223443c96b58b57e6292d4ba91a2350a83c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): frontend/src/core/codemirror/cells/extensions.ts:170 \u00B7 frontend/src/core/codemirror/cells/extensions.ts:214 \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/core/codemirror/cells/extensions.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbad3bd5dc96842cee9b23ba74df7716674161367573056682bb74d9c17e492"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): frontend/src/core/executions/atoms.ts:142 \u00B7 frontend/src/core/executions/atoms.ts:181 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 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/core/executions/atoms.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"42611f12071ac4ac4e072f061eb8e3dacc37f07f20a184b4b40c9729964a0e33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): frontend/src/plugins/impl/CodeEditorPlugin.tsx:40 \u00B7 frontend/src/plugins/impl/vega/VegaPlugin.tsx:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 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/plugins/impl/CodeEditorPlugin.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1bac707d13b13239515653c852c3c7c041015bca2f2cd4227444c36f8aee0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): frontend/src/plugins/impl/data-editor/data-utils.ts:99 \u00B7 frontend/src/plugins/impl/data-editor/data-utils.ts:131 \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/plugins/impl/data-editor/data-utils.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef344ae80c20ee445518865be9672376ff5ddea92c4f043e2784f4d33a13da09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): frontend/src/components/datasources/datasources.tsx:484 \u00B7 frontend/src/components/datasources/datasources.tsx:636 \u2014 both copies are in the same file, so extract the block 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/datasources/datasources.tsx"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb8eeef98c584c8cb26727b71222c7a4962004bd687fc8ee986646a7eba5348"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9 locations): frontend/src/components/editor/chrome/panels/components.tsx:61 \u00B7 frontend/src/components/ui/card.tsx:22 \u00B7 frontend/src/components/ui/card.tsx:34 \u00B7 frontend/src/components/ui/card.tsx:46 \u00B7 \u002B5 more site(s) not listed \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/panels/components.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab0b10d46d5e4a2f6f0c6f0d326ff6087b05187a6818c635a05a922931e6c0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): frontend/src/components/editor/connections/storage/as-code.ts:90 \u00B7 frontend/src/components/editor/connections/storage/as-code.ts:180 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/connections/storage/as-code.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efd6769a99651ea86919c645b30aeb77d6c16220afb59a49f908dcc9bd48cc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): frontend/src/components/slides/compose-slides.ts:189 \u00B7 frontend/src/components/slides/compose-slides.ts:204 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 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/slides/compose-slides.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1130ec59d9ae245b473911f1bf668824808db58a1db249e6d39960b0a3a2cd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): frontend/src/core/cells/arrange.ts:403 \u00B7 frontend/src/core/cells/arrange.ts:454 \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/core/cells/arrange.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ace595033d6bcae5aa6e46d1e8756310ae6b286c40eb693be5208e22809daba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): frontend/src/core/notebook/document/sync.ts:48 \u00B7 packages/client/src/request.ts:395 \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/core/notebook/document/sync.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"390d257d7c206d1be8022a8999c2912028ab83e189c0f42d4ab6f51adca3100a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): frontend/src/plugins/impl/NumberPlugin.tsx:31 \u00B7 frontend/src/plugins/impl/RangeSliderPlugin.tsx:42 \u00B7 frontend/src/plugins/impl/SliderPlugin.tsx:48 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/NumberPlugin.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88e2917a91ceed8214e1e328c3325a99582065f146634c13547028658391663"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/client/src/client.ts:27 \u00B7 packages/client/src/notebook/client.ts:237 \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":"packages/client/src/client.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9b02a64df4b51f1493c99063db788a08804690ab693f9a31eee61b5babea1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): frontend/src/components/data-table/hover-tooltip/use-table-hover-tooltip.ts:91 \u00B7 frontend/src/components/data-table/hover-tooltip/use-table-hover-tooltip.ts:114 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 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/data-table/hover-tooltip/use-table-hover-tooltip.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"656c15b5246a29dce2e6c8599d5f47af350941483dc2bf60c700fff67ccce3b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): frontend/src/components/editor/chrome/panels/outline/floating-outline.tsx:74 \u00B7 frontend/src/components/editor/chrome/panels/outline/floating-outline.tsx:118 \u00B7 frontend/src/components/editor/chrome/panels/outline/useActiveOutline.tsx:114 \u2014 the 3 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/editor/chrome/panels/outline/floating-outline.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d1f607998c6b94afea1533fcaf19fe09cf6a61799d8a7d504f21fca3ece5da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): frontend/src/components/editor/chrome/panels/outline/floating-outline.tsx:119 \u00B7 frontend/src/components/editor/chrome/panels/outline/useActiveOutline.tsx:115 \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/editor/chrome/panels/outline/floating-outline.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f111e908e8d8e93f2f9cf10b4e68aaef24dfc269f79e8abfcaeb0236ecee594d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): frontend/src/components/editor/output/ansi-reduce.ts:46 \u00B7 frontend/src/components/editor/output/ansi-reduce.ts:59 \u2014 both copies are in the same file, so extract the block 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/editor/output/ansi-reduce.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e0b70927d3c37cca79d0be30659f4e23bfae47aeae31aab855c1a424b686f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): frontend/src/plugins/impl/matplotlib/matplotlib-renderer.ts:99 \u00B7 frontend/src/plugins/impl/matplotlib/matplotlib-renderer.ts:252 \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/plugins/impl/matplotlib/matplotlib-renderer.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"79299cefd192c5ef492cec8901310077eb9df7340c3547227ef6813c62fe816a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: frontend/src/components/data-table/charts/components/chart-items.tsx:17 imports frontend/src/components/data-table/charts/chart-spec/spec.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/charts/components/chart-items.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2176600cc85be0c49d0f36ed3007195b9d9bb9e5e14c67f93f8f177c1f659045"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: frontend/src/components/data-table/charts/components/chart-items.tsx:18 imports frontend/src/components/data-table/charts/chart-spec/types.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/charts/components/chart-items.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdb1df1c7091afb7b70f95f42fb4bfa105fd94bf84e1fe877520d2bb67bccb5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: frontend/src/components/data-table/charts/components/form-fields.tsx:39 imports frontend/src/components/data-table/charts/chart-spec/types.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/charts/components/form-fields.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5498b127988a3d2a499a93acc9521d9eb6aa74d57f4b373024e0ec7ee189a6e7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: frontend/src/components/data-table/charts/forms/common-chart.tsx:8 imports frontend/src/components/data-table/charts/chart-spec/spec.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/charts/forms/common-chart.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8033274c58478ad59b1435e5ab8b0d22cdb455051009b833bc4485f6df39ef2b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: frontend/src/components/data-table/charts/forms/heatmap.tsx:4 imports frontend/src/components/data-table/charts/chart-spec/spec.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/charts/forms/heatmap.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a99374b6488e7aa6e49fe3cf2a4dbe423757e81df884ac439b62c247466d10"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: frontend/src/components/data-table/charts/forms/pie.tsx:4 imports frontend/src/components/data-table/charts/chart-spec/spec.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/charts/forms/pie.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb81f8cd173e44cd7844fe28f6f0451b76fc865f8c9a83b634ae0dec702973b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: frontend/src/components/data-table/charts/forms/pie.tsx:5 imports frontend/src/components/data-table/charts/chart-spec/types.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/charts/forms/pie.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad5698b3eb10056af77565607539b88c46c367668d0c2680f0bcdc432c941f9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/plugins/impl/DataEditorPlugin.tsx:3 imports @glideapps/glide-data-grid/dist/index.css?inline, 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/plugins/impl/DataEditorPlugin.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd4c337b225470f5fca840062285f9c726022d9ce4b10e70ecfd6dc965ae2c0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/plugins/impl/DataEditorPlugin.tsx:4 imports @glideapps/glide-data-grid-cells/dist/index.css?inline, 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/plugins/impl/DataEditorPlugin.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b1d610df5032a77dd154513b9e08c4707f4177dbb30b9807ed8f39f4e1e76d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/plugins/impl/data-explorer/ConnectedDataExplorerComponent.tsx:3 imports compassql/build/src, 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/plugins/impl/data-explorer/ConnectedDataExplorerComponent.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7c9fa0e692071adca909799c9d9f01770a1fb84011a9cc3194adaaf5e61237"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/plugins/impl/data-explorer/components/icons.tsx:2 imports compassql/build/src/schema, 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/plugins/impl/data-explorer/components/icons.tsx"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2cbbba2d22daadc696f80b394c5f005c221d7a80d8ff6e632e9ab708f047d4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/plugins/impl/data-explorer/components/query-form.tsx:4 imports compassql/build/src/query/expandedtype, 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/plugins/impl/data-explorer/components/query-form.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e33c573c86c918b07ac0d4130a8c9e06af0e0c23790235608a5956d71b501f4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/plugins/impl/data-explorer/components/query-form.tsx:5 imports compassql/build/src/schema, 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/plugins/impl/data-explorer/components/query-form.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5cc215af403493c32cb1a0b3e9100b54613a526d8e09b0d1552b5dfe5135e2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/plugins/impl/data-explorer/components/query-form.tsx:6 imports compassql/build/src/wildcard, 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/plugins/impl/data-explorer/components/query-form.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ee0627161d9daa13afcd5ed00cf9b545513343895f2c1fd9c82ba95564efe0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/plugins/impl/data-explorer/encoding.ts:4 imports compassql/build/src/wildcard, 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/plugins/impl/data-explorer/encoding.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe31136c405f920a0686bcbce2d3836b4a6926db9c2274f6788de77d42de85fc"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/plugins/impl/data-explorer/marks.ts:3 imports compassql/build/src/wildcard, 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/plugins/impl/data-explorer/marks.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f4b179fb89c5c82204748677b5139db8371eab50beb528f7ea92e9fbf6d68b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/plugins/impl/data-explorer/queries/field-suggestion.ts:4 imports compassql/build/src/wildcard, 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/plugins/impl/data-explorer/queries/field-suggestion.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"04215dff4b5b9835d738b991bc5e3f40ec6a613ddb43198e73fdf3e25ba58335"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/plugins/impl/data-explorer/queries/histograms.ts:3 imports compassql/build/src/wildcard, 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/plugins/impl/data-explorer/queries/histograms.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"371fff4cf98f21b9fb357faf2e17868ca61cd64bc125d791e4085bed8c96663c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/plugins/impl/data-explorer/queries/queries.ts:3 imports compassql/build/src, 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/plugins/impl/data-explorer/queries/queries.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadff781b70a71b4333c7c696412a7cebd6b4e8e49cf2b720ca70ed7ebbea843"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/plugins/impl/data-explorer/queries/queries.ts:9 imports compassql/build/src/query/encoding, 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/plugins/impl/data-explorer/queries/queries.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb2852e21df28a421e5d73e26c3d5b8f3698aef80e6c184ac4537cc2ac75df9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/plugins/impl/data-explorer/queries/queries.ts:11 imports compassql/build/src/result, 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/plugins/impl/data-explorer/queries/queries.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d84a4b273a0c833fbe9860442a5e57a1867cf2cfc6a0b22f74b3e1c7707d0a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/plugins/impl/data-explorer/queries/utils.ts:2 imports compassql/build/src/query/encoding, 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/plugins/impl/data-explorer/queries/utils.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f21003d350d17c48766722d36e86bca59c8bfa7a5109c010e074fe92adf6e8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/plugins/impl/data-explorer/queries/utils.ts:7 imports compassql/build/src/wildcard, 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/plugins/impl/data-explorer/queries/utils.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c5a6371dc138d2c6e8deec5a185d8f2ca12d32e8927708850bbfc98368c190"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/plugins/impl/data-explorer/state/reducer.ts:4 imports compassql/build/src/wildcard, 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/plugins/impl/data-explorer/state/reducer.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"81444b8e84d0b5752fc5ccff56227b38f17ce173cd313f114519771a56edaf5a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: frontend/src/plugins/impl/plotly/Plot.tsx:9 imports plotly.js/dist/plotly, 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/plugins/impl/plotly/Plot.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"df26d37bb8f7c570eeffa6db51ad6c189372fb3694fb899621755425e327cffa"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: packages/client/src/__tests__/operations.test.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../operations.ts) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/__tests__/operations.test.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cac0eb6ac2cdd548ddf70acbc36c6fd8febd7cbe70c81f26116d5bcead65f6b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/client/src/request.ts:4 reaches into another package with a relative path (./operations.ts) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/request.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"692bc420229a7caa17698bd32b1a383d873663877ecb19f4e021a7f315366f22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectDeclarations (cyclomatic 87, cognitive 171): collectDeclarations has cyclomatic complexity 87 and cognitive complexity 171; 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/core/codemirror/reactive-references/analyzer.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefbfa35166eff198a7107f253664c20714a25fc7d16f19fff8b47e9aaaa9751"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 63, cognitive 55): (anonymous) has cyclomatic complexity 63 and cognitive complexity 55; 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/data-table/export-actions.tsx"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2cf6189402eab4f83059512fc487efdb2320487c2fce842ec148e9bfc7fc27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleNotification (cyclomatic 54, cognitive 17): handleNotification has cyclomatic complexity 54 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/core/session/useNotebookSession.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"57787db6f6b847d6b74f5c99c05882810d52e33c256a7ff713f7f8aaa5bd0841"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EditableCellComponent (cyclomatic 42, cognitive 32): EditableCellComponent has cyclomatic complexity 42 and cognitive complexity 32; 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/editor/notebook-cell.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7e55483c6c9066485a1e651d106a80b70c1024c456b388d0a9854c5b28240a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectMatchingDeclarations (cyclomatic 41, cognitive 56): collectMatchingDeclarations has cyclomatic complexity 41 and cognitive complexity 56; 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/core/codemirror/go-to-definition/commands.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"97df082b31d54f0831a4e0245f3ac5e5a9cd26b3966ed12833498c84a1b66e8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatValue (cyclomatic 41, cognitive 26): formatValue has cyclomatic complexity 41 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/data-table/filters/format.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4299492212f29298c0c528f23f6b55a65cc7871beb7d487271713e894f10539"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function filterToFilterCondition (cyclomatic 36, cognitive 13): filterToFilterCondition has cyclomatic complexity 36 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/data-table/filters/serialize.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a8d45e1ab1921f4d5f1c9d402557709efbe84674260dcf6ada650165f066fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConnectionNotice (cyclomatic 35, cognitive 28): ConnectionNotice has cyclomatic complexity 35 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/alerts/connection-notice.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c15b5fb36a94cf1904fe3b959a4c8afe17107976e17cb83c073024735458fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderZodSchema (cyclomatic 33, cognitive 43): renderZodSchema has cyclomatic complexity 33 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/forms/form.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ba1b1a34cc4b9a3cda08f93e89baaafbc9c44ca6a962f82e176d6c7a7e4e68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderMessages (cyclomatic 32, cognitive 32): renderMessages has cyclomatic complexity 32 and cognitive complexity 32; 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/editor/output/MarimoErrorOutput.tsx"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a8699d1816e55d2ed029fd56e23ed021d8aaf9061428aafe45b75e007176dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSQLStatement (cyclomatic 31, cognitive 58): parseSQLStatement has cyclomatic complexity 31 and cognitive complexity 58; 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":"packages/smart-cells/src/parsers/sql-parser.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab653761991a9ea8f9559594321017e946d0dd16598e7dff794060dc87761554"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply (cyclomatic 30, cognitive 53): apply has cyclomatic complexity 30 and cognitive complexity 53; 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/core/notebook/document/__tests__/test-host.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b747e481808ff7c9dc69afb4f56d4a540fb5330d9669e26dd050704b3a42ea7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyFormat (cyclomatic 30, cognitive 17): applyFormat has cyclomatic complexity 30 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/data-table/column-formatting/feature.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"764da7e142cc23462de98ec0690370e420ec168f0d88dacdaf61150361de70cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 9): (anonymous) has cyclomatic complexity 30 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/editor/Output.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b79c0c9d9827d84d8527a9c9fbad63a23f8f35d4d2a800e7388ac97588a54d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderCellValue (cyclomatic 29, cognitive 37): renderCellValue has cyclomatic complexity 29 and cognitive complexity 37; 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/data-table/columns.tsx"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e73c728d76b551834717b08a83173d9ddf2b1d6eabe2386d4c15930671b025"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTooltips (cyclomatic 28, cognitive 36): getTooltips has cyclomatic complexity 28 and cognitive complexity 36; 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/data-table/charts/chart-spec/tooltips.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2cee9fc18b6775e9c2f8c1cb461556b5df7155383f41d90ec076b49c16f209"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Chatbot (cyclomatic 28, cognitive 21): Chatbot has cyclomatic complexity 28 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/plugins/impl/chat/chat-ui.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d07ab745bba633b6e03d33952d84ae2a5c336726574acfef5b5803ba137eb59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 43): (anonymous) has cyclomatic complexity 27 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/data-editor/glide-utils.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1e9d8461572cd4f98ba555ba2145df8f4ecd85c79201f17db8db3a01843d33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RevealSlidesComponent (cyclomatic 27, cognitive 26): RevealSlidesComponent has cyclomatic complexity 27 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/slides/reveal-component.tsx"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c993608e59ddb73cfc91f2b31930f64478401fc70a71dc6d1aff15372e32bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FileViewer (cyclomatic 27, cognitive 24): FileViewer has cyclomatic complexity 27 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/editor/file-tree/file-viewer.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"303cd2087e5c6ad7d636a65e3381fbc3b9f785cdc43bee3c51caf717501268dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Node (cyclomatic 27, cognitive 18): Node has cyclomatic complexity 27 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/file-tree/file-explorer.tsx"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"8defdbd0065b8ac906b3eccdd62082a92a3d8546b33b552d9c9624dfaf038773"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateAltairChart (cyclomatic 26, cognitive 43): generateAltairChart has cyclomatic complexity 26 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/charts/chart-spec/altair-generator.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5912abcdc7b8d8a18755c4e18c80bb14324dc88d97891da67df5b302f7c584a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startApps (cyclomatic 26, cognitive 41): startApps has cyclomatic complexity 26 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/islands/bridge.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23788a04bc9ae98a3d305df000248cc2f5874aef14bb75fd6823a0571c35b04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleTreeKeyDown (cyclomatic 26, cognitive 31): handleTreeKeyDown has cyclomatic complexity 26 and cognitive complexity 31; 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/editor/file-tree/file-explorer.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"2431c2c313cc40c52f8b46294b3450bc1cbc8aa3462e67fcda446ed3374d05b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CellStatusComponent (cyclomatic 26, cognitive 27): CellStatusComponent has cyclomatic complexity 26 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/cell/CellStatus.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"518592c73c4e14325f4c5cf31faf8470e9d422ec90e66cd00ef29ca5d64bc3d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 38): (anonymous) has cyclomatic complexity 25 and cognitive complexity 38; 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/plugins/impl/matplotlib/matplotlib-renderer.ts"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2eb2e58402dac09c948cc2adcc8afedd011c4053d6c1ef1169b1ba2f876e31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 35): (anonymous) has cyclomatic complexity 25 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/network/connection-notice.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51649264efd6dbf22b173fc6d038eeffd4824ab0c3461d3d35638b847769dbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getStringContent (cyclomatic 25, cognitive 35): getStringContent has cyclomatic complexity 25 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/smart-cells/src/utils/python-ast.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7e90398b09e1d54127ee5700cff85ebc520806ddc004d18fe289d5c64e3057"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 24): (anonymous) has cyclomatic complexity 25 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/data-table.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"314521ff0ac86d865d34e9e9ba5d4fac3d808a4957df2c570cc969e754c6ae8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePayloadBackedApps (cyclomatic 24, cognitive 44): parsePayloadBackedApps has cyclomatic complexity 24 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/islands/parse.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d88f16b33f141a9dd16072088e755387a43cc79ccc342f8f61ef0efff917d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 20): (anonymous) has cyclomatic complexity 24 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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/plugins/impl/SliderPlugin.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad9fe61fce99ba0e540a640b6e5d78e5b11635b0382aa45f0c87b8d99543c04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyEditorEdits (cyclomatic 23, cognitive 36): applyEditorEdits has cyclomatic complexity 23 and cognitive complexity 36; 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/plugins/impl/data-editor/editor-state.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad4b24922800072f6807518b1c783a861a6f6cd2444b7a8a1797c30ac7a5768"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FeedbackModal (cyclomatic 23, cognitive 21): FeedbackModal has cyclomatic complexity 23 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/components/feedback-button.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f40c2f676c8fee6bcdab1da9393036487b8c54a131079a7e8609ed3c582ce6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function operationsModule (cyclomatic 22, cognitive 45): operationsModule has cyclomatic complexity 22 and cognitive complexity 45; 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":"packages/client/scripts/generate-protocol.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"493f8f1ba997adb970a2c3882086f0089b31cd1914e6347b21d2acd6192994a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 27): (anonymous) has cyclomatic complexity 22 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/cells/runs.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1902a8925ec51662499bfbb4db1df6fea324645b7916a2b3d1b20996dff439"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPrefixLength (cyclomatic 22, cognitive 21): getPrefixLength 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":"packages/smart-cells/src/utils/python-ast.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bed9babaef57843aea25446451c6490872c7d93d84e0ca692ff32aaf903dc7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AiCompletionEditor (cyclomatic 22, cognitive 19): AiCompletionEditor has cyclomatic complexity 22 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/ai/ai-completion-editor.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1803d1df8b12e8ef01ea825fd3ceb54fc74aa86b7efd26d09080d9be23051976"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeModels (cyclomatic 21, cognitive 37): mergeModels has cyclomatic complexity 21 and cognitive complexity 37; 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":"packages/llm-info/src/sources/merge.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f2393f65c6bf54c5d9fcdef25d620176060fe25a32f9695b187e99ed6e4caa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 20): (anonymous) has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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/stories/runtime-story.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"5121bbdfcb3129116d74f2c7939b62ef494b6add64c677e2461745c0b6fc64ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PackageAlert (cyclomatic 21, cognitive 19): PackageAlert has cyclomatic complexity 21 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/package-alert.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bfd993b1742082700a5a93123f984d87f4c8f74d02d8ef66ecb3aefe0086e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RuntimeDetails (cyclomatic 21, cognitive 15): RuntimeDetails has cyclomatic complexity 21 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/editor/chrome/panels/runtime-panel.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"593ca0ead08d4857b09ffb8087bcb573463d0b261eee20d22d733ae7c1d90b24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertRstMathBlocks (cyclomatic 20, cognitive 44): convertRstMathBlocks has cyclomatic complexity 20 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/lsp/normalize-markdown-math.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac9ae824902c7c4a83e806234060be566a1300c5c90a9d9ad733c5b0e94a19e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCellLogsForMessage (cyclomatic 20, cognitive 28): getCellLogsForMessage has cyclomatic complexity 20 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/cells/logs.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c286405a5027b189f95f7b7e189ef49406637071b908f5d9e743b513c6653b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AddModelForm (cyclomatic 20, cognitive 19): AddModelForm has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/app-config/ai-config.tsx"},"region":{"startLine":1675}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10292f2d90d144628e3855df6dbd961661d4414eb39f77bf626a9092de82dca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 19): (anonymous) has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/FileBrowserPlugin.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6ed6780264a72d484a8ac6fc8b2223d31e8cf3eb9a80dc337c8ebb7f73941c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshMetadata (cyclomatic 19, cognitive 43): refreshMetadata has cyclomatic complexity 19 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/llm-info/src/sync-models.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"077b0a90f9b59769cb899a2282c4596cabf2869560eaf5f03d71d91bde0a0f0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 30): (anonymous) has cyclomatic complexity 19 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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/core/ai/tools/edit-notebook-tool.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa64e10116fa02126884d221c006aed5951e0fd604259d98f58e218dac3a2b87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverHosts (cyclomatic 19, cognitive 25): discoverHosts has cyclomatic complexity 19 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/node/discovery.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7991cf4830b965c38c0aa2292805a0ece4dc46e5a8efa7861e6f8a12beab08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderStats (cyclomatic 19, cognitive 19): renderStats has cyclomatic complexity 19 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/data-table/column-summary/column-summary.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1a6b9a35f7e8289259583a6859d9b5c1a3883e439c2f42f25465c4196f1b59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getResizeHandle (cyclomatic 19, cognitive 18): getResizeHandle has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/matplotlib/matplotlib-renderer.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"74aa6aa50691c688b81464979258b9d37c4b56d7192d4fd1220ea0417f90d101"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderPart (cyclomatic 19, cognitive 17): renderPart has cyclomatic complexity 19 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/chat/chat-display.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4351cea14a0ce127537e258a3a2728ce50f426682bd452b171fef92d7724b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 15): (anonymous) has cyclomatic complexity 19 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/controls/keyboard-shortcuts.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb25e72c985682e5c975447d0334bbedec5996f3e5259fc5f635a47b2d86cf6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 18, cognitive 23): request has cyclomatic complexity 18 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/request.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"140fe7baaeb7c55dae0df9a84b958295cb89d481d667d83f257dd8f45d1d3c34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 20): (anonymous) has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/transport/sse.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc5840c2807747332ab21bd82374207b1e3c90f5f52fbb1f8a53d0b164f86b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function editDistanceGeneral (cyclomatic 18, cognitive 19): editDistanceGeneral has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/utils/edit-distance.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53165991681f1c890df13abe3dff9253ff8f62b199f3139a88064d63f38cc41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function areKeysPressed (cyclomatic 18, cognitive 17): areKeysPressed has cyclomatic complexity 18 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/core/hotkeys/shortcuts.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3452056bb81a14b1965ff3bc1e26fe72fcfec6f028f3623d0812397d067367df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AppChrome (cyclomatic 18, cognitive 16): AppChrome 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/editor/chrome/wrapper/app-chrome.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1102b3b9a4eb96f2a87d6083d5ace642ee053f7d5274a65e06db9d1de8b7e0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 16): (anonymous) 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/plugins/impl/MatrixPlugin.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5d762611eaffebe312a1c5935d7c3c4f213a9de06bab8b54272eb93b90fb58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StorageNamespaceSection (cyclomatic 18, cognitive 14): StorageNamespaceSection has cyclomatic complexity 18 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/storage/storage-inspector.tsx"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabd0b28e9fe43e471bedb379afdc5f4ac2870428270107713c12386e52e5bc8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 26): (anonymous) has cyclomatic complexity 17 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 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/core/export/hooks.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd73d807f227aa66c02da863103e9239087d1610b75f9b3206c1bf271bf98bd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseModelsDev (cyclomatic 17, cognitive 24): parseModelsDev has cyclomatic complexity 17 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/llm-info/src/sources/models-dev.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d156cbfe820dad112acd20d84e39dbfa3d209874c969e86ceef421ba4d3aaecc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drain (cyclomatic 17, cognitive 23): drain has cyclomatic complexity 17 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/notebook/document/sync.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2620098221912767803e03936dd40138fd8f1e808e5e0ab20f5e6bcf7521d3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 20): (anonymous) has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/panel/PanelPlugin.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"866eee18019acb4ca4941c41a3cf00fa80d49ff8844e25d9f0db7579e635a01b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getHostTheme (cyclomatic 17, cognitive 20): getHostTheme has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/theme/useTheme.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"39996ef16df56e00e27325db79dd1fea231b2f9c65b982ce802d88d16e79ab7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeSelectable (cyclomatic 17, cognitive 19): makeSelectable 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/plugins/impl/vega/make-selectable.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b62784bbae5b2ef9affed4c7d4851b38dd31f4388ad7c06665e43b840fe4c18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendQueryParams (cyclomatic 17, cognitive 19): appendQueryParams 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/utils/urls.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecd26a72915fc60df3c5b21443892432f4b5c79fd4107ad89381e2c5f46912b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 18): (anonymous) has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/FileUploadPlugin.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3869cf59d2925526a07930487bb10d233d664ffeea114d62007f87471adf11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adjustNode (cyclomatic 17, cognitive 18): adjustNode has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/host-protocol/src/internal/openapi.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ffb06d888c0ad98e772dabc243ce55552864e62e5b2957afc20fe915e82b29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getExportFormatStatus (cyclomatic 17, cognitive 17): getExportFormatStatus has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/actions/export-dialog/state.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b9c95829389414275dbd0b0cab1a95af16ad446f4314d899b384790569a870"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 16): (anonymous) has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/language/languages/sql/renderers.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8e78f1299e9b655d32d4c004b14ae7efed236004b5b475f9cedb9b6bf4693a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AIModelDropdown (cyclomatic 17, cognitive 14): AIModelDropdown has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ai/ai-model-dropdown.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"499c5226b4252c4e8709555144913503b041f82354faa68144c7ad0fa3816d8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SecretCombobox (cyclomatic 17, cognitive 14): SecretCombobox has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/connections/secret-combobox.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd28fdd070745a6753fa2201d65c2f571ea847763687476185cdf32719027c47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 11): (anonymous) has cyclomatic complexity 17 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/data-table/range-focus/use-cell-range-selection.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"679b9c4fe4281e99d87f703ecbac5d7fe3cc94354ee113af3f68248385dc881d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 11): (anonymous) has cyclomatic complexity 17 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/editor/output/MarimoTracebackOutput.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"afff9f3baf65121a1724ed82fab11751c528cdbfaaadd4bbeb258a5d0ca795e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 10): (anonymous) has cyclomatic complexity 17 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/ui/calendar.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d614f86afbb6187bb4e742947a65d2e766893016211c53071aa8b9aaada9ea8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isValidCellValue (cyclomatic 17, cognitive 10): isValidCellValue has cyclomatic complexity 17 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/plugins/impl/data-editor/glide-utils.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9f66ec617801166af4ca15951703b53221725c7d2fe2e3a762b58123b8f97e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTracebackInfo (cyclomatic 16, cognitive 30): getTracebackInfo has cyclomatic complexity 16 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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/utils/traceback.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"74816f8b7af5f1d16c4d93c98a93d47f9c071b64c30dc2bba852c619b8af0d60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function analyzeCacheSite (cyclomatic 16, cognitive 29): analyzeCacheSite has cyclomatic complexity 16 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/code-lens/analyzer.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f88856dbf23a9f0095c53769c4a06901f6d5183d73f83796b1166f63169895"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createElements (cyclomatic 16, cognitive 27): createElements has cyclomatic complexity 16 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/dependency-graph/elements.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f5a11ee4872005a47e1d28ffc620debf09874c77197b61891b419bee263d49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stress (cyclomatic 16, cognitive 24): stress has cyclomatic complexity 16 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/notebook/document/__tests__/codemirror.test.ts"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86453d506edb9f0fb4ccadd39cbdbd0416953416fbee81a309341555c38059e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function textDocumentRename (cyclomatic 16, cognitive 22): textDocumentRename has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/lsp/notebook-lsp.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a787fadfb195cb992d6e6b45681aa5c43da712715d217bcc48406d8245af230"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 20): (anonymous) has cyclomatic complexity 16 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/cells/actions.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fab603ab91db7114aee98361b2a51f50bd25dc5e57f46c14698692390549db7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function vegaLoadData (cyclomatic 16, cognitive 20): vegaLoadData has cyclomatic complexity 16 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/vega/loader.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b133dd72a07c23fa3e78a24de5bc7c683e496928604b5d4c817804a3f49fa1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderBody (cyclomatic 16, cognitive 19): renderBody has cyclomatic complexity 16 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/chat/acp/agent-panel.tsx"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c59c34c56e522ffe0be779ea5150762e828cc82190d9d9b8701f1e056621b96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useParkedPreview (cyclomatic 16, cognitive 16): useParkedPreview has cyclomatic complexity 16 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/slides/reveal-component.tsx"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"9faaf4b62d457a333e6a13ab3d4341538502482fbb7adb50533451622bb2cd27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createSpecWithoutData (cyclomatic 16, cognitive 15): createSpecWithoutData has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/charts/chart-spec/spec.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3425e4aec583d3bbda11837b85cfdaa67d8d3f7202f7324e931eabd99c581157"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SandboxController (cyclomatic 16, cognitive 15): SandboxController has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/panels/sandbox-controller.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a542b562cd5aef0cbafeace9aaf5a6bea06082389f9490db907cc338798c558"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeError (cyclomatic 16, cognitive 15): describeError has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/errors/error-entries.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c9b51693e1498e609a1469cf3fe79752727f18d2774b616f8da0aa426be8a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolBodyBlock (cyclomatic 16, cognitive 13): ToolBodyBlock has cyclomatic complexity 16 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/chat/acp/blocks.tsx"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"7949e1d53e416bc2081bd9abce9dab4c6da61644c3ee423050e55727d3ae92d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useCellActionButtons (cyclomatic 16, cognitive 13): useCellActionButtons has cyclomatic complexity 16 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/editor/actions/useCellActionButton.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76a817130c4978be5f1329fa09115afdae37ed5f0bd328260ee027bb327c687"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StorageEntryRow (cyclomatic 16, cognitive 12): StorageEntryRow has cyclomatic complexity 16 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/storage/storage-inspector.tsx"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaad107857bcca03793360b5a7f8a3b9d729965d7118037d7035b225c840a799"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatPanelBody (cyclomatic 16, cognitive 11): ChatPanelBody has cyclomatic complexity 16 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/chat/chat-panel.tsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f49a0ef88ab29e83cc2249b88151114f06e421681e71746646584b724df6213"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withNotebookContext (cyclomatic 15, cognitive 31): withNotebookContext has cyclomatic complexity 15 and cognitive complexity 31; 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/chat/notebook-context.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"260352c5a37c63a7564cd32b468b13b09079ed1f98b7efb1932dcaf4f8a719fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConnectionSchema (cyclomatic 15, cognitive 27): getConnectionSchema has cyclomatic complexity 15 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/language/languages/sql/completion-store.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43bf6ccde517f09226b0d41b042af20c1004ed47f173a04f87c684e06ba0ebb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toChanges (cyclomatic 15, cognitive 27): toChanges has cyclomatic complexity 15 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/notebook/document/draft.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"413f91c01619066ed4c98141ceacd53dd437331424db7da0e1033bb324439a9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 24): (anonymous) has cyclomatic complexity 15 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/cells/cells.ts"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"248af70785b451cbcee793cf7df3ed3abb59fe8d4ced1db41ea1abc409aa3692"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function navigate (cyclomatic 15, cognitive 20): navigate has cyclomatic complexity 15 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/range-focus/atoms.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"de87992b13cd64b59f31454fbcfcb63ee5895bcbcd9ab73767978b91f3a8fcab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCellFilter (cyclomatic 15, cognitive 16): buildCellFilter 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/data-table/context-menu.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf36cbe538e6c7c60ec12b95ac4b2d3d24f5d1bb61cf0d4969d172354d1a4c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExportActions (cyclomatic 15, cognitive 15): ExportActions 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/data-table/export-actions.tsx"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd33370dfbc5ebbbc4940fd97085d43bc412b9eb081c21260b9b039781e8c7a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GridLayoutRenderer (cyclomatic 15, cognitive 15): GridLayoutRenderer 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/editor/renderers/grid-layout/grid-layout.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb11b158cf60af3370d0c62215bd0b47203b69ddf0f8cf9d0e9bbc0e6b674c0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PairWithAgentModal (cyclomatic 15, cognitive 14): PairWithAgentModal 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/editor/actions/pair-with-agent-modal.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e819ceb3f42903ed85d177ad891c7d4cfe9ee3799b62cc953f8e13714137144"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PackageContents (cyclomatic 15, cognitive 13): PackageContents has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/panels/packages-panel.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc04e49a8e389001b85521a4ec34fb9fdd832b7d0e284942758f5d96e1ad4ee2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 13): (anonymous) has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/header/filename-input.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3bd49677409dc535426062b479484b6fcfd1da8d7876cfecc1c6c63ef52ea3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 12): (anonymous) has cyclomatic complexity 15 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/storage/storage-inspector.tsx"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe1be1fced4deaa325488c6193096dadae69cfaa3136e75503f7861435d4b75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processNotification (cyclomatic 14, cognitive 33): processNotification has cyclomatic complexity 14 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/core/codemirror/lsp/notebook-lsp.ts"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"113aa121f58b5a69724f04daca2e08f3781987f7efcc5b1c6568ed3a36887b62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyDown (cyclomatic 14, cognitive 29): onKeyDown has cyclomatic complexity 14 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/navigation/navigation.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"b301d9e108447abe80dd8c674982393c87bdf8230153ad571550e8a4b89ef290"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 28): (anonymous) has cyclomatic complexity 14 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/slides/compose-slides.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"703528b74dd4375828bf25858ae2991c8e8d98c7e9ba9b703cb66667e272a94f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertImage (cyclomatic 14, cognitive 28): insertImage has cyclomatic complexity 14 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/markdown/commands.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f7975f30d603571944c0ccbcef58b2092e23798b33bbc16ef66affd46c08cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 26): (anonymous) has cyclomatic complexity 14 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 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/editor/navigation/clipboard.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"deaa3b2a6ddcd9caf435557b17b50b3efd3e67191942e0d007ae9f5d47d985b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processText (cyclomatic 14, cognitive 22): processText has cyclomatic complexity 14 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/ansi-reduce.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca01e8059f6230d7b7d8dd59288d86b9daeec792f8bfd723a0228f889effd50d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 22): (anonymous) has cyclomatic complexity 14 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/datasets/data-source-connections.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"898053ecae96b4a82783efabcd80fda25892efba46a680f16b0a67ff7ddef268"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeSpecificParamsFromNestedSpecs (cyclomatic 14, cognitive 19): removeSpecificParamsFromNestedSpecs 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/plugins/impl/vega/make-selectable.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f346e0ca17465a49941ea08d1398c6d5b3388aefc3bb207bfe41b448fa9d86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 18): (anonymous) has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/storage/storage-inspector.tsx"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"30555f8fb6660761a41e7b8d94eca30f32e8b7cf8c2dcb2b759f950b4a1d82c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toCode (cyclomatic 14, cognitive 18): toCode has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/utils/python-poet/poet.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9dd6dfb96fd7745c791c28b520cf1c9ef810c7fbf60b8ae7236501aac1003dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function check (cyclomatic 14, cognitive 16): check has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/lint/replica-imports.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b490177b5f1d98ec1d928e9de28cca5657fe0aa0120a2711edb88d4228a42b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function format (cyclomatic 14, cognitive 16): format has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/json-output/formatting.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd3325655e0b457ff5d5b06104a55bd8fd1c2c9c42b075750a4caf8a7f19722"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function call (cyclomatic 14, cognitive 16): call has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/wasm/bridge.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"79151342d592a1f6f6b9df4c9d6928869be242b9d26be00f6634b2352dc33b02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findStaticCacheName (cyclomatic 14, cognitive 15): findStaticCacheName has cyclomatic complexity 14 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/core/codemirror/code-lens/analyzer.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cd1c7bc7ea2ce4dc3c9f9c854e482792150d8d71d21eb66d41246f17498ab4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectDelegate (cyclomatic 14, cognitive 15): connectDelegate has cyclomatic complexity 14 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/core/lsp/transport.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a47a7f154b4e7c30bcb143c7b3d54f4dc76a39eaeba9e337877ae379d88937d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SlidesLayoutRenderer (cyclomatic 14, cognitive 13): SlidesLayoutRenderer 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/editor/renderers/slides-layout/slides-layout.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34d4ac268ebeb57c8b7866fe225d6497d6d5f086933e81441d96efa84e36e59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useConnectionNotice (cyclomatic 14, cognitive 13): useConnectionNotice 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/core/network/useConnectionNotice.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4637abae376663446f02cc79d55d045b9fe448b1adf8247b92c4c27c6e3d36bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function header (cyclomatic 14, cognitive 12): header has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/columns.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"4586de8d762abf342c55ed2c78ea9e092b451bfc63cf5a1ea399f623fe37974c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StartupOutput (cyclomatic 14, cognitive 12): StartupOutput has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/alerts/startup-output.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd71f1776b68e73bc8684faa26ce32e506c1cbb627388897b82910f793e3717f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 12): (anonymous) has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/MarimoErrorOutput.tsx"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"8715c7b26e9cea66050f865fa72715da34aae79b8a2015dc7dd27ec0c9a35aab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function numpyTypeToDataType (cyclomatic 14, cognitive 10): numpyTypeToDataType has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/data-frames/utils/operators.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a59df1ccd7bc39b6867f4373d25692da36e93f8fb1561ae94b5c159b973622a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isKeywordArgumentName (cyclomatic 13, cognitive 25): isKeywordArgumentName has cyclomatic complexity 13 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/reactive-references/analyzer.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"69eaf1af159a19aea84b594c8266ec41b98c87ed6126c261dbe643a7ba5d00b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectSentinel (cyclomatic 13, cognitive 21): detectSentinel has cyclomatic complexity 13 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/data-table/utils.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d685630344a2a780fa03cad315503fc3f84cc76a27fe78781189b7e935667cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 13, cognitive 21): submit has cyclomatic complexity 13 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/core/cells/pending-delete-service.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac30d9560cf1e91fa85b92d1125085e4b7bbc38abcacdeb58f6b4121024921a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 18): (anonymous) has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/plotly/selection.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c780e1f40a7baf0f74762ccba23c14a5937bdcb9dd53e14cc449dc19d478d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transform (cyclomatic 13, cognitive 18): transform has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/transport/sse.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c331d42516f4b296ec8bd100a32d45ba62b6901a1453286c39df3f4a575df005"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateDocument (cyclomatic 13, cognitive 18): updateDocument has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/llm-info/src/sync-models.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59a585913fafae21db97c271399de541aff9c34c3160c82bc22478e19e865d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 17): (anonymous) has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ui/combobox.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"0216b1aa562bbfd66b69219471ef0732e766904a987e997e54ff3e8ffedb380e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function estimateExpandedLines (cyclomatic 13, cognitive 16): estimateExpandedLines has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/json-output/pagination.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c86d9fcc858bb72f6df6807393b3f7fc921f3b861942939aedf2f346d1b5ede"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareCellCodeUpdate (cyclomatic 13, cognitive 16): prepareCellCodeUpdate has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/language/cell-code.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c629b658286d4b013c2b1d465fcac7ff166a932b4ceeb080e7390ce57d6e7a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parse (cyclomatic 13, cognitive 16): parse has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/language/embedded/embedded-python.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1564e7caef73c81fcd626dd2168f7286c04b7970a6e07ac936f821ff5ea0237c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTimeToDate (cyclomatic 13, cognitive 16): parseTimeToDate has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/utils/dates.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aeca8ec3d3ea699eff89b3241683584f9ed17480cd1ab9d278fdb5859f5204f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mousemove (cyclomatic 13, cognitive 15): mousemove has cyclomatic complexity 13 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/core/codemirror/go-to-definition/underline.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b808b87d224c55f807a76c5bd2c01d66bb28c6c0bf7fb93b91359f161648d91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function modifyColumnFields (cyclomatic 13, cognitive 15): modifyColumnFields has cyclomatic complexity 13 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/plugins/impl/data-editor/data-utils.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"108091a488ed1190afb6d66703c6ec9d0c6ed8b293143113eed8b7f1bf3edbee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPartialTimeTooltip (cyclomatic 13, cognitive 14): getPartialTimeTooltip has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/column-summary/utils.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf36c2a04b98056d2b3f21bc92a52bb51c85164d7ac45d2b45269ae22c5aa652"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/MarimoErrorOutput.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"435da658fb66d4d8de407afee24957eb5b178a4bdc62c8ddf231371286bbf5e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCompletionsExtension (cyclomatic 13, cognitive 13): getCompletionsExtension has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/language/languages/python.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87cb702f1848848b07e879602a5e599bbc14ee4d75b86171eed1c372490abfe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runCells (cyclomatic 13, cognitive 13): runCells has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/executions/run.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6ce2250f078b3501e1df56a0aff67bac2eced478d53a0ce56b898d33b576bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/vscode/vscode-bindings.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"672b4129e46362c472cf361900fc71349d1a97797440fb16a6ce905d9899ab53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TextComponent (cyclomatic 13, cognitive 13): TextComponent has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/TextInputPlugin.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ac03733fe997502cfc1da5dc62789a204728b88a381bcfbd39f815199ea591"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestOptions (cyclomatic 13, cognitive 12): requestOptions 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/data-table/export-actions.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abb090d386cfe2087f6c47867b47b26d7dbba7e5388364d2ece565e8f9985a7"}},{"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/dependency-graph/custom-node.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f9de90b63e0259ccd53fe552d4528bdd9dc6bfff07fe7283c3e9b49088146b"}},{"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/editor/output/console/ConsoleOutput.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0183d9d95f1d91bdc2b97a1c9ef308641ff306fae7a9137f81e60e8317e83d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCompletion (cyclomatic 13, cognitive 12): getCompletion 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/core/codemirror/copilot/language-server.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"0caf3e9fc8b63bef0eec8b86d3da56e44ecbd03f2512da1a426d2347ee7d9c3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cellExecutionView (cyclomatic 13, cognitive 12): cellExecutionView 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/core/executions/select.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9355bda7c9044001989e1d3a8e1996f4fb40827cfbe33a936ff40df4889ddf05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDirectionOfBar (cyclomatic 13, cognitive 12): getDirectionOfBar 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/plugins/impl/vega/params.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb8392decdd5e6ce3ffe93cb3f00c1a8e6882f2f15058254e036120fe64a7d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function check (cyclomatic 13, cognitive 11): check has cyclomatic complexity 13 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/lint/module-entry.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e00cd34fd0a4216b8d48b254caf413dbf1cc7e811d267c66483fc02df63cf1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useNotebookActions (cyclomatic 13, cognitive 11): useNotebookActions has cyclomatic complexity 13 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/editor/actions/useNotebookActions.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cc0612bbba4d2c97331cc5014f10c2f14415ddd156d62bb649fdfa1131b35e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 10): (anonymous) has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/TableTopBar.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"347506e0d84b86ba1eb772d6501c57d10f73de559191b6bbe51021d2b3ab3f44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DatasetColumnPreview (cyclomatic 13, cognitive 10): DatasetColumnPreview has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/datasources/column-preview.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a3d4f80d81f7bcc36459e4e591dc53929831ee0335b86cfea59f957c4f99ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 10): (anonymous) has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/cell/RunButton.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5caab7defab276e9e780131bad8bcfbab3a367d2cc71d997b55a5bf7bb0f246"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 10): (anonymous) has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/DataTablePlugin.tsx"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece17be5bd7b09106f1a55430e3f133efadd4a191694910eebf697d4b4ff57a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDownloadUrl (cyclomatic 13, cognitive 10): isDownloadUrl has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/utils/download.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0b2cae01e07a0d06c07bcde2ce5fa478b38345df5015a96e34b4c0fe1647cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TablePanel (cyclomatic 13, cognitive 9): TablePanel has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/charts/charts.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ae51625b8e5c2f48aa327abc095d10e5bc35442b0f9866369817c46008d9d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasWildcards (cyclomatic 12, cognitive 20): hasWildcards has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/data-explorer/queries/utils.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2b5479c12b51168aee64500e1d0d0b72bee88337513d03c0b033a6c6349bb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractAssignmentTargets (cyclomatic 12, cognitive 19): extractAssignmentTargets has cyclomatic complexity 12 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/core/codemirror/reactive-references/analyzer.ts"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"5683b235a039632e1f220639c9e1968e5b63d63c7582a85f61e9928e05e8c04c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findDuplicateShortcuts (cyclomatic 12, cognitive 18): findDuplicateShortcuts has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/hooks/useDuplicateShortcuts.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76c64922cc56577769d4d019c673b2429fb8756de02c1dff4f74350bda48b9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SelectedCell (cyclomatic 12, cognitive 17): SelectedCell has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/dependency-graph/minimap-content.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c668656074f578506c9d5b97be6402fe1d29591570f05116cc023e6f8b94290"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 17): (anonymous) has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/file-tree/use-file-search.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e637d6477579ba07c5f427d1eecf51e28cace006347be62d15ca3894b58e6d1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getBulkActions (cyclomatic 12, cognitive 17): getBulkActions has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ui/select-core/utils.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed773b44136dbba9395c87e2aa87c54e9f4e537bd5e9addd38db28a0465a702d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enter (cyclomatic 12, cognitive 17): enter has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/misc/paste.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5a047f8ea4ae0b4c269d9d69de79c4368382ec32414cda3cc2c4c6ff2f654f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getInvalidAnyWidgetModuleError (cyclomatic 12, cognitive 16): getInvalidAnyWidgetModuleError has cyclomatic complexity 12 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/plugins/impl/anywidget/resolve-widget.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e9226c50a5a368743938d52256053350da1b37ccadb73383c24206a2297574"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderTable (cyclomatic 12, cognitive 15): renderTable has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/row-viewer-panel/row-viewer.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9251e7d1085c8739555dfa0a3a120191e53755c60d64f4fccd9ebe7f1c1ce9da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/matplotlib/matplotlib-renderer.ts"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"339986eda61c42584b14f31aa87ba73804aa48b508b42c8ee613a22b03165383"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fractionDigitsForSlider (cyclomatic 12, cognitive 14): fractionDigitsForSlider has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/utils/numbers.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3531dbf5ee24a2c8f2da75bc5a6b0a3ab1ff36358cd6dbb1dffb5f77be0f8f55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyDocument (cyclomatic 12, cognitive 13): applyDocument has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/cells/document.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d730bd511d174ade7c4f337dbdbe7d3825657fc9501bb3067e4226189a4b20b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/chat/chat-display.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"036fbe6cd043b8948114a0226a52697e66cd278f445b739496d0dc8316555ae6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DatasetColumnItem (cyclomatic 12, cognitive 12): DatasetColumnItem has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/datasources/datasources.tsx"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ac379f4a369faae592c809ae9d97a8c4552dcfee176ec8249829fca6d0fb4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/renderers/vertical-layout/vertical-layout.tsx"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"d401432a0b9d3ed9a8f358524a871fcb8e901c9e3164c6b546f0dce877939f13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transitionCell (cyclomatic 12, cognitive 12): transitionCell has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/cells/cell.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed785d6cad2f776933b1c201ac9479c68f02fe1c2c041b6648e4ddd5d073d5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refresh (cyclomatic 12, cognitive 12): refresh has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/notebook/document/sync.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"953757392c9aa56aec3c3bbf4e39aee43f8c40fc6a7b5f2125b3a53ebe1c1cce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectAllUnitSpecParams (cyclomatic 12, cognitive 12): collectAllUnitSpecParams has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/vega/make-selectable.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"80213b41fcf8b47e2c83483188af61b084b1ea8f6975f51de2c654f4f4854f6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PopoutColumn (cyclomatic 12, cognitive 11): PopoutColumn 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/data-table/columns.tsx"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"75006fd7b0a5991adef23f6a1316c5433ebd919aab1f2605ca78c85b6e3d6550"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPinningStyles (cyclomatic 12, cognitive 11): getPinningStyles 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/data-table/renderers.tsx"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a0b6a8c0f54d561f65c351e2ae0ec09b8805aab49e6e3846a01251d2573d37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) 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/editor/alerts/startup-progress.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f1efb1d82b1bd090f52979e5d9173c99776177f094e43bf334940aaf40fe76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CachePanel (cyclomatic 12, cognitive 11): CachePanel 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/editor/chrome/panels/cache-panel.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2acd5da54f4de22cfcfcf7750fe5493da5dde5d26dd1435b600d5bcd1ecde0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) 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/editor/renderers/grid-layout/grid-layout.tsx"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"703a1c8bd892fc04c69ad7eb4989107f22d224e4555b3d858b6686ccea9a3611"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) 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/core/packages/useSandboxController.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5f911c53500f953b32413a21d83ff5eda7943dbe6e6f418aef7826a8cbe6d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) 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/chat/acp/agent-panel.tsx"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76251dd6d4240d60db7b39bc433b4db85d6de28b97ebea960d538d57e5f7a55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getColorEncoding (cyclomatic 12, cognitive 10): getColorEncoding 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/data-table/charts/chart-spec/encodings.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b8d6a2df5304e8f5c77cfef189b6f624286d4bec97a2e827eff83f3b2c544c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConnectionDetails (cyclomatic 12, cognitive 10): ConnectionDetails 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/editor/alerts/connection-details.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"af27919f4b9e73c591ddbd7252a53db7ed184dd5c2670b55ba4b7391fa45c20f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DependencyTreeNode (cyclomatic 12, cognitive 10): DependencyTreeNode 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/editor/chrome/panels/packages-panel.tsx"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03f9a413d9eb4d55f7cdc22665483c00d75245550b7ce48773cc44e468e105f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RuntimeSettings (cyclomatic 12, cognitive 10): RuntimeSettings 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/editor/chrome/wrapper/footer-items/runtime-settings.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2b9998d84d5b218a04d0d302fb35f777902fc37b6c37f0acf3036713304e5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncModels (cyclomatic 12, cognitive 10): syncModels 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":"packages/llm-info/src/sync-models.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca74ebac0ce0d3df533a41cd50f3de131eb8a3b6dbbbbcdf2961f35930d39083"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ModelDiscovery (cyclomatic 12, cognitive 9): ModelDiscovery has cyclomatic complexity 12 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/app-config/model-discovery.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abaab687632eadac7bead1f2be3a54c9cd6af1f745efe278e0a7f56e576d1f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function broadcastModeChange (cyclomatic 11, cognitive 24): broadcastModeChange has cyclomatic complexity 11 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/keymaps/vim.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1963bc6e84dd22b4e8297a17c99564349bcdf626dca0e097dcb193e50d8642"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseExistingModels (cyclomatic 11, cognitive 20): parseExistingModels has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/llm-info/src/sync-models.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ce759cd7695408ce39b9f81b7a9f9758c902e976937aa9febdd90510f16c15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatCollections (cyclomatic 11, cognitive 18): formatCollections has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/llm-info/src/sync-models.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bbac838c07fdc3a2d5dd4fa5f8ffcad12b7c7047b5595c5aa57ecc7a6bad8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function viewDocument (cyclomatic 11, cognitive 15): viewDocument has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/notebook/document/draft.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"43451f7bb24469857f28046722313b71d8366ebe84509f87a5615ed214ce6d26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 15): (anonymous) has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/core/registerReactComponent.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1496736398076b50aa3ef3f84397a2211d56f07ec9693a23203d1e03232e859"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function copyStyles (cyclomatic 11, cognitive 15): copyStyles has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/core/registerReactComponent.tsx"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d9e18a05be633a95bffe32d320a11d1d2801243e812069f485f142b5efa79d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getProtocolAndParentDirectories (cyclomatic 11, cognitive 15): getProtocolAndParentDirectories has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/utils/pathUtils.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7694c11b1698700577dc23c1f784d36c3c0ee0f18fcd0ee2cbea2101fb66a8eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function focusAndScrollCellIntoView (cyclomatic 11, cognitive 14): focusAndScrollCellIntoView has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/cells/scrollCellIntoView.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a53a95788eb5fdd438e91879b1129a59c5179271fe94b0fe92e37e1ce74729"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 14): (anonymous) has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/transport/events.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f402c00d196244c607d2dd7aa3cfcd6cc1c89eb6fccb5cab8a7b2f4d88df5b68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 11, cognitive 13): create has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/anywidget/widget-binding.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"309af31663f1e555a577fd811a77b9433833d9887d3d2226a91eb62fe9a00594"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 11, cognitive 12): visit has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/json-output/pagination.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8dd059c234b930410e09b16957f6de4997373f2e82942c88a54353cad5d3528"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractBuffers (cyclomatic 11, cognitive 12): extractBuffers has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/panel/utils.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5acef95e44ca69c31ab03eeed20c6a049c85cdfe8a702937ae55d0c4080a4e99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSuggestion (cyclomatic 11, cognitive 11): getSuggestion has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/header/filename-input.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d50203c41c450b5c389c007b59fa589fb4a9ae897b03be8b7927c094dec375"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/console/ConsoleOutput.tsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"660b54e35dfd32c4a94dd02932cf936a6cf8804118ab849518cb44cba9f2ed98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/copilot/language-server.ts"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"26af415a2ffa5847d54edc3fd3de4bb84d578191cf11ff31ce68ab24b0263ab5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acknowledge (cyclomatic 11, cognitive 11): acknowledge has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/notebook/document/draft.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b51bdd005e9581651287460d9d9b49320f1c3a422695962519bdea7f2f2529"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #renderView (cyclomatic 11, cognitive 11): #renderView has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/anywidget/runtime.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c57a04395d88d165ca7b0bb72368521806f5c8678014babaaf2b5642dfe66e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transformIndexHtml (cyclomatic 11, cognitive 11): transformIndexHtml has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/vite.config.mts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59687eb7824265a9ee9939b59dc60b42f8e4541ab441a949a593b0c465430b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExportDialog (cyclomatic 11, cognitive 10): ExportDialog 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/editor/actions/export-dialog/export-dialog.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84b00758c3b3f2521267fc2eef70e35f4ab426d436b5719eb2216d152cf9c05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FindReplace (cyclomatic 11, cognitive 10): FindReplace 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/find-replace/find-replace.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b094d0b7ea1ccd857065d0ac76134dad71579e842210fc9d3ba717aa6572a2d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeChartSelectable (cyclomatic 11, cognitive 10): makeChartSelectable 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/plugins/impl/vega/make-selectable.ts"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26c615857c8224416e41b90a21bf22330ea9d4cbd5035ac059aa3a8668293ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function semverSort (cyclomatic 11, cognitive 10): semverSort 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/utils/versions.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca28bdcd440d77ddaf7fbe23bd8a6246306ab91eccc5a859a391ce518e5af0cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveMetadataUpdates (cyclomatic 11, cognitive 10): deriveMetadataUpdates 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":"packages/llm-info/src/sources/merge.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5979ecc9c1b75bb2b868f7bdbe233c9546845c7fb3f5571c751e108bed007f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentActivity (cyclomatic 11, cognitive 9): AgentActivity 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/chat/agent-activity.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8384b886c6d7c98c0918af30de1f4f26e37e11b92634cf7f2f1bd37209f365a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/export-actions.tsx"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"329bfa1bf4d94848c15482f1b5059ab0a938cdd76cdb03d56903b2d2ca7cfc9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/Output.tsx"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26833aaa155a0020736b745aa6eeebf159c953fd07229fec81c03aa7f9a8a18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AddConnectionButton (cyclomatic 11, cognitive 9): AddConnectionButton 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/editor/connections/add-connection-button.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecae72bf7347727b45ba2c56029c8d9f15e13ba4216fad6581c1fa46ed951873"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MCPStatusIndicator (cyclomatic 11, cognitive 9): MCPStatusIndicator 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/mcp/mcp-status-indicator.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5276798244fe2cdd36eab93efc600dc86a8c876df67b98a5befc9c695a786bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getStaticNotebookRunTarget (cyclomatic 11, cognitive 9): getStaticNotebookRunTarget 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/static-html/static-banner.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb77649811fe91ca3bfb2bc07d7b539b76a11a636dc88ba9943244d2af1bb2e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isRunning (cyclomatic 11, cognitive 9): isRunning 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":"packages/client/src/node/discovery.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78687743a3d091b531914c3be4907b77e5c6b6a1ae375f609d7b6fdc132970c"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/app-config/ai-config.tsx: 1940 lines of code: frontend/src/components/app-config/ai-config.tsx has 1940 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/app-config/ai-config.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b645cefc3ec20e1b2d73c9fe269cb16665f0ffc7ec894a0cf49e171e04c2887"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/app-config/user-config-form.tsx: 1335 lines of code: frontend/src/components/app-config/user-config-form.tsx has 1335 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/app-config/user-config-form.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c5ab22182b6f4612316339ea80a4c2a22cd8750fcf87df8c7391c682cb5c04"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/editor/notebook-cell.tsx: 1242 lines of code: frontend/src/components/editor/notebook-cell.tsx has 1242 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/editor/notebook-cell.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"241c2c04e08818deeb0fe2487b0345e72dca5f956cdc597ed8cafffaae0bf998"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/plugins/impl/DataTablePlugin.tsx: 1196 lines of code: frontend/src/plugins/impl/DataTablePlugin.tsx has 1196 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/plugins/impl/DataTablePlugin.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacecab8667e3e3627efc9886a57a5bbfe884a1ea7a8836c348ea7396609f91a"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/chat/acp/agent-panel.tsx: 1187 lines of code: frontend/src/components/chat/acp/agent-panel.tsx has 1187 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/chat/acp/agent-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d9957a1d55afc55e58cc9dd9afbcaaee4e14ffd284fe0c4f236f05c0bb727e"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/data-table/export-actions.tsx: 1147 lines of code: frontend/src/components/data-table/export-actions.tsx has 1147 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/data-table/export-actions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadbe0ef8f617f4501c57d5f6b30bb9b6365ccca9903d9496f0f0736c4b83cd6"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/editor/file-tree/file-explorer.tsx: 1055 lines of code: frontend/src/components/editor/file-tree/file-explorer.tsx has 1055 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/editor/file-tree/file-explorer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5252513123b9ef8a523b96469a75111f6813a4651b4c9b7ec97897124df1c7e0"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/storage/storage-inspector.tsx: 1046 lines of code: frontend/src/components/storage/storage-inspector.tsx has 1046 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/storage/storage-inspector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbba64f37d851011e5cb4a3c026435ff5044c2ffd4ce1a83669a309df626db1"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/datasources/datasources.tsx: 1017 lines of code: frontend/src/components/datasources/datasources.tsx has 1017 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/datasources/datasources.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83efff66f3d0cc7b1a208ada04b3d7df9fa9182ee7261b785d09dd9cd0cafd2"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/chat/chat-panel.tsx: 981 lines of code: frontend/src/components/chat/chat-panel.tsx has 981 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/chat/chat-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"748b209c06b34d1615ea07bb15f0e89c81f66c002aaf43a4bcc26d4d93209649"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/generate-design-md.ts: 947 lines of code: scripts/generate-design-md.ts has 947 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":"scripts/generate-design-md.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bf8cba46b9476cd2702686bfab8ed6c8a2904200204d68b3eecde06527d35b"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/editor/connections/database/as-code.ts: 931 lines of code: frontend/src/components/editor/connections/database/as-code.ts has 931 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/editor/connections/database/as-code.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d045f170ed700597c8ae14cd3cc7d4adbff9e8d56d46f4d6ff6bb0faed9e232f"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/slides/reveal-component.tsx: 931 lines of code: frontend/src/components/slides/reveal-component.tsx has 931 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/slides/reveal-component.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5312c040d119a326b7de557bc4d64a49eaa08e392c08a5c9cef5db9d32ea094d"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/codemirror/lsp/notebook-lsp.ts: 921 lines of code: frontend/src/core/codemirror/lsp/notebook-lsp.ts has 921 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/core/codemirror/lsp/notebook-lsp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cc5c5fdcc3698ac8c2b8200429028da85f91723e7e0ecbe8c8f54e96381695"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/plugins/impl/chat/chat-ui.tsx: 879 lines of code: frontend/src/plugins/impl/chat/chat-ui.tsx has 879 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/plugins/impl/chat/chat-ui.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"084726e4f159621904c922eab7027be2a6b5b84917c642ea9153c6128932d9b6"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/data-table/charts/components/form-fields.tsx: 832 lines of code: frontend/src/components/data-table/charts/components/form-fields.tsx has 832 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/data-table/charts/components/form-fields.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e892a29a53a17fe823ba2aaf0a0c686c32b565adeeead96176aeeeca515e9a"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/forms/form.tsx: 823 lines of code: frontend/src/components/forms/form.tsx has 823 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/forms/form.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e888b9d396cf447189e5672d5e33211bbee0e5d59481a5b359f24cff548079"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/data-table/column-summary/chart-spec-model.tsx: 801 lines of code: frontend/src/components/data-table/column-summary/chart-spec-model.tsx has 801 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/data-table/column-summary/chart-spec-model.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9488521c1cd7d0a09737515d6f3014a506e18523d2a8253309979917e44bb832"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/plugins/impl/matplotlib/matplotlib-renderer.ts: 778 lines of code: frontend/src/plugins/impl/matplotlib/matplotlib-renderer.ts has 778 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/plugins/impl/matplotlib/matplotlib-renderer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d2cf9e609c887c4ee3afd55c266484a2c1dadd9fbae1647c6391b7b0ee5306"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/data-table/columns.tsx: 767 lines of code: frontend/src/components/data-table/columns.tsx has 767 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/data-table/columns.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc013bf39bc953a2508dbc98508a4d72c525478e7d627356a1dbe203e2eff616"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/slides/minimap.tsx: 763 lines of code: frontend/src/components/slides/minimap.tsx has 763 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/slides/minimap.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6a287c3dc2d191d06f2c6b79d64be79d50213e78b0d447a31b416395bcc1df"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/editor/navigation/navigation.ts: 756 lines of code: frontend/src/components/editor/navigation/navigation.ts has 756 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/editor/navigation/navigation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50805092ca8cb049e6bc3b3bab171fd26664ccc18a32f0c02f899789e6b60e9"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/editor/output/MarimoErrorOutput.tsx: 745 lines of code: frontend/src/components/editor/output/MarimoErrorOutput.tsx has 745 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/editor/output/MarimoErrorOutput.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66afd5df3c5536226f60669b2c67437164677bf22751d56d64a2ad6540ad91a"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/wasm/bridge.ts: 744 lines of code: frontend/src/core/wasm/bridge.ts has 744 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/core/wasm/bridge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9414db67a033c466df466b798176474585de768b096db4240a7d35ad458dd556"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/editor/package-alert.tsx: 734 lines of code: frontend/src/components/editor/package-alert.tsx has 734 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/editor/package-alert.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af674c8348e4af3ca8e61575d0186ad4a3cf902e386bf93016f4cf908211f69"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/chat/acp/blocks.tsx: 722 lines of code: frontend/src/components/chat/acp/blocks.tsx has 722 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/chat/acp/blocks.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8e6a7ca04a9b884d89f7522f1611d1477591cfb57f44fec9d9ab2576fe6ce6"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/editor/actions/useNotebookActions.tsx: 719 lines of code: frontend/src/components/editor/actions/useNotebookActions.tsx has 719 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/editor/actions/useNotebookActions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b7a74016afe4d724dcb4542367e7d140c4ba0d8e08ab1243049734e2156ad3"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/codemirror/language/languages/sql/sql.ts: 686 lines of code: frontend/src/core/codemirror/language/languages/sql/sql.ts has 686 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/core/codemirror/language/languages/sql/sql.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30643b4a38f9c68cd8983a07422227b53b3fa651bdc93d2546cb2b0e714dec4"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/data-table/filter-pill-editor.tsx: 671 lines of code: frontend/src/components/data-table/filter-pill-editor.tsx has 671 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/data-table/filter-pill-editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"206d1915e1b4f3b1973a2f12a93d40388e48f4628c4ff991631f81cd62b2ee6e"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/pages/home-page.tsx: 660 lines of code: frontend/src/components/pages/home-page.tsx has 660 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/pages/home-page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12e62d3eea8446f9dbe20453e111babc2261bf1a9275ad46bd4e34195f91944"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/cells/actions.ts: 658 lines of code: frontend/src/core/cells/actions.ts has 658 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/core/cells/actions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d7ee7231db8bd463ae722f4de6f74fbe100f7e0e260b790a04e910ee827ae2"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/editor/renderers/grid-layout/grid-layout.tsx: 654 lines of code: frontend/src/components/editor/renderers/grid-layout/grid-layout.tsx has 654 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/editor/renderers/grid-layout/grid-layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b7357d352de0cdc353f48391878c4ed00015f43800b4a0049ffd5afde89b2d"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/editor/chrome/panels/packages-panel.tsx: 634 lines of code: frontend/src/components/editor/chrome/panels/packages-panel.tsx has 634 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/editor/chrome/panels/packages-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aba9ca696108cd95b1f1e7dd3573e9c02665cfab338cf1cb6166a5a094b5810"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/cells/cells.ts: 618 lines of code: frontend/src/core/cells/cells.ts has 618 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/core/cells/cells.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1457f3ead8124b3594b2ea332c8c6e846dddceac010aa071803c4e8a7004a0a0"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/editor/chrome/wrapper/app-chrome.tsx: 598 lines of code: frontend/src/components/editor/chrome/wrapper/app-chrome.tsx has 598 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/editor/chrome/wrapper/app-chrome.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b061e424208a27bfb14f0833aa31d4a15b8a58b4f856a6883fed3afe1ad9a501"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/plugins/core/registerReactComponent.tsx: 596 lines of code: frontend/src/plugins/core/registerReactComponent.tsx has 596 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/plugins/core/registerReactComponent.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4a4e29830b2dadfa5547af72fa60b3428d66cd2de9de5023328b03be3257ca"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/hotkeys/hotkeys.ts: 591 lines of code: frontend/src/core/hotkeys/hotkeys.ts has 591 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/core/hotkeys/hotkeys.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ff2271db40229ca030a1cd2e1be21f464da3616f9c0f7a0247ffa3bee91e38"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/plugins/impl/FileBrowserPlugin.tsx: 591 lines of code: frontend/src/plugins/impl/FileBrowserPlugin.tsx has 591 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/plugins/impl/FileBrowserPlugin.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c689b9decf248366ac902520f59580aa565ba97ee87c7b2b4fead12c4a2ca0a0"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/codemirror/language/languages/sql/renderers.tsx: 586 lines of code: frontend/src/core/codemirror/language/languages/sql/renderers.tsx has 586 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/core/codemirror/language/languages/sql/renderers.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb956af113f2e2be11e7fb9bdf545926d2bc8fe0f56ed6bbb269d8526f683d7"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/data-table/charts/charts.tsx: 569 lines of code: frontend/src/components/data-table/charts/charts.tsx has 569 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/data-table/charts/charts.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a19da9242a4207c0d87a262e7778feaaa812f44108de7fb5f785295526e810"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/network/requests-network.ts: 568 lines of code: frontend/src/core/network/requests-network.ts has 568 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/core/network/requests-network.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"243c4ce801e187761a6f105eba951c34941421d6da44944af4ca2a1e261f8ae8"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/codemirror/reactive-references/analyzer.ts: 566 lines of code: frontend/src/core/codemirror/reactive-references/analyzer.ts has 566 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/core/codemirror/reactive-references/analyzer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ad3ffaf597d007cb0e2288dc1fea0ab59bb3269c3b69330704ba7c9a1d8863"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/editor/connections/database/schemas.ts: 559 lines of code: frontend/src/components/editor/connections/database/schemas.ts has 559 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/editor/connections/database/schemas.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb07f3f1c74246c2f4c56e1408dab4ea4cddf26da86ea4eb3e2c35524b75441c"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/editor/cell/code/cell-editor.tsx: 539 lines of code: frontend/src/components/editor/cell/code/cell-editor.tsx has 539 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/editor/cell/code/cell-editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29eabf36d63817d95994d7edd2ac5caa612272e31480b4df54662d89a652e977"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/editor/file-tree/requesting-tree.tsx: 536 lines of code: frontend/src/components/editor/file-tree/requesting-tree.tsx has 536 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/editor/file-tree/requesting-tree.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f074bd48c080630edd815f36fb23f7c653d107908d119308f2d7c7080b307d1"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/stories/runtime-story.tsx: 524 lines of code: frontend/src/stories/runtime-story.tsx has 524 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/stories/runtime-story.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82289c79f60b88ebdbe82bbe7b230f1ce7687d13fa188c9662e374573fb234eb"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/plugins/impl/data-editor/glide-data-editor.tsx: 515 lines of code: frontend/src/plugins/impl/data-editor/glide-data-editor.tsx has 515 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/plugins/impl/data-editor/glide-data-editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"618e7567076a43be70f34bbf6e145b95b1edd3d7af03ed293e14fa5be2ee08a3"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/editor/Output.tsx: 513 lines of code: frontend/src/components/editor/Output.tsx has 513 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/editor/Output.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b98df578b498a6ea546414b1c435ac7d557a2f8b9d975464509a1906b534513"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/editor/actions/export-dialog/format-options.tsx: 507 lines of code: frontend/src/components/editor/actions/export-dialog/format-options.tsx has 507 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/editor/actions/export-dialog/format-options.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fddbcb79a52eeba5b84c9612b19f9303215e0b9260dddc7758a81115b70224c"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/plugins/impl/vega/make-selectable.ts: 504 lines of code: frontend/src/plugins/impl/vega/make-selectable.ts has 504 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/plugins/impl/vega/make-selectable.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"336b99b3c6e0a9ec770e89a122715e258255827482bf86061c605fbbaaddaa29"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/cells/arrange.ts: 499 lines of code: frontend/src/core/cells/arrange.ts has 499 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/cells/arrange.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b331332399fa5cf1594c83d5041c7e9470b5892edeae58d47f88d86a2b04168f"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/plugins/impl/data-frames/forms/renderers.tsx: 496 lines of code: frontend/src/plugins/impl/data-frames/forms/renderers.tsx has 496 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/plugins/impl/data-frames/forms/renderers.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e3bd32139fc678fd94fa9495fb14425dc06557f88cb9e6ef1aa4950a2e0c27"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/islands/parse.ts: 492 lines of code: frontend/src/core/islands/parse.ts has 492 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/core/islands/parse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d28b213435c1afdf7e4dfd927d5867a9dfb82c76d1af69362b89fcf4f5467d0"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/session/useNotebookSession.tsx: 489 lines of code: frontend/src/core/session/useNotebookSession.tsx has 489 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/core/session/useNotebookSession.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc24b13101ce4ee158072b275e9efd8ad144dc9723464a0274bfc28766f80fc0"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/codemirror/copilot/language-server.ts: 484 lines of code: frontend/src/core/codemirror/copilot/language-server.ts has 484 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/core/codemirror/copilot/language-server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e5c94a5dd7ec9de820ef26caadd0dffea4bdaba94a74e5eb22fa59bcd7bbf6"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/editor/ai/ai-completion-editor.tsx: 476 lines of code: frontend/src/components/editor/ai/ai-completion-editor.tsx has 476 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/editor/ai/ai-completion-editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2910090280238ae5c607817bac303e1efff3f42f58397a1ab7a5f9df6a6b9f7"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/plugins/impl/MatrixPlugin.tsx: 472 lines of code: frontend/src/plugins/impl/MatrixPlugin.tsx has 472 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/plugins/impl/MatrixPlugin.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c243fd71077a27143de180b9a0c4d8f747bdeb4737484981bd68873c0667453"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/slides/slide-form.tsx: 471 lines of code: frontend/src/components/slides/slide-form.tsx has 471 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/slides/slide-form.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c22a1ceee438a3113d42b17b8e9a3d8aa7c65850c917c232e790bd1a7f06f0"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/notebook/document/draft.ts: 465 lines of code: frontend/src/core/notebook/document/draft.ts has 465 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/core/notebook/document/draft.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"871b32dc4225e8e2c11ee817a71270bfb97aad7f5286ed5e34d13004cf9af773"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/data-table/pagination.tsx: 464 lines of code: frontend/src/components/data-table/pagination.tsx has 464 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/data-table/pagination.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb83d7673724cfc341bad2aa83f0533c8b6aaf318315534c2ac0331e3d95443"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/editor/actions/useCellActionButton.tsx: 454 lines of code: frontend/src/components/editor/actions/useCellActionButton.tsx has 454 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/editor/actions/useCellActionButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb93c536ec06b8f1c4b5b687f06e27d22c2fd8676c59e17be1f73db0f85ce78c"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/editor/navigation/multi-cell-action-toolbar.tsx: 453 lines of code: frontend/src/components/editor/navigation/multi-cell-action-toolbar.tsx has 453 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/navigation/multi-cell-action-toolbar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e21c5183052db36a39b53c6f7535d0c7a285bf7085d6cd636527dc5a636557"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/config/config-schema.ts: 452 lines of code: frontend/src/core/config/config-schema.ts has 452 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/core/config/config-schema.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"542672a723f1f932e6c45276c9f2e7a02aa71f5b93e920e4a3d87225db3e2e0e"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/islands/bridge.ts: 451 lines of code: frontend/src/core/islands/bridge.ts has 451 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/core/islands/bridge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90c4145f03676f71915cd1b3562a1a159f897029c2696104410f6b83367b4d1"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/datasets/data-source-connections.ts: 439 lines of code: frontend/src/core/datasets/data-source-connections.ts has 439 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/core/datasets/data-source-connections.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9e65761b1e454024f7dedac65eac380716874180d297c539a2e8c874bde6af"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/codemirror/cells/extensions.ts: 436 lines of code: frontend/src/core/codemirror/cells/extensions.ts has 436 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/core/codemirror/cells/extensions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dad2bc8ec74e25706fd9967aa32fb5abe8444b7214cda194ccd1aea9fe60b2"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/data-table/data-table.tsx: 431 lines of code: frontend/src/components/data-table/data-table.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/data-table/data-table.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5ca5bf35f81f51a94dd4c4f8a072e5a36401d5c955e3a167dd45b51c947d22"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/codemirror/markdown/commands.ts: 429 lines of code: frontend/src/core/codemirror/markdown/commands.ts has 429 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/core/codemirror/markdown/commands.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21e5b461c1d4017fe5ced89657a96fc8c1d3f9a30ec6e739afe50fd9033cc48"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/codemirror/go-to-definition/commands.ts: 426 lines of code: frontend/src/core/codemirror/go-to-definition/commands.ts has 426 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/core/codemirror/go-to-definition/commands.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"809c6ab58b6a996b98740603373ec884192a2a56171977ec772b3cd3ed0e3c9e"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/editor/renderers/vertical-layout/vertical-layout.tsx: 421 lines of code: frontend/src/components/editor/renderers/vertical-layout/vertical-layout.tsx has 421 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/editor/renderers/vertical-layout/vertical-layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a82fbc1b32f279f67a9d86bd95ae8956b818abb4a31d920e05a1824b59d2d3f"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/codemirror/keymaps/vim.ts: 415 lines of code: frontend/src/core/codemirror/keymaps/vim.ts has 415 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/core/codemirror/keymaps/vim.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86717a52f2e002ab18dd95e01a92f0b6d0ecf2d05cee2aaecc244e95e23ea899"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/plugins/impl/anywidget/widget-binding.ts: 415 lines of code: frontend/src/plugins/impl/anywidget/widget-binding.ts has 415 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/plugins/impl/anywidget/widget-binding.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"230c1ec8c5ba1a45828e78250b6b622921e15de1af4643f05e528c4c480cff91"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/core/codemirror/language/languages/python.ts: 410 lines of code: frontend/src/core/codemirror/language/languages/python.ts has 410 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/core/codemirror/language/languages/python.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0176a3bc572253a59cb4d78bc47aea19dbb45849fda20e5215db87ed31f45596"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/plugins/impl/anywidget/runtime.ts: 410 lines of code: frontend/src/plugins/impl/anywidget/runtime.ts has 410 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/plugins/impl/anywidget/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"387a7eaa18ca8f69f9c8f3e79d217f96b5fa25850e8fdb71fa1f0ea6eff55302"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/plugins/impl/data-frames/panel.tsx: 408 lines of code: frontend/src/plugins/impl/data-frames/panel.tsx has 408 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/plugins/impl/data-frames/panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f87a6a35ceaa36721c928b4f7252c411c4acf70d7c34ea821cde9447f5afcf"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/editor/output/ansi-reduce.ts: 401 lines of code: frontend/src/components/editor/output/ansi-reduce.ts has 401 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/editor/output/ansi-reduce.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6909e644b57ef6e5e6b0659fe00b56e19ccf592932391367f2b903c471b67127"}},{"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/lint/marimo-plugin.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe2a0a7b7af0c1abd789af1336bd9e632a6ecb3459c60e446027f7c8ee41f17"}},{"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/scripts/check-ai-sdk-compatibility.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"879c11b13228fd4bd75c1ccc441292fc9433c9adac9306cb26608c783cfd3cbb"}},{"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/hooks/debug.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5695b2d021e4ecee01b63586887f47de1a04629768d01f99d950862988719eba"}},{"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":"packages/openapi/convert_types.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b96453220666b7d7b0481f200922bbc5ce01aa90ba84f9fb61fdb84fe1a84ff"}},{"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/data-table/SearchBar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f6291f2bf6983248764f49d794a3dbb241d2cad1fc9c124b1012b66252195b"}},{"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/editor/alerts/stdin-blocking-alert.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2b658a5e5d1bd41cbfcf8bc7f610c6ae95052c95b798dfe9a1d1f88a29e45c"}},{"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/dependency-graph/utils/changes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f87ad4c1a190cb1d588270a483662781a1b2288769d5c3c789d28bb125cf2d6"}},{"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/editor/alerts/floating-alert.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"460f9ed27d60de18b8d8d725dcbd9f663899fafca4699c9079f23ede9204683b"}},{"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/vite.shared.mts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1972d35b00add578866c954264ad6ee221f634433eb1cd00b7832dcb081d2a2a"}},{"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/editor/chrome/panels/variable-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8912ae11cf6f93e922cec7e22accaf60156a9fd37238e3ac98c926f6b5e4aef8"}},{"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/core/islands/stubs/slide-cell-view.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d671fd6ef86c3257e81df4adca257f8dd7bac4b09048dec22444a4c45d09f5e5"}},{"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":"packages/lsp/move.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a537744944ba0d308e4aaed321a6f1a5b723ca4de05dab63dd6ea59b2f5594e"}},{"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/main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"607d579fa60dcd8658f05471f5d913ea8f65a79cf231f2a66b2f02a839810aa4"}},{"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/core/config/if-capability.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1829c032e33bada55003f99c5702b00569e5b505022a47ab047c982e99ab8bd9"}},{"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":"packages/host-protocol/scripts/openapi.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e571534539bd8fbe6d8636b0b9b845f90095e610cb28a83a636dfb13288bba42"}},{"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/scripts/sync-katex-css.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f953db1022c2128d9174c27503d6fa4134af972b3b1a1483dca995c6a99bc46d"}},{"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/vite.editing-profile.mts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5084f36ced9128660488780cc53b16633bc56e50c22b0dbb775bcb825626189"}},{"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/core/debugger/state.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04ea8384290f16642f1d48b735f173dd10db5daecb67eeb626c1cfdf2ba76f0"}},{"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/utils/dereference.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9307825d4d5ccdb01e67e5d357e222afbbc40a6d8fdcf657329fd063e95241e8"}},{"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/core/runtime/utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb5d0337b81b3c2198f93f8e1753332b6b3febf57488722d59dde395553a28f"}},{"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/editor/chrome/panels/datasources-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91296e0d1859621535fe8c929490ef7f89ed2f1865a6e946007629f07dd52e78"}},{"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/utils/staticImplements.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"947fac57ea611a14c8cf60cbd2f8a3f8c6813245f2a5b28bffba72a7ddc0d555"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~345 LoC): no import path from any entry point (1874 application, 22 tooling, 736 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/lint/marimo-plugin.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88336e648d993d78f17980e1e270e5b2bcec505523e2565988ce57c71832c774"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~5 LoC): no import path from any entry point (1874 application, 22 tooling, 736 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":"packages/smart-cells/src/parsers/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"802d88da4cbe512ad53037251f7e69299203f5d3610940aa154a39a0daada4a6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isTripleQuote\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in packages/smart-cells/src/utils/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in packages/smart-cells/src/utils/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/smart-cells/src/utils/quote-parser.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"856e9870c41f17183fbecc2366cf5a45eddab32bbf7caef1e7c01456d673a9ec"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getClosingQuote\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in packages/smart-cells/src/utils/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in packages/smart-cells/src/utils/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/smart-cells/src/utils/quote-parser.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc022e1a32b7df9ed838c5a491e4c8dae09a2cda12f5598afe33328d06cbabc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027escapeQuotes\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in packages/smart-cells/src/utils/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in packages/smart-cells/src/utils/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/smart-cells/src/utils/string-escaper.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcf388c640fc9374151b93c88aa563db0fc89b46601725ba5871aa21f5f2e30"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027DataTableColumnHeaderProps\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/column-header.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39462842f28723f8d129f644cc4615a2b93eea4f958da796d92f7facca261e4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027Props\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/filter-by-values-picker.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e29d50775fad1920bed2cf21d01675c3fd00c82f0a6e3e0381e07d8323f15d4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027ValueSlotProps\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/filter-pill-editor.tsx"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8141d75310e523b1d1e9454dac73ee59252792f998c0a04202ac67c8cf6081b"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027pyodide\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_pyodide/test_pyodide_acceptance.mjs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c565679f6c1b6503d3c7c672fa9ef55709fcddb7b80e18da9b2039f02c6253"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@typescript/native-preview\u0027: Declared in the root 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":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7c93acc5a91507af667488ac650f14cbee0ad613a8f4ca39fc3a95d38c37d1"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@lezer/lr\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":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/package.json"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f023038c792802c5b8969829f36d438b14891cd13b37c819c5682d5aba88e1f"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027htm\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":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/package.json"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a86c0c22d00040fe170307381640bdba6362d2c96e7c6bfe8b459f6dc421b8"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027js-cookie\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":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/package.json"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cae5944d329ad348729b5dec6d429235f8e657fc590f9cebaa1159a2174f226"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027react-markdown\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":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/package.json"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fda9095d7da8af04b2d86e63048356e9eb58de1968c6c251b785592591d40e5"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027remark-gfm\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":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/package.json"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"50db4f59553472d4dda7e821f372ad309c8c8b0febf0566436f513f9813540e8"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027vscode-jsonrpc\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":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/package.json"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b34ceb50e2b187d1e91845baa6ee201699c85427891b40376ae24fa2c52b056"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027yaml\u0027: Declared in packages/client/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":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/package.json"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb15479966ed162e5d6c3ec73607e374d95c65da55b9e07df88c2a90c7e3661"}},{"ruleId":"R8","level":"note","message":{"text":"Type-only dependency \u0027@anywidget/types\u0027 in production deps: Every import is type-only \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/anywidget/__tests__/widget-binding.test.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f17e31de6551d1530992ad2ea8c593ad9503029e24807aaecbb117f37038450"}},{"ruleId":"R8","level":"note","message":{"text":"Type-only dependency \u0027@zed-industries/agent-client-protocol\u0027 in production deps: Every import is type-only \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/chat/acp/agent-panel.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1deb0c2fd7e8c61db9da3ddde8b3a3204b7e84b9a2d6078e6b278804095589e7"}},{"ruleId":"R8","level":"note","message":{"text":"Type-only dependency \u0027dnd-core\u0027 in production deps: Every import is type-only \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/file-tree/dnd-wrapper.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0b66824d13050a1858bc4698fff51539899c3a22cd6d0ad336170a39630ed0"}},{"ruleId":"R8","level":"note","message":{"text":"Type-only dependency \u0027@lezer/common\u0027 in production deps: Every import is type-only \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/smart-cells/src/__tests__/python-ast.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"02063ae7cdc7aebbac8bc5de6253e122dc8e619668465a7628c68b128a835fc1"}},{"ruleId":"R8","level":"note","message":{"text":"Test-only dependency \u0027vega-parser\u0027 in production deps: Only test files import it (first: frontend/src/plugins/impl/vega/__tests__/make-selectable.test.ts:4) \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/package.json"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b3e76e83c0d2d4ee3d31b56280c70461d414b2d2d44181cfe913e0e516cc01"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (4 files): frontend/src/components/ai/ai-model-dropdown.tsx \u2192 frontend/src/components/app-config/state.ts \u2192 frontend/src/components/app-config/user-config-form.tsx \u2192 frontend/src/components/app-config/ai-config.tsx \u2192 frontend/src/components/ai/ai-model-dropdown.tsx (one verified cycle inside a mutually-dependent group of 5 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ai/ai-model-dropdown.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6644a509c2c3e119903ff60bf9a6e51c2c9aed951d45ce439a0dd676885981f"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): frontend/src/components/chat/acp/blocks.tsx \u2192 frontend/src/components/chat/acp/common.tsx \u2192 frontend/src/components/chat/acp/blocks.tsx"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/chat/acp/blocks.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba79568f82c66d3a26fd83c27a29bc8a46edf6aff26349b1b03d3019167c636"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (8 files): frontend/src/components/data-table/utils.ts \u2192 frontend/src/components/data-table/mime-cell.tsx \u2192 frontend/src/components/editor/Output.tsx \u2192 frontend/src/components/editor/file-tree/renderers.tsx \u2192 frontend/src/components/data-table/columns.tsx \u2192 frontend/src/components/data-table/column-header.tsx \u2192 frontend/src/components/data-table/filters/index.ts \u2192 frontend/src/components/data-table/filters/format.ts \u2192 frontend/src/components/data-table/utils.ts (one verified cycle inside a mutually-dependent group of 33 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/utils.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc558bd7168c42f8ba3aba43a542d73d6f5bd9501921e744901b4e7d5204552"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (11 files): frontend/src/components/editor/cell/code/cell-editor.tsx \u2192 frontend/src/components/editor/navigation/navigation.ts \u2192 frontend/src/core/saving/save-component.tsx \u2192 frontend/src/core/export/hooks.ts \u2192 frontend/src/core/export/layout.ts \u2192 frontend/src/core/layout/layout.ts \u2192 frontend/src/components/editor/renderers/plugins.ts \u2192 frontend/src/components/editor/renderers/slides-layout/plugin.tsx \u2192 frontend/src/components/editor/renderers/slides-layout/slides-layout.tsx \u2192 frontend/src/components/slides/reveal-component.tsx \u2192 frontend/src/components/slides/slide-cell-view.tsx \u2192 frontend/src/components/editor/cell/code/cell-editor.tsx (one verified cycle inside a mutually-dependent group of 13 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/cell/code/cell-editor.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7b81ad3a0f88e724890cf78cc41a9ba0696848a1abf79272c8919213116a94"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (3 files): frontend/src/core/cells/cells.ts \u2192 frontend/src/core/cells/document.ts \u2192 frontend/src/core/cells/layout.ts \u2192 frontend/src/core/cells/cells.ts (one verified cycle inside a mutually-dependent group of 31 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/cells/cells.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"730a7c580adbe1467478f63313310fc2e32b4364d265578aa98a8a2961c16869"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): frontend/src/core/dom/ui-element.ts \u2192 frontend/src/plugins/core/registerReactComponent.tsx \u2192 frontend/src/core/dom/ui-element.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/dom/ui-element.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d7c139585382b39151eb1559c698339d107fecbb3b6aec49960047c8a62940"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): frontend/src/core/hotkeys/hotkeys.ts \u2192 frontend/src/core/hotkeys/shortcuts.ts \u2192 frontend/src/core/hotkeys/hotkeys.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/hotkeys/hotkeys.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1730aaac53afa3714b450d3a9c0391451faa88ec78794a8bbe47bd4216e48e32"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): frontend/src/core/kernel/session.ts \u2192 frontend/src/utils/urls.ts \u2192 frontend/src/core/kernel/session.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/kernel/session.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddca4fe8c30c6512290f6822143d9ec0a8106815d1186fbbd3ea7d0ca8a9d7fb"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://cdn.jsdelivr.net/npm/@marimo-team/islands@0.13.14/dist/main.js\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. 3 such include(s) across the repository\u0027s markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/islands/__demo__/index.html"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91702e69ad9c2357ce0a5308f21d0efdef58fd3b335f17ae52d2ac27ddad375"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060vercel.json\u0060 configures this repository\u0027s static hosting, including its response headers, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/vercel.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e04a5991953416814cfdc2a07fced0ff408cd72ea16d11b77014ff03d4913f"}},{"ruleId":"X1","level":"warning","message":{"text":"Task from \u0060asyncio.get_running_loop().create_task\u0060 is not kept: The task this creates is not kept anywhere. The event loop holds only a weak reference to its tasks, so a task nobody references can be garbage-collected before it finishes (Python\u0027s documentation for \u0060asyncio.create_task\u0060: save a reference to the result); and nothing ever awaits it, so an exception it raises is never handled \u2014 it surfaces, if at all, as \u0022Task exception was never retrieved\u0022 in a log. Keep the task: \u0060await\u0060 it, gather it, start it in an \u0060asyncio.TaskGroup\u0060 (\u0060async with asyncio.TaskGroup() as tg: tg.create_task(\u2026)\u0060), or, for genuine fire-and-forget, add it to a set and \u0060task.add_done_callback(tasks.discard)\u0060 with a callback that also reads its exception."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/backend.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d726d3f9219d4b1145658309fde4f53df887a6206290e1a4ed2b48f4be48b56"}},{"ruleId":"X1","level":"warning","message":{"text":"Task from \u0060asyncio.get_running_loop().create_task\u0060 is not kept: The task this creates is not kept anywhere. The event loop holds only a weak reference to its tasks, so a task nobody references can be garbage-collected before it finishes (Python\u0027s documentation for \u0060asyncio.create_task\u0060: save a reference to the result); and nothing ever awaits it, so an exception it raises is never handled \u2014 it surfaces, if at all, as \u0022Task exception was never retrieved\u0022 in a log. Keep the task: \u0060await\u0060 it, gather it, start it in an \u0060asyncio.TaskGroup\u0060 (\u0060async with asyncio.TaskGroup() as tg: tg.create_task(\u2026)\u0060), or, for genuine fire-and-forget, add it to a set and \u0060task.add_done_callback(tasks.discard)\u0060 with a callback that also reads its exception."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/host/handover.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53d762eabd6fa3cf7a2e833e3415600b9dbda4e8af4db29b786fac8b67342a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!fullWidth \u0026\u0026 \u0022data-[orientation=horizontal]:w-36 \u0022\u0060 appears character-identically in 2 files \u2014 frontend/src/plugins/impl/RangeSliderPlugin.tsx, frontend/src/plugins/impl/SliderPlugin.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/plugins/impl/RangeSliderPlugin.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"265dde370061d9ab3510f00e35c559728d5628fa7988446dd603af699441c854"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060action.hotkey \u0026\u0026 renderMinimalShortcut(action.hotkey)\u0060 appears character-identically in 2 files \u2014 frontend/src/components/editor/cell/cell-actions.tsx, frontend/src/components/editor/cell/cell-context-menu.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/editor/cell/cell-actions.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d672cf739a7b1cd2ae31d05f36edda99e31052cf4b55d4771daa86da836dc0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ai?.models?.chat_model || DEFAULT_AI_MODEL\u0060 appears character-identically in 2 files \u2014 frontend/src/components/chat/chat-panel.tsx, frontend/src/components/editor/chrome/wrapper/footer-items/ai-status.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/chat/chat-panel.tsx"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d21da5e380f51beb0b61e0ee3be663869b25dec75c336fd3c410574f19b314"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.defaultPrevented || isInteractiveTarget(e)\u0060 appears character-identically in 2 files \u2014 frontend/src/components/data-table/range-focus/use-cell-range-selection.ts, frontend/src/components/data-table/row-viewer-panel/row-viewer.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/data-table/range-focus/use-cell-range-selection.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a606e3538bf30432bc4513553dde03493b96e79d04c7af9ea4e60957cd0635bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error.message || \u0022An unknown error occurred\u0022\u0060 appears character-identically in 2 files \u2014 frontend/src/plugins/impl/DataEditorPlugin.tsx, frontend/src/plugins/impl/DataTablePlugin.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/plugins/impl/DataEditorPlugin.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4877e6797fc3bbe619cf48325e3c01ef0a4d37f9b07bf90095a5e1dfbbb4f09"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key === \u0022Enter\u0022 || event.key === \u0022 \u0022\u0060 appears character-identically in 2 files \u2014 frontend/src/components/editor/output/json-output/renderers.tsx, frontend/src/core/codemirror/code-lens/extension.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/json-output/renderers.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf47bb5e1ed8d4cb165ffc1e8b21040b623b160ac5497ce8a67c7823525612a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060format === \u0022script\u0022 \u0026\u0026 options.script.type === \u0022source\u0022\u0060 appears character-identically in 2 files \u2014 frontend/src/components/editor/actions/export-dialog/state.ts, frontend/src/components/editor/actions/export-dialog/use-export-dialog.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/actions/export-dialog/state.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db5129ca096c861d8f06ea1fd8213f7dfb5ad8a6f355c8d2f81b63d6863f251"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060href.startsWith(\u0022http://\u0022) || href.startsWith(\u0022https://\u0022)\u0060 appears character-identically in 2 files \u2014 frontend/src/core/vscode/vscode-bindings.ts, frontend/src/utils/urls.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/vscode/vscode-bindings.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"7222be076144bbc2f37e1bd4c1135154a928216d19aa1fb93ce87b1db9a2de29"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mode !== \u0022agent\u0022 \u0026\u0026 mode !== \u0022code_mode\u0022\u0060 appears character-identically in 2 files \u2014 frontend/src/components/chat/chat-markdown.tsx, frontend/src/components/editor/chrome/wrapper/useAskAiAboutCell.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/chat/chat-markdown.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2306415f0100aa35135e299d5417da898c68bfa618c23a4c56024c9e0bd424c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060orientation === \u0022vertical\u0022 \u0026\u0026 \u0022items-end inline-flex justify-center self-center mx-2\u0022\u0060 appears character-identically in 2 files \u2014 frontend/src/plugins/impl/RangeSliderPlugin.tsx, frontend/src/plugins/impl/SliderPlugin.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/plugins/impl/RangeSliderPlugin.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e8890be6cb075e339524d2bd02c77959ba67247302badef56ee8748c344ccb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060output.channel === \u0022stdin\u0022 \u0026\u0026 output.response === undefined\u0060 appears character-identically in 2 files \u2014 frontend/src/components/editor/alerts/stdin-blocking-alert.tsx, frontend/src/components/editor/stdin-blocking-alert.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/editor/alerts/stdin-blocking-alert.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"145c5d0f51008b0777e50b9eb93c1e4606abb033c532baef51de0a435bf76000"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pendingDeleteService.idle \u0026\u0026 userConfig.keymap.destructive_delete\u0060 appears character-identically in 2 files \u2014 frontend/src/components/editor/cell/code/cell-editor.tsx, frontend/src/components/editor/navigation/multi-cell-action-toolbar.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/editor/cell/code/cell-editor.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b286d2bed447f06f1f653fb6d5d02ee6d0c7870b097d0424d888474719e079"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060props.minLength != null \u0026\u0026 props.minLength \u003E 0\u0060 appears character-identically in 2 files \u2014 frontend/src/plugins/impl/TextAreaPlugin.tsx, frontend/src/plugins/impl/TextInputPlugin.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/plugins/impl/TextAreaPlugin.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d20f42d198bc1241eecbf0f8cdcd1c47daa5c7db5d398fce5e22335b7aa94a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060providerFilter \u0026\u0026 !providerFilter.has(provider)\u0060 appears character-identically in 2 files \u2014 packages/llm-info/src/sources/merge.ts, packages/llm-info/src/sync-models.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/llm-info/src/sources/merge.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf8f59be2048e2e4f65c789c881f9c2f3215aaeaf417f0bb219c766ec1863af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rowIdx \u003C 0 || (typeof totalRows === \u0022number\u0022 \u0026\u0026 rowIdx \u003E= totalRows)\u0060 appears character-identically in 2 files \u2014 frontend/src/components/data-table/row-viewer-panel/row-viewer.tsx, frontend/src/plugins/impl/DataTablePlugin.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/data-table/row-viewer-panel/row-viewer.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8aa1902e14f2ce9cb14f662cdffef1d280151e089ffd428534bccc73c1702c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selection === \u0022single-cell\u0022 || selection === \u0022multi-cell\u0022\u0060 appears character-identically in 2 files \u2014 frontend/src/components/data-table/TableBottomBar.tsx, frontend/src/components/data-table/data-table.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/data-table/TableBottomBar.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7445c8c9437cc6450a61b1a2e692441c23fd11e4905de82519a33e11420473"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0022SignedIn\u0022 || status === \u0022AlreadySignedIn\u0022 || status === \u0022OK\u0022\u0060 appears character-identically in 2 files \u2014 frontend/src/core/codemirror/copilot/copilot-config.tsx, frontend/src/core/codemirror/copilot/language-server.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/copilot/copilot-config.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee833f03798270df3430aa31de9e7c6f6a58530cdfc75e77afc59a4d89cae930"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0022running\u0022 || status === \u0022queued\u0022\u0060 appears character-identically in 6 files \u2014 frontend/src/components/editor/cell/DeleteButton.tsx, frontend/src/components/editor/cell/RunButton.tsx, frontend/src/components/editor/cell/code/cell-editor.tsx, frontend/src/components/editor/navigation/navigation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/cell/DeleteButton.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"837b1c14bc027121534d08cb4313fd5887af760ade4d6fc14de10d34f8369261"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0022submitted\u0022 || status === \u0022streaming\u0022\u0060 appears character-identically in 3 files \u2014 frontend/src/components/chat/use-chat-generation.ts, frontend/src/components/editor/ai/ai-completion-editor.tsx, frontend/src/plugins/impl/chat/chat-ui.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/chat/use-chat-generation.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e950ba84501d73d97ad0fa618836eba729f4583586735070106af04095d3b90c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target === null || !(target instanceof Node)\u0060 appears character-identically in 2 files \u2014 frontend/src/plugins/impl/DictPlugin.tsx, frontend/src/plugins/impl/FormPlugin.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/plugins/impl/DictPlugin.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19abcdc3a036931a6d3cbdd2a2bdfeb07ea5b91708f3af19d80335e1cb7dfe8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tempDiv.textContent || tempDiv.innerText || \u0022\u0022\u0060 appears character-identically in 2 files \u2014 frontend/src/components/editor/errors/traceback-modal.tsx, frontend/src/utils/dom.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/errors/traceback-modal.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c73b775de7679800f5aa344fa1f58b457ce73e5c9eaa4d394e2c1ef917c2d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isFinite(value)\u0060 appears character-identically in 3 files \u2014 frontend/src/components/data-table/column-summary/chart-spec-model.tsx, frontend/src/plugins/impl/data-editor/column-types.ts, frontend/src/plugins/impl/plotly/selection.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/column-summary/chart-spec-model.tsx"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b77a1125ac84bfa951746bf10103e247e7d02d14a7919682d6b6254b7bf18b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 || typeof value === \u0022bigint\u0022\u0060 appears character-identically in 2 files \u2014 frontend/src/plugins/impl/data-editor/column-types.ts, frontend/src/utils/numbers.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/data-editor/column-types.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"274c86d241602ce6acaae4f1911979e547c0a07b9dcc0d63fecf8048cadda47f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022object\u0022 \u0026\u0026 value !== null\u0060 appears character-identically in 4 files \u2014 frontend/src/components/chat/tool-call/tool-labels.ts, frontend/src/components/data-table/utils.ts, frontend/src/core/ai/context/utils.ts, frontend/src/plugins/impl/panel/utils.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/chat/tool-call/tool-labels.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"159cb403fbfa89365a9fef4901a7bf6aa6b9aa24ebfc86205d117c65bed6380f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === \u0022minimap\u0022 || value === \u0022graph\u0022\u0060 appears character-identically in 2 files \u2014 frontend/src/components/editor/chrome/panels/dependency-graph-panel.tsx, frontend/src/components/editor/chrome/wrapper/app-chrome.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/editor/chrome/panels/dependency-graph-panel.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64be2ab064235c1919b05c340539ed6b978df43bcb23dc7623940a0c8ca33f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.type === \u0022date\u0022 || value.type === \u0022datetime\u0022 || value.type === \u0022time\u0022\u0060 appears character-identically in 2 files \u2014 frontend/src/components/data-table/filter-pill-editor.tsx, frontend/src/components/data-table/filters/format.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/filter-pill-editor.tsx"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b984405684bffe146740e49cfb10218f7ce23e63ce5fc1e5dbe2204b4111896"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022(extra:\u0022 in content or \u0022(group:\u0022 in content\u0060 appears character-identically in 2 files \u2014 marimo/_server/api/dependency_tree.py, marimo/_utils/uv_tree.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":"marimo/_server/api/dependency_tree.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e09fab57b8ae5f4f60a9774ebd254a4a062d1237dcde5fa8b97c9310b393e89"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060DependencyManager.ty.has() or DependencyManager.which(\u0022ty\u0022)\u0060 appears character-identically in 2 files \u2014 marimo/_messaging/notification.py, marimo/_server/lsp.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":"marimo/_messaging/notification.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"87581a5765fe31d57b6091fb70d5b31deb45bf29811b6154e26655c3bceede65"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_TEST_SLEEP_INTERVAL or WATCHER_SLEEP_INTERVAL\u0060 appears character-identically in 2 files \u2014 marimo/_runtime/watch/_directory.py, marimo/_runtime/watch/_file.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":"marimo/_runtime/watch/_directory.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb499da4b98160435e7c2e9f68d1ba7445003ca28b06b4490a9556e77774f088"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060alias.asname or alias.name.split(\u0022.\u0022)[0]\u0060 appears character-identically in 2 files \u2014 marimo/_ast/type_inference.py, marimo/_runtime/runner/cell_runner.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/type_inference.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"3997aea1240d9b067d62832718670bf40e471d795e60704db9ff8946eccba15e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060app_state.query_params(FILE_QUERY_PARAM_KEY) or app_state.session_manager.workspace.get_unique_file_key()\u0060 appears character-identically in 2 files \u2014 marimo/_server/api/endpoints/assets.py, marimo/_server/api/endpoints/ws/ws_connection_validator.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":"marimo/_server/api/endpoints/assets.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95fd23b205b0f5d3f7feab789c392629e34fda977c8c778a14f44528d676247"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060auth is None or \u0022edit\u0022 not in auth.scopes\u0060 appears character-identically in 2 files \u2014 marimo/_mcp/code_server/main.py, marimo/_mcp/server/main.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":"marimo/_mcp/code_server/main.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"af12a2b36194b0810cbf72ae74aa9747b97c117fb8a5e51dc6b77dddc4768b35"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cid == setter_cell_id and not state.allow_self_loops\u0060 appears character-identically in 2 files \u2014 marimo/_runtime/runner/cell_runner.py, marimo/_runtime/runtime.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runner/cell_runner.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba2cb7be6f3938087995279981333c5879cbd0bcd270b7f9ddf926aa54f49b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060col not in transform.column_ids and col not in transform.index_column_ids\u0060 appears character-identically in 2 files \u2014 marimo/_plugins/ui/_impl/dataframes/transforms/handlers.py, marimo/_plugins/ui/_impl/dataframes/transforms/print_code.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":"marimo/_plugins/ui/_impl/dataframes/transforms/handlers.py"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"791ee2d8e69139dbcad9980c658c4a3af578b5d55486c49379bb3a5d5a7f2cff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060col not in transform.column_ids and col not in transform.value_column_ids\u0060 appears character-identically in 2 files \u2014 marimo/_plugins/ui/_impl/dataframes/transforms/handlers.py, marimo/_plugins/ui/_impl/dataframes/transforms/print_code.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":"marimo/_plugins/ui/_impl/dataframes/transforms/handlers.py"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5e558dcd701f3189c429d2c3fb3712941a9a7fbf8c0a04d8dbaa95e99ac54e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060column_type == \u0022date\u0022 or column_type == \u0022datetime\u0022 or column_type == \u0022time\u0022\u0060 appears character-identically in 3 files \u2014 marimo/_data/charts.py, marimo/_data/preview_column.py, marimo/_data/sql_summaries.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":"marimo/_data/charts.py"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c82604b0355da25271bfaa95fa19db13d93b9aef1bc0683ffe4be013784ba55"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.position is None or event.position \u003E self._ready_id\u0060 appears character-identically in 2 files \u2014 marimo/_server/host/api.py, marimo/_server/host/session.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":"marimo/_server/host/api.py"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"12dee1136cb10b6bda352050922fc88ee1cd8ab5a247f8ca760eae16433bc8a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060initializer is not None and not callable(initializer)\u0060 appears character-identically in 2 files \u2014 marimo/_runtime/_wasm/_concurrency/_futures.py, marimo/_runtime/_wasm/_concurrency/_mp_pool.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":"marimo/_runtime/_wasm/_concurrency/_futures.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24ce0a04b92051dc3456a4187dcef2045b01cd257369473df11ce22cb30b53b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(cls, type) and issubclass(cls, Enum)\u0060 appears character-identically in 2 files \u2014 marimo/_code_mode/_better_inspect.py, marimo/_utils/parse_dataclass.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":"marimo/_code_mode/_better_inspect.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"562ea459272e595297b195d957f6d0fa4b6fad9910a8c9a8c1425e68662ea93f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(loader, type) and issubclass(loader, Loader)\u0060 appears character-identically in 2 files \u2014 marimo/_save/loaders/__init__.py, marimo/_save/save.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":"marimo/_save/loaders/__init__.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffa61e95a6ca6483402f7cb17669151149f0c42048e2fc3e713b05ecf06c9e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(nested, type) and issubclass(nested, Config)\u0060 appears character-identically in 2 files \u2014 marimo/_cli/config/utils.py, marimo/_config/schema_utils.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":"marimo/_cli/config/utils.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9506bffc6370d225c1eb667bce8bbb90a09b2b7850dfe1aeb6a4b81111b93620"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(stack) \u003E 1 and stack[-1][1] \u003E= level\u0060 appears character-identically in 2 files \u2014 marimo/_server/api/dependency_tree.py, marimo/_utils/uv_tree.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":"marimo/_server/api/dependency_tree.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a7ad2ea584e58a91f6e30a65371d8671253c843d941cd13003e6f2a1ad87b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata.get(\u0022header\u0022) or document_header or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 marimo/_convert/markdown/flavor/mdx.py, marimo/_convert/markdown/flavor/mystmd.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":"marimo/_convert/markdown/flavor/mdx.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3308a4922d2bcb94ca3c6816e174c909784441248d33ef87c1294a1d6e95c6b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata.get(\u0022pyproject\u0022) or header_pyproject\u0060 appears character-identically in 2 files \u2014 marimo/_convert/markdown/flavor/mdx.py, marimo/_convert/markdown/flavor/mystmd.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":"marimo/_convert/markdown/flavor/mdx.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d55acb68f6e1298aec44b85ea98855b4428d2d0141db085b2e03435ba754e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not line.strip() or line.strip().startswith(\u0022#\u0022)\u0060 appears character-identically in 2 files \u2014 marimo/_ast/codegen.py, marimo/_utils/formatter.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":"marimo/_ast/codegen.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c06c9ce77dc08b1bef6da9bf726d1a3f8da003f9f6bb90aaa92251769219ba7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not self.freed.entries and not self.freed.total_bytes\u0060 appears character-identically in 2 files \u2014 marimo/_save/clean.py, marimo/_save/prune.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":"marimo/_save/clean.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2005196f94cb5f665ba4b5230ef4c44b8f26ec43a8de0a8e815f8bd64555604"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not self.value or index \u003E= len(self.value)\u0060 appears character-identically in 2 files \u2014 marimo/_plugins/ui/_impl/file_browser.py, marimo/_plugins/ui/_impl/input.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":"marimo/_plugins/ui/_impl/file_browser.py"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"713f41fa853d5f3a6d97f4e42ee8c5089ce272c00ac933f6ae6edc88aaa27818"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060notebook.header and notebook.header.value\u0060 appears character-identically in 2 files \u2014 marimo/_ast/load.py, marimo/_convert/markdown/from_ir.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":"marimo/_ast/load.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9f2d507917fec369264ec37fc391f24f10c8af88c8d0fd93238eeda7fd9322"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060option.startswith(\u0022-\u0022) and not option.startswith(\u0022--\u0022)\u0060 appears character-identically in 2 files \u2014 marimo/_cli/parser_ux.py, marimo/_cli/suggestions.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":"marimo/_cli/parser_ux.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c073efb5f317bdb1b1f142a591fe25b27bc6462eb639c6ca9e2445d8cf4de722"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.target.process is not None and self.target.process.alive()\u0060 appears character-identically in 2 files \u2014 marimo/_cli/pair/harnesses/codex.py, marimo/_cli/pair/harnesses/opencode.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":"marimo/_cli/pair/harnesses/codex.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa69772d4538ea33556d85a8774d60e0e0d5f66f0072df026fc023313ec8683"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state == ConnectionState.OPEN or state == ConnectionState.ORPHANED\u0060 appears character-identically in 2 files \u2014 marimo/_ai/_tools/base.py, marimo/_server/api/endpoints/home.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":"marimo/_ai/_tools/base.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"23afd5dadcedfc083a4a009acd8e31db084870cc112b9c13938de41082a62755"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060str(exception) or type(exception).__name__\u0060 appears character-identically in 3 files \u2014 marimo/_pyodide/notebook.py, marimo/_pyodide/pyodide_session.py, marimo/_server/host/backend.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":"marimo/_pyodide/notebook.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1d46f98084aa1ad3d827e54f72c52dd85449da1aee7972d9973e0f29b674a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060task.cancelled() or task.exception() is not None\u0060 appears character-identically in 2 files \u2014 marimo/_core/operations.py, marimo/_server/session_manager.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":"marimo/_core/operations.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"f150e62603b0895808695508dd08df6f90e6392aee01d319bc32362d5152fa93"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value is not None and not isinstance(value, str)\u0060 appears character-identically in 2 files \u2014 marimo/_plugins/ui/_impl/input.py, marimo/_plugins/ui/_impl/tables/geometry_export.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":"marimo/_plugins/ui/_impl/input.py"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fde63418b157e2c87c5b6776d9ddd86783f789a87bde049d1dfcc467091be4f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value is not None and value != \u0022\u0022 and value != []\u0060 appears character-identically in 3 files \u2014 marimo/_convert/markdown/flavor/mdx.py, marimo/_convert/markdown/flavor/pymdown.py, marimo/_convert/markdown/flavor/qmd.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":"marimo/_convert/markdown/flavor/mdx.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ccf2d7fc567c853769accf59f59e0ed4ecb9443e2a7aea8c9e4be1d9604f17"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060sorted_keys\u0060 is public and takes \u0060value: Any\u0060 from its caller, and it calls itself at line 56 (\u0060sorted_keys\u0060) with a piece of \u0060value\u0060 (and at line 58) \u2014 and nowhere in \u0060sorted_keys\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 \u0060sorted_keys\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/host/generate.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d862d8879816280f38eec920cea3a9e767067593458b7ee933a078385993b2"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060forGenerators\u0060 is exported, takes a document from its caller (line 135) and hands it to \u0060adjust\u0060, which calls itself at line 62 (\u0060adjust\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060adjust\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. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060adjust\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/host-protocol/src/internal/openapi.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a0aae500969d81cd629a3f1a1ad92044acdb28f632dbea664269931d103d1c"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060deep_to_camel_case\u0060 is public and takes \u0060snake_dict: Any\u0060 from its caller, and it calls itself at line 42 (\u0060deep_to_camel_case\u0060) with a piece of \u0060snake_dict\u0060 (and at line 49, line 52) \u2014 and nowhere in \u0060deep_to_camel_case\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 \u0060deep_to_camel_case\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/case.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"758515de9e00d600d2a180f3459af1049b8868f46256f4544f492ba91d85a7eb"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060convert\u0060 is public and takes \u0060py_type: Any\u0060 from its caller, and it calls itself at line 62 (\u0060self.convert\u0060) with a piece of \u0060py_type\u0060 (and at line 81, line 91, line 104, line 119, line 128, line 147, line 153, line 166) \u2014 and nowhere in \u0060convert\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 \u0060convert\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/dataclass_to_openapi.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49a0cdcf2f364e626fa4965e327865c156602cbd9637612aa3acd31682048d3"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060flatten\u0060 is public, takes a document from its caller (line 215) and hands it to \u0060_flatten\u0060, which calls itself at line 179 (\u0060_flatten\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060_flatten\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_flatten\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/flatten.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"2947c88e907e5fbb46660ecdb630ff7e846eb1a3d1c1332d6d4cd7b6cc72fcb9"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060contains_instance\u0060 is public, takes a document from its caller (line 283) and hands it to \u0060_contains_instance\u0060, which calls itself at line 297 (\u0060_contains_instance\u0060) with a piece of \u0060value\u0060 (and at line 299) \u2014 and nowhere in \u0060_contains_instance\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_contains_instance\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/flatten.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"3993efc1b6b55bc6d607870cd9538cfe7465a5a34fbb54fcd5a2379698256679"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060restore\u0060 is public, takes a document from its caller (line 189) and hands it to \u0060_restore_from_stub_if_needed\u0060, which calls itself at line 315 (\u0060self._restore_from_stub_if_needed\u0060) with a piece of \u0060value\u0060 (and at line 322, line 331, line 342, line 364) \u2014 and nowhere in \u0060_restore_from_stub_if_needed\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_restore_from_stub_if_needed\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/cache.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14a86e8fa07bfaaa4e0667c3ee420b2d100d52379f5c92756ab24f154876206"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060primitive_to_bytes\u0060 is public and takes \u0060value: Any\u0060 from its caller, and it calls itself at line 157 (\u0060primitive_to_bytes\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060primitive_to_bytes\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 \u0060primitive_to_bytes\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/encode.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"274e917def76a083b5e1f18d6d1e9030fcb2c68257a29f60bbf94afeb99b3035"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060common_container_to_bytes\u0060 is public, takes a document from its caller (line 189) and hands it to \u0060recurse_container\u0060, which calls itself at line 197 (\u0060recurse_container\u0060) with a piece of \u0060value\u0060 (and at line 200, line 203, line 206) \u2014 and nowhere in \u0060recurse_container\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 \u0060recurse_container\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_save/encode.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb6f29eebf8beac223bc701074626d5f3855e6eec17cb51634818a23d4848d4"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060is_primitive\u0060 is public and takes \u0060value: Any\u0060 from its caller, and it calls itself at line 48 (\u0060is_primitive\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060is_primitive\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 \u0060is_primitive\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/primitives.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"19aa68eff6408cc2fbbb109e3adf9b3a852872d557643b1c6e197eeec708ba2a"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060register_scope\u0060 is public, takes a document from its caller (line 103) and hands it to \u0060_find_bindings_in_namespace\u0060, which calls itself at line 85 (\u0060self._find_bindings_in_namespace\u0060) with a piece of \u0060glbls\u0060 \u2014 and nowhere in \u0060_find_bindings_in_namespace\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_find_bindings_in_namespace\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_core/registry.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"04eff100866e16a3897fd6cd99324e8439277905397beeeb8793413ee153144d"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060tabs\u0060 is public and takes \u0060tabs: Mapping[str, object]\u0060 from its caller, and it calls itself at line 44 (\u0060tabs\u0060) with a piece of \u0060tabs\u0060 \u2014 and nowhere in \u0060tabs\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 \u0060tabs\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/stateless/tabs.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1914c404ef32fa90277174f4c7d6d83d9db1d376242301882268747de2342f4"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060enc_hook\u0060 is public and takes \u0060obj: Any\u0060 from its caller, and it calls itself at line 230 (\u0060enc_hook\u0060) with a piece of \u0060obj\u0060 (and at line 233, line 245) \u2014 and nowhere in \u0060enc_hook\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 \u0060enc_hook\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_messaging/msgspec_encoder.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc4a78145cdf6d81e6b2dcdc561883e9d7dbb44cbbdd11b9f24b36dc8b46b60"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060config_paths\u0060 is public and takes \u0060config: dict[str, Any]\u0060 from its caller, and it calls itself at line 57 (\u0060config_paths\u0060) with a piece of \u0060config\u0060 \u2014 and nowhere in \u0060config_paths\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 \u0060config_paths\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_config/resolver.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0941b37d6a7f8d3c848cf52563ec2b99693f72b4e7c9e32ef4758d2c06a7bcf7"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060from_dict\u0060 is public, takes a document from its caller (line 152) and hands it to \u0060_retain_unknown_fields\u0060, which calls itself at line 66 (\u0060_retain_unknown_fields\u0060) with a piece of \u0060source\u0060 (and at line 72, line 75) \u2014 and nowhere in \u0060_retain_unknown_fields\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_retain_unknown_fields\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_config/schema_utils.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"46140de99b1b71ca2d4a624765524b24525a3c2f3e82fe23d7aaacdae3628098"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060drop_none_values\u0060 is public and takes \u0060values: dict[str, Any]\u0060 from its caller, and it calls itself at line 23 (\u0060drop_none_values\u0060) with a piece of \u0060values\u0060 (and at line 27) \u2014 and nowhere in \u0060drop_none_values\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 \u0060drop_none_values\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_config/utils.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb44e847fa28759f5cd3460023a46c113ffa6494e61a5f619ae8521edcb7c18"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060getContainerWidth\u0060 is exported and takes \u0060spec: unknown\u0060 from its caller, and it calls itself at line 23 (\u0060getContainerWidth\u0060) with a piece of \u0060spec\u0060 \u2014 and nowhere in \u0060getContainerWidth\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. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060getContainerWidth\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/vega/utils.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b418dff919662ab5846ff48ea1a2997ffb184c0c379d45e78f204370803a069"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060extractBuffers\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 24 (\u0060extractBuffers\u0060) with a piece of \u0060value\u0060 (and at line 29, line 46) \u2014 and nowhere in \u0060extractBuffers\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. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060extractBuffers\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/panel/utils.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d71d0391d911f0f1a9b34816207c445212e1ddda76f64f15d22c7555d48655"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060paginateJson\u0060 is exported, takes a document from its caller (line 16) and hands it to \u0060visit\u0060, which calls itself at line 44 (\u0060visit\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060visit\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. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060visit\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/output/json-output/pagination.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae6714fd3bc5c1c56f6957015e97d397d4d4019dafd9fea030bc98d2fc49f19"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 5/12 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: fetchModelsDev: \u0060fetchModelsDev\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":"packages/llm-info/src/sources/models-dev.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbecec9b2c28fdf5e7372d7e481c3cabf7033837596d23d72005ad1caf03f10"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: copyImageToClipboard: \u0060copyImageToClipboard\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/utils/copy.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa16fc628f26d498f28c597ad4c85469bc2f3df4175c53d35cf81c712ce38a7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: http: \u0060http\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/core/static/files.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edfdd64ee70e9a156062b82ee2e2bbdb01a4d72fe7144aa2c9465ffcb25c737"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: load: \u0060load\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/core/static/files.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94f15bada82b97f04e5dea465df9c0329a74bf761751a37f1e684543dfef2ae"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchHealth: \u0060fetchHealth\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/core/runtime/runtime.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d0430657ee9de3d9eb894133df156e551ffee566330645299d246694bcce6f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: requestEditCompletion: \u0060requestEditCompletion\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/core/codemirror/ai/request.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f06d6a32bdde525c82590643e81bb0c3ee945dfd20aa9e424f9beae881c7956"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getMarkdownContent: \u0060getMarkdownContent\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":"docs/_static/js/page_actions.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f14105ad5f3181a3ed56355a1da424c2cc7a6f268fc074f85da46c87db0d18"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 473 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 473), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_session/managers/ipc.py"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a83b1df093b1f58f4b7335e90eab3ca52e4e4fe016cf8a5b26113c8e6a1c51e"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 179 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 179), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_session/app_host/host.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0a5448ed902699fb705bbfa9c29c1e1d6c93f1483d4ca614536793d16c4636"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 147 is called with an argument built by \u0060\u0022\u2026\u0022.join(map(repr, notebook.violations))\u0060 (line 149), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/load.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad40a994639dc25819e0e9079d5d04a3ea3627a5f4ee16b711fc3c06989b891d"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060trace\u0060 at line 25 is called with an argument built by \u0060join(\u0022, \u0022)\u0060 (line 25), whose cost grows with the collection it walks. JavaScript evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because trace is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/utils/maps.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6041c4a7dcb42d05a5c040f865db99c30c8381bd821f638647edb70134d6f636"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 198 is called with an argument built by \u0060apps.map((a) =\u003E \u0060${ a.id } (${ a.cells.length } cells)\u0060)\u0060 (line 200), whose cost grows with the collection it walks. JavaScript evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/islands/bridge.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"767298b6dbafda9789636e183ad07b5fbca48c27953ffa9a2d3a46af698ba338"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/data-table/utils.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"a359c1f5be57394d5ecb2529b782f7d3679670900d161fb63a0bda3c4c5db65c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.html\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/editor/chrome/panels/outline/floating-outline.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e530c4085470917cb9ba187f8203584227f6e396a5dfe1ba10c2f654ecc648"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060LENS_ICONS[spec.kind]\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/code-lens/extension.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84f018137c385617c1daa4505003b7259dccb344d9d06354f3b50dfdfb8fad6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060innerHtml\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/completion/Autocompleter.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aaf734a629cf33abac30b486bbf4866fc9a5e609a5043cce83a903d41f21c6c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060DefaultSqlTooltipRenders.keyword({keyword:label,info:keywordInfo,})\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/language/languages/sql/completion-sources.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"078234f844dbdaa89b3fba232ae83d98ea6880405c1efd326fd3bc9d5e50fecc"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060cell.displayOutput?cell.outputHtml:\u0022\u0022\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/islands/parse.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2a7a518404335c6322b76ca2a1bf72b18aecd29b94fc7c6624998efbbd6cd3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060element.outerHTML\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/core/RenderHTML.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"045002a92737f585d3396d4e6c590bf5ba16f8f5aeaf49677e0fae4e58878f4e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060svg\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/layout/mermaid/mermaid.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0de4dedd4e41be5da0de2fe1822acac0e8d8baa7ee0cfb6fdc4ba72194765bb"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060htmlString\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/utils/dom.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f83b134d233d620ad7eeb77a35b0199fabda1a1652f2e92caf12085a290a8d8"}},{"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":"packages/client/src/transport/sse.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a39687fb4520fa472a0f73c78744f4d6cf8e3b0568ce6d62e19cf3eaa2b70a"}},{"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":"marimo/_templates.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9a7d35def344a2b9614995c9f66eb6bd6fb41417de4bde36f5cbf147b0acff"}},{"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":"marimo/_tracer.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"43599eb54fce96d4ea223645327a2bb83d79afbd81627f74c5738dc2f64c66dc"}},{"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":"marimo/_utils/diagnostics.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b9c12b9cb84f0a0c788bbd3c5e428f9ed420c99d86ae79cc2646acf5f54d5c"}},{"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":"marimo/_utils/format_signature.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a821ee25d2cbd95fc369d39c58f39374bfc2743186212cc20fe546d41cf154"}},{"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":"marimo/_utils/formatter.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c13ba93588e5ead220c35487ceb6e3b9e5fe552b2c4a028bb1a5131d91506c"}},{"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":"marimo/_utils/methods.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbbcd543b489d8ade160c6450f16fa54d9242ed189f15a95913df2ff640ce84"}},{"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":"marimo/_utils/narwhals_utils.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cd36a0a9191eb020f76a35cb05493e66805e1e899a069f2fc0a389d78904ab"}},{"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":"marimo/_utils/tmpdir.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f73ff1818e1027fb505ff36cdc5ac988637b5e64fe3e3480ac357f442ff820"}},{"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":"marimo/_utils/versions.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"420468ba936fba30b053fcc1f513781155f6d75e9321d476ab9cab92f4070ef1"}},{"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":"marimo/_sql/engines/clickhouse.py"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"38516e0c9d6e6451ce38f0063139db12e9bac6472ca92354575d3e2b63b88595"}},{"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":"marimo/_sql/engines/clickhouse.py"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f095f85333d060f3ef35af6ae7699780a6f23b06904ef1aeb7a4a7d161ab8b"}},{"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":"marimo/_sql/engines/dbapi.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"68013468146e8a43475addfc33476d6cab2187cc9ca886e00f1954bf841d5101"}},{"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":"marimo/_sql/engines/dbapi.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1093867b4c7226a3a5f7d4f2781b961c775d01dca1f028d3b6a05afb5e045a2"}},{"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":"marimo/_session/managers/ipc.py"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"180d176ca4fe7bdbf52d2471b5884b14798b082030f010fcf8b2618558e08e7c"}},{"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":"marimo/_session/app_host/host.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e177f07ac5d431fd26873c34a832eb22016801e30f38d64517211fc84275b6f"}},{"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":"marimo/_session/app_host/host.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0f7536991618e3fb9ab906cd378fba8110eac2a2fc41feebf24734ee212fb6"}},{"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":"marimo/_session/app_host/host.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1f9e0650e9b0eaf14e4a225e79fba0a615216d7aec90b20707a9fb72e51989"}},{"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":"marimo/_server/lsp.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"88151334fedb7e64dae2c594129bbded2b604d4d2b8f1c9233b15876a7df5609"}},{"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":"marimo/_server/lsp.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"994a10c867c858efc89c797657887da9cf0a2e8931ce7fca6bee3315125b69b5"}},{"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":"marimo/_server/lsp.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c5bda69489cccc30c5698aa519ffb1eb0c8328e959663786f6875feea0e74d"}},{"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":"marimo/_server/print.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abb8e735b27536ba6fd03e484a4eb5183c62a4120261e09f2491db935fd12c6"}},{"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":"marimo/_server/api/middleware.py"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c5779bfbf9711e098f8a7732f9aeee93081b53d98cfa7eb6068717e8e3b160"}},{"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":"marimo/_server/api/utils.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"50339919cd8b22de067bddbdde3630a12e77780fccbce2c0f818f71cba8696c1"}},{"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":"marimo/_server/api/endpoints/terminal.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fb7c2bf464541dc58b8f61beaf6441e3b0f2fe7d8833e76a82b648cf1b21e8"}},{"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":"marimo/_server/api/endpoints/terminal.py"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3527b19c1329f5bc3fa292d7184f1cb33b2829e647e2b0d9e97fb0830f39da"}},{"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":"marimo/_save/encode.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"625ef6305747c6417afba61f784a31d31983f5880ed56cdbc4bc0ce68a0a26c1"}},{"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":"marimo/_save/stubs/stubs.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ed9d26b98eb1982baf70b3ad8d13ebd0a760cc13fc4f420c8be85dfbcce15b"}},{"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":"marimo/_save/loaders/lazy.py"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31e6f6fbd31663c8d82fd4b1c229203e15440fbdcfcf0e29959e3f9de5159e8"}},{"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":"marimo/_runtime/complete.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db21a77773dc7d6ecc8004a99fc4adbdedc6cb564bb26d89c22557c02329de0"}},{"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":"marimo/_runtime/primitives.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"95733524f328631e01aa827df529439d34f0ccba104f4dcea1e70054169333e4"}},{"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":"marimo/_runtime/runner/cell_runner.py"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b46c5febfb05389d8da7a5d0a36471f871b4fcb3be003c1c5ed530b5d6df44"}},{"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":"marimo/_runtime/runner/hooks_post_execution.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"097d0645c7b9b41ea8c06461673c8483ddf7ef02d5506948328505ddf3bfdc79"}},{"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":"marimo/_runtime/packages/_micropip_streaming.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea67f15834bf2708e003b93d618802e7b55bcea9b9e54a0791b5ea9c6259501"}},{"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":"marimo/_runtime/packages/package_manager.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae45c54cd1435fe1b72b7fec2e959e972a613ffbe9a65c30eba763a8d7f8b2cb"}},{"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":"marimo/_runtime/callbacks/cache.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b960c2bd709f0a0f1a060c89fa4907c27bb23f248a41ee8b1880948c25ddfe31"}},{"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":"marimo/_runtime/callbacks/packages.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b98ca971bc02938b78db915de5aa64e008e2600a5b554819eee5ebfa57f644"}},{"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":"marimo/_runtime/_wasm/_duckdb/__init__.py"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b302d920adf836f2f62df791b3740be549a581bebbb4655d3ecbb71e24b8dca"}},{"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":"marimo/_runtime/_wasm/_concurrency/_futures.py"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec79d4b47bcc4dd73bc3f812334347052b5b655f58d6a222896813274573d78"}},{"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":"marimo/_plugins/ui/_impl/altair_chart.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"61abdd7388d27bea9f5874cb54298a9300a517b2a44e58aade6a18200a7dc212"}},{"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":"marimo/_plugins/ui/_impl/altair_chart.py"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad903b49b4bcb7ef86bd2c0d41ef06ae00ed934615e142d35857e0db48e53cb7"}},{"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":"marimo/_plugins/ui/_impl/altair_chart.py"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e285327e39d2f8b65f25c68b899221b79785c5e187a31ac2d956061ea13ae2e"}},{"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":"marimo/_plugins/ui/_impl/altair_chart.py"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"70248de6b73f10effd1ed11885b0e57b6d8af091f2ebc6f5d1d61f25fdc31c74"}},{"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":"marimo/_plugins/ui/_impl/altair_chart.py"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7c80c2782de469d9a63c31e6982bcb45696873a23013803da15ddc6a5a6645"}},{"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":"marimo/_plugins/ui/_impl/from_panel.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b44a1d598f42e244007ee0221c0e21ee5d49ddaa3ecb7e6bd339ffee0bb7354"}},{"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":"marimo/_plugins/ui/_impl/tables/geometry_export.py"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3011b66eceffd1658de6a09d27fe93435271af91883ce1f1af0539f8bccf139c"}},{"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":"marimo/_plugins/ui/_impl/tables/table_manager.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"595140ef5783f5b0738a8fd43249cedbed800fa97750c008a6443143910a4502"}},{"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":"marimo/_plugins/ui/_impl/dataframes/transforms/handlers.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff85f4e051ff9be7b1ea773ae53ccc7fc1f16a6c04e69d71d764dc70323b1b69"}},{"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":"marimo/_plugins/ui/_impl/dataframes/transforms/print_code.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c80a8560e1d8eab5c1f80b7da77f212d37ab50eecd081f397b6608a4bd82a9f"}},{"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":"marimo/_plugins/stateless/inspect.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"082612aa6f6d631443404c0c03de56010cbf9f90c87dbe51595e5a2ba93469be"}},{"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":"marimo/_plugins/stateless/inspect.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90cef599bf5df9abf1f28e404a494f0e6e7de71beef2ea97cbe704725ac722a"}},{"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":"marimo/_plugins/stateless/inspect.py"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"55588fde7aa6bf5b6b42b0ef25cd5b285eb108da3820d117fad3dc79503347b9"}},{"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":"marimo/_output/md.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"139b644299fbbfb8f3538f5497c25f2996a2fdb0e047034b0b03da878a0b4cc8"}},{"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":"marimo/_output/formatters/bokeh_formatters.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc8af1f1e7cc7da57d6173ac33587a18385ca56a62fbb78f966e35f30f1821f"}},{"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":"marimo/_output/formatters/pygwalker_formatters.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b0e03789a3bd8f2e0bdfd1faf6acd17c6bd874d59077c746b230abed221d26"}},{"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":"marimo/_output/formatters/repr_formatters.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c506361af5a7c6adf5d85404ab7e1458dda821e0008470e1e83611b34143f01f"}},{"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":"marimo/_metadata/opengraph.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2425e460e8c3e007bf10e9347817b56a2b2a4d354118dbb3fd90c616a0bf47b"}},{"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":"marimo/_metadata/opengraph.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8f83b44a94c320df50af6f6cc74e3b9ea1a787055ae57035f0a42790adc08d"}},{"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":"marimo/_messaging/streams.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"30885cd1fc76200093d3b5d735b85c328f10b8d46994eb3ed4b730450ab5c79e"}},{"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":"marimo/_messaging/tracebacks.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce0567b2f63c8c6022d226cb6d4e384c088e6eb735351f0cf52fa76a6a61034"}},{"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":"marimo/_messaging/tracebacks.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"626e06499a988f6803966d3d3a669fb0aa2aab7c9cef416712437d36a6ce40ef"}},{"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":"marimo/_messaging/variables.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"a655fd898d59458afa05cb488ec69dd5f4e1750dce41a1757812a32b547682c3"}},{"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":"marimo/_messaging/variables.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19c4d30cbdbad51720c71a6bf656f5ac81b2f1e951422072b34f8177e5625a6"}},{"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":"marimo/_messaging/variables.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf2fd32551d2a814b3164a4c0a29f4dfb6425df2e797ea64171acf3c92d628d"}},{"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":"marimo/_lint/linter.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f021396e4f74212f4e224846d3a728d05d02a1382050bd5d49e6dcea847a30"}},{"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":"marimo/_lint/rules/wasm/incompatible_packages.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0969897e3acc64d2e67a10e3da4defaf3b01344b8db9c03476faef73ea093a11"}},{"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":"marimo/_lint/rules/wasm/incompatible_packages.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e77173a0e67086b645420d54e2dae105ff58471f4f533aaa3268f64c64dfa9e"}},{"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":"marimo/_environments/uv.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d385d873672110e9f72b8e5a31bb129903492bb0449cbe2ce6cf52b6ac415c9"}},{"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":"marimo/_convert/script.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"807bcf4c117e1a1d36ad69d6a23623ba0233c51405c8862e960df40125447f08"}},{"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":"marimo/_config/packages.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08e2a41dd78e9b3dfac9b795e309c82978de3009ddb6ccb84c83f6864365ebd"}},{"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":"marimo/_config/utils.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa893a32c349658a6622dce8c2de096e2c5574e0c584ccb4e859a179bd02f3f"}},{"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":"marimo/_code_mode/screenshot.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62c9e458573a32a9cd39f57e67c85761b5d899c4a975f9ff3695cfd5fc41c8c"}},{"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":"marimo/_code_mode/screenshot.py"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"13002e7eaaa76f2d23c8ebae11595dcb4bf9cc86d97da77a110915f3ce273ec6"}},{"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":"marimo/_code_mode/screenshot.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a2b8de7bca5b2b1401618ac4b6047fde81b7b859814a87b8aafa13a37a1cff"}},{"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":"marimo/_cli/cli.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a708717962df3d95eecfe965a1a37ee05c558438949947b2841b03dce922b2"}},{"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":"marimo/_cli/cli.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb4c2fe4625b289facd365791adbd38252254a0c79d5ea80fff3a50277ee7e3"}},{"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":"marimo/_cli/print.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"798944e4679044ac5455faa6b87b7314e2e5d6e47198b090f051b42579db58cc"}},{"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":"marimo/_cli/tips.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a983992d8d8c93ed7e01047bee599933f78f1e5c409f1ae252aef02bbd88e955"}},{"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":"marimo/_cli/development/schema.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c93589df3e90afb72e73efc572dd18094a07fa66f26eb04c1a3c835b386ea54"}},{"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":"marimo/_cli/development/schema.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4191cf18fd9b0c44d895d83c3dec1554a224f89da1aad9df26f9fb47969096"}},{"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":"marimo/_ast/app.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e945eef0738aa2d6d567571c27cf1fef7fedb7a8faf2f444264cda02177e3d9"}},{"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":"marimo/_ast/cell.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77766cf4174a510f6218f09f041dbde91d824198481e7048ab5a07e5fafad7f"}},{"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":"marimo/_ast/type_inference.py"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"b795af1ff09618c67082a87ba844679d0aeb08a48c40a020385db0bd54d0b2de"}},{"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":"marimo/_ai/llm/_impl.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3bb48d878ed3ff5c0fe2fd51b58e7d05d20a4fad9d076e7603976efac3e2873"}},{"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":"marimo/_ai/llm/_impl.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ee6e88ad7f073d0fce3c4e2054dbfa550fe902ad6ff08ce440fd758dd60bd7"}},{"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":"marimo/_ai/llm/_impl.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"2309461089caa88aa162aa2561df29709c96d14a49b05e7d3310da6d7fb4fe1d"}},{"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/utils/json/json-parser.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"158b56f53c184f95c7335a197f87ae47eebb1700298633e3cdaf7b9ec62ae76e"}},{"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/plugins/impl/vega/make-selectable.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d43e25bceb8a5eb211159eda442d9b4d1c4896d4dc48e1482ce3161a48412d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\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, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/plugins/impl/data-editor/glide-utils.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"340dbefcfb9a319e33e483218357470bfc02d74d7f8c4ffcba424feada942607"}},{"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/plugins/impl/anywidget/runtime.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"033b7fc6b5dd310731174a87be073d6acf2c194aec406d659fc5a4088b136f86"}},{"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/plugins/impl/anywidget/runtime.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"47291e016cd670bc8fae8abe4ef1e0f62d1a2e2c7175d186a2ef4adceb172c07"}},{"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/plugins/core/registerReactComponent.tsx"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fd1b07692a48a74cd436b45b1442ab0ab3585d509b33d1e06911b8ce78c00d"}},{"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/core/wasm/worker/fs.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"22060e7f19367b52a08e65d05cd77e5ad2ab73d3569a798af932a2c07c7707d9"}},{"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/core/static/export-context.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84273062dd52bf79b135898d25fde2c5d35dff4b00b35807b25161328f2dc8e"}},{"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/core/packages/useSandboxController.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d322a358b4363161ee1c58e8110331825b19c4f47a9f38057deaa5171c0dd884"}},{"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/core/codemirror/markdown/commands.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc768518dec77c1eaa4cc5fad4016bcc507a8c40331598b7cce7a036609c7c58"}},{"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/core/codemirror/markdown/commands.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bdfc9c76718f8a742e63ea9b0dfde1c1247bad2d6ada0873d25e5fea3b72299"}},{"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/editor/actions/export-dialog/use-export-dialog.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"675640a36406f29387324e69639b13bced327f68d778d835ea3c5b156a791757"}},{"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/app-config/model-discovery.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3bde9a768ed2b578d103020088080c01b893fd86e72fbaa37045eb3069b07b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 171 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_loggers.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7337d9aae8ad5fd7fedc0dc1268a1a7fdabee0e2e3baf8b662ad4bedaa182b3d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 114 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/asgi.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d80fe9f6f191cd8197fe3cbc745a95dd0e1a7e4302e97969dc1103e0235af31"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 135 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/asgi.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"746b03e52b5ce6c0dbefa2db38afea8622e4bf4740fad5ea0979698e2d2a991f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 246 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/asgi.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"1405de54592b6b0a090d1b80d820f3ad923a4ae09ef59206480b46416e97f9cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 263 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/asgi.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34e49215cfe4a6f3163e474c46f4e35b1ce89aafa290e91e61b2bb19318a30e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 269 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/asgi.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fec1adb37f2f6a433e2aceafbc608282d3521e3aedc5a1ea462c670d5ea9d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 276 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/asgi.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"e762271d57eed20d86f9d4e48b05d6efab74ffe76f2568aae55167255785f40d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 301 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/asgi.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"53839bb14c6726596ec8384032fe508d5c9d7f2ade9e0227e4c5b5c8559d95b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 324 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/asgi.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f4927700e23a395412294615b82fdf5c74b251fab2497a239396db33c54b16"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 339 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/asgi.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a615f959a6515b8c9efce7068a2bdd272d7409a992e41f517c4dbd9b7503970"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 343 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/asgi.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f7776775db3bf89710227916f98d380a7844fc9be1e1da3683e5b3d9a66c53"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~0.1 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 13 assertion(s) across the 179837 source line(s) of the 1204 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/core/wasm/worker/bootstrap.ts (4), frontend/src/utils/Deferred.ts (2), frontend/src/core/codemirror/facet.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":"marimo/_output/md_extensions/display_math.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"017289dcc353dcd04aeee9c70da677e26ed336089e059764bd896b47ee1ab315"}},{"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":"marimo/_convert/ipynb/to_ir.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec791f78eeba84c5849f1292e038c9194317483aad827c8788ff93aa984ca1cc"}},{"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 JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/codemirror/lsp/normalize-markdown-math.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"39596384812d925740f2c9494868594b874768bbba1067acf7e49aac8d3c4b1e"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CDelayRender\u003E\u0060 under \u0060status === \u0022running\u0022\u0060, but \u0060status\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/core/islands/components/output-wrapper.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bc8e8d6348113665c27b1da7a406690b4ac204f399f128090408bd4ab60cb4"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CSpinner size=\u0022small\u0022/\u003E\u0060 under \u0060isFetching || isAppConnecting ( connection )\u0060, but \u0060isFetching\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/editor/chrome/wrapper/footer-items/backend-status.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1a6d09a5ad4ed3c926b5c34cb60e2375f03ce42091e108aac2f4c25e81791c"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CSpinner size=\u0022small\u0022/\u003E\u0060 under \u0060isFetching\u0060, but \u0060isFetching\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/editor/chrome/wrapper/footer-items/lsp-status.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"be333bb0fdd6f11bedcf5f37a7a2b91cc566b664be0367b0797cab3775e5f6ce"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CSpinner size=\u0022medium\u0022 centered= /\u003E\u0060 under \u0060isPending \u0026\u0026 ! cacheInfo\u0060, but \u0060isPending\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/editor/chrome/panels/cache-panel.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc088026e934565a3cd77682b668f539563841dc9d30280a04d9b97fcff09037"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CSpinner size=\u0022small\u0022 class=\u0022w-4 h-4 mr-2\u0022/\u003E\u0060 under \u0060isFetching\u0060, but \u0060isFetching\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/editor/chrome/panels/cache-panel.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b774063963ef3658eb3f6a12f98f29847e51af74e1fe3f2624c9f51f26a5ec"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CSpinner size=\u0022small\u0022 class=\u0022w-3 h-3 mr-2\u0022/\u003E\u0060 under \u0060purging\u0060, but \u0060purging\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/editor/chrome/panels/cache-panel.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5692fbc3ad8fbf5a1f4232707bc6abb26469691d7a96e4c24ea4f37669502a"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CSpinner size=\u0022small\u0022 class=\u0022mr-2\u0022 aria-hidden= /\u003E\u0060 under \u0060isExporting\u0060, but \u0060isExporting\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/editor/actions/export-dialog/export-dialog.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2dcc5329d6f98336be0a35b88d56fd255c9e0116fba1b127b3531a711e4ff1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_get_sqls\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_ast/cell.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95810155af8d8eada0c4189b0cdc5b6a5191b3e4101443412e311c8e9c63f5a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060find_sql_refs\u0060 returns \u0060set()\u0060 when \u0060ParseError\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":"marimo/_ast/sql_visitor.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d8c2d5a71d1221eec0f7b70bcdc7135663fe9b123c2b3a5e9e63c80e1f4ee4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_list_cell_ids\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_code_mode/screenshot.py"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a729f899ef0a39a30a57f48e65d988543a6611dd344a191743bc1c341b9370"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060infer_package_manager\u0060 swallows every exception into \u0060return \u0027pip\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_config/packages.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ff1854162d8a5dc74766de368de6dc7ef3991861fe9be046962f99e6dd2873"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_declared_dependencies\u0060 returns \u0060[]\u0060 when \u0060(OSError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_environments/sandbox.py"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"4594ae8b26a5c71787d556706fce82403e8a66068afcc28fdd1055683c8beea2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_stringify_variable_value\u0060 swallows every exception into \u0060return \u0027\u003CUNKNOWN\u003E\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_messaging/variables.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ef798ba9029544e34a158d99bf37a0d6348b6fbd5d0ffbb9835292daf9434b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_param_leaves\u0060 returns \u0060[]\u0060 when \u0060ValueError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_output/formatters/flax_formatters.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c5d0f60c39e834fd931d828990b835b73bef3c21d55557a23f3fe3f7f90b0e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060get_sample_values\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_plugins/ui/_impl/tables/narwhals_table.py"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ae5b23bb07ce0a9212fd1a27f5bc61588d7d23ac61a3015a9e32699e18cef7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_duckdb_catalog_names\u0060 swallows every exception into \u0060return ()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/_wasm/_duckdb/__init__.py"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"6179c66a8438496dd639fa52a1a48d6e0f2bb90a4e9fc73d2340e5951477d8b6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_notebook_index_urls\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/callbacks/packages.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3951238dd37be36d92fe8dd2810fabe8f03f8e12ef8c5bd4ef2ba21d6e8fc30a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_get_type_hint\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/complete.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"6363755029ecfae01248bb5903ac70b93089a125aa7c06edfae0d7685a81d0c9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060list_packages\u0060 returns \u0060[]\u0060 when \u0060(subprocess.CalledProcessError, 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":"marimo/_runtime/packages/conda_package_manager.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d8d35b3c9023b6cd97219da34a7c24ddee961d23984814484757cfe3344c0f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_list_packages_from_cmd\u0060 returns \u0060[]\u0060 when \u0060json.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":"marimo/_runtime/packages/pypi_package_manager.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"77011d448dcc1ed0f392776037ae330b3598bf0f546941e34ed1f0a503771168"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060extract_marimo_style_arguments\u0060 (in \u0060patch_jedi_parameter_completion\u0060) returns \u0060{}\u0060 when \u0060ValueError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/patches.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04352a5f4aa5928eff027965c23cc03d9f23b9db1b8bfb6345ec20aea7b9225"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060extract_docstring_to_markdown_arguments\u0060 (in \u0060patch_jedi_parameter_completion\u0060) returns \u0060{}\u0060 when \u0060ValueError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/patches.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a3ebf3e1808d567646cd09b71c91f03e606fe0ff3e1bd9967b1423968cca88"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_get_attached_catalogs\u0060 swallows every exception into \u0060return set()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_runtime/runtime.py"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67119c006f6acd88bebcb0b6881073cddb64b11714903728e030c9d347dc09a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_get_tools\u0060 returns \u0060[]\u0060 when \u0060ValueError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/ai/config.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f3796e8d3b0ac6c7091100eb5d7c6dcfade58faa4ec93cf7b19d2eb53c16d1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_amd_smi_bytes\u0060 returns \u00600\u0060 when \u0060(TypeError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_server/api/endpoints/health.py"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"56dbf479d4abf05c1528841cfc118d1d3181dff8b520e2b8ab26a78358c5fc1e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060get_config\u0060 (in \u0060_\u0060) swallows every exception into \u0060return \u0027none\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_smoke_tests/issues/846.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"79642d36c4bde6f6490a42513d905158c419e15caf761fb2f1269349d6fa965c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060dialect\u0060 returns \u0060\u0027sql\u0027\u0060 when \u0060AttributeError\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":"marimo/_sql/engines/dbapi.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"407f03dc131591b290eab057805fc71f6b422d78674e4a080a369e9119ccfb82"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060opengraph_metadata_template\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_templates.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d60cbe69b9aef5b064f74d3a0800fda83191f2cf9cc30f185d419a371202104"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060get_default_locale\u0060 swallows every exception into \u0060return \u0027--\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marimo/_utils/diagnostics.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bff7e52794061e180771334daa9e12a3784451230cb1d1586962e202ded1df2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getCommand\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/e2e-tests/global-teardown.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a00b5ae9263cd449a2b20aa229015c58ce102db66f280d6141d525b3b5a0ce"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatLogTimestamp\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/core/cells/logs.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c556e33feac224ff22877c5051b23437785d6473774f279c225a7d4fa14ca0a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatChartTime\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/tracing/utils.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d231b48d827b23de79feef9a9d4a310ff683b2d4ff97531026b5f14c88e9886"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060jsonParseWithSpecialChar\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/utils/json/json-parser.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2e52646a1fe8dc9b640164d80844e88ff69a895ae4f984315277b8a2b6d6bb"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-116","guid":"c0134ca8-adc7-6959-bd17-5253a265d101","name":"Improper Encoding or Escaping of Output","shortDescription":{"text":"Improper Encoding or Escaping of Output"},"helpUri":"https://cwe.mitre.org/data/definitions/116.html"},{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.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-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"Insufficient Verification of Data Authenticity","shortDescription":{"text":"Insufficient Verification of Data Authenticity"},"helpUri":"https://cwe.mitre.org/data/definitions/345.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"Deserialization of Untrusted Data","shortDescription":{"text":"Deserialization of Untrusted Data"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-611","guid":"1afbae66-ea29-2d59-aaa2-134e3ae2e85a","name":"Improper Restriction of XML External Entity Reference","shortDescription":{"text":"Improper Restriction of XML External Entity Reference"},"helpUri":"https://cwe.mitre.org/data/definitions/611.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-95","guid":"400bba4e-483c-5c50-a695-114fa9168003","name":"Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/95.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"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":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":120,"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."]}]}